Rework tray icon activation behavior yet again
[quassel.git] / src / qtui / systraynotificationbackend.h
index c96958d..46591b3 100644 (file)
@@ -37,6 +37,9 @@ public:
   void close(uint notificationId);
   virtual SettingsPage *createConfigWidget() const;
 
+protected:
+  virtual bool eventFilter(QObject *obj, QEvent *event);
+
 private slots:
   void showBubble();
   void closeBubble();
@@ -52,6 +55,7 @@ private:
   bool _showBubble;
   bool _animate;
   QList<Notification> _notifications;
+  bool _blockActivation;
 };
 
 class SystrayNotificationBackend::ConfigWidget : public SettingsPage {