X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsystraynotificationbackend.h;h=7fdf4e8e2da15bc0e115a15d474ecdc7faadb24c;hb=32dee9bed2840534e41764a6ba759d425837b8a2;hp=2a7784bd5d5b972ad39dc467689af4a1dd26dd33;hpb=8118229704229c33e151b3c707c8beaa0c077a86;p=quassel.git diff --git a/src/qtui/systraynotificationbackend.h b/src/qtui/systraynotificationbackend.h index 2a7784bd..7fdf4e8e 100644 --- a/src/qtui/systraynotificationbackend.h +++ b/src/qtui/systraynotificationbackend.h @@ -21,6 +21,10 @@ #ifndef SYSTRAYNOTIFICATIONBACKEND_H_ #define SYSTRAYNOTIFICATIONBACKEND_H_ +#ifndef QT_NO_SYSTEMTRAYICON + +#include + #include "abstractnotificationbackend.h" #include "settingspage.h" @@ -40,6 +44,8 @@ public: private slots: void showBubble(); void closeBubble(); + void notificationActivated(); + void notificationActivated(QSystemTrayIcon::ActivationReason); void animateChanged(const QVariant &); void showBubbleChanged(const QVariant &); @@ -70,4 +76,6 @@ private: bool _showBubble, _animate; }; +#endif /* QT_NO_SYSTEMTRAYICON */ + #endif