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;
bool _showBubble;
bool _animate;
QList<Notification> _notifications;
+ bool _blockActivation;
};
class SystrayNotificationBackend::ConfigWidget : public SettingsPage {
void widgetChanged();
private:
- QCheckBox *_showBubbleBox, *_animateBox;
- bool _showBubble, _animate;
+ QCheckBox *_showBubbleBox;
+ bool _showBubble;
};
#endif