Integrate DesktopNotification into system tray/status notifier
[quassel.git] / src / qtui / systraynotificationbackend.h
index c96958d..3a68533 100644 (file)
@@ -37,14 +37,16 @@ public:
   void close(uint notificationId);
   virtual SettingsPage *createConfigWidget() const;
 
+protected:
+  virtual bool eventFilter(QObject *obj, QEvent *event);
+
 private slots:
-  void showBubble();
-  void closeBubble();
-  void notificationActivated();
+  void notificationActivated(uint notificationId);
   void notificationActivated(SystemTray::ActivationReason);
 
   void animateChanged(const QVariant &);
   void showBubbleChanged(const QVariant &);
+  void updateToolTip();
 
 private:
   class ConfigWidget;
@@ -52,6 +54,7 @@ private:
   bool _showBubble;
   bool _animate;
   QList<Notification> _notifications;
+  bool _blockActivation;
 };
 
 class SystrayNotificationBackend::ConfigWidget : public SettingsPage {