X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsystraynotificationbackend.h;h=0895cbeff0813256ebd5f3c67cf9ee3ec84b7c65;hp=eaaf427cddfd1baae382c42f4db1c89d1a69ee0b;hb=ef316d0db50a39efe45d71fe2eb4ea880724526b;hpb=7d252c0e8aa2728d9a57130c7aae8923c5321542 diff --git a/src/qtui/systraynotificationbackend.h b/src/qtui/systraynotificationbackend.h index eaaf427c..0895cbef 100644 --- a/src/qtui/systraynotificationbackend.h +++ b/src/qtui/systraynotificationbackend.h @@ -1,5 +1,5 @@ /*************************************************************************** -* Copyright (C) 2005-08 by the Quassel Project * +* Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -21,6 +21,8 @@ #ifndef SYSTRAYNOTIFICATIONBACKEND_H_ #define SYSTRAYNOTIFICATIONBACKEND_H_ +#include + #include "abstractnotificationbackend.h" #include "settingspage.h" @@ -40,9 +42,8 @@ public: private slots: void showBubble(); void closeBubble(); - void startAnimation(); - void stopAnimation(); - void blink(); + void notificationActivated(); + void notificationActivated(QSystemTrayIcon::ActivationReason); void animateChanged(const QVariant &); void showBubbleChanged(const QVariant &); @@ -52,9 +53,8 @@ private: bool _showBubble; bool _animate; - bool _iconActive; - QTimer _animationTimer; QList _notifications; + uint _activeId; }; class SystrayNotificationBackend::ConfigWidget : public SettingsPage {