Make sender column clickable
[quassel.git] / src / qtui / systraynotificationbackend.h
index f4e2c6e..7fdf4e8 100644 (file)
 #ifndef SYSTRAYNOTIFICATIONBACKEND_H_
 #define SYSTRAYNOTIFICATIONBACKEND_H_
 
+#ifndef QT_NO_SYSTEMTRAYICON
+
+#include <QSystemTrayIcon>
+
 #include "abstractnotificationbackend.h"
 
 #include "settingspage.h"
@@ -41,6 +45,7 @@ private slots:
   void showBubble();
   void closeBubble();
   void notificationActivated();
+  void notificationActivated(QSystemTrayIcon::ActivationReason);
 
   void animateChanged(const QVariant &);
   void showBubbleChanged(const QVariant &);
@@ -51,7 +56,6 @@ private:
   bool _showBubble;
   bool _animate;
   QList<Notification> _notifications;
-  uint _activeId;
 };
 
 class SystrayNotificationBackend::ConfigWidget : public SettingsPage {
@@ -72,4 +76,6 @@ private:
   bool _showBubble, _animate;
 };
 
+#endif /* QT_NO_SYSTEMTRAYICON */
+
 #endif