X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsystraynotificationbackend.h;h=319942bfee86525e545cafb8ec33409a51da56b7;hp=c96958dd6e9f6861da4fa847e53170ada7c8bc00;hb=62c360e674f17146c6c52e874e854e24bab643b3;hpb=e7d1bc1fa02e1233f140e4b04d99ab8f4685bce5 diff --git a/src/qtui/systraynotificationbackend.h b/src/qtui/systraynotificationbackend.h index c96958dd..319942bf 100644 --- a/src/qtui/systraynotificationbackend.h +++ b/src/qtui/systraynotificationbackend.h @@ -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 _notifications; + bool _blockActivation; }; class SystrayNotificationBackend::ConfigWidget : public SettingsPage { @@ -68,8 +71,8 @@ private slots: void widgetChanged(); private: - QCheckBox *_showBubbleBox, *_animateBox; - bool _showBubble, _animate; + QCheckBox *_showBubbleBox; + bool _showBubble; }; #endif