Improve systray notifications
[quassel.git] / src / qtui / systraynotificationbackend.h
index 4ab8df0..f4e2c6e 100644 (file)
@@ -40,9 +40,7 @@ public:
 private slots:
   void showBubble();
   void closeBubble();
-  void startAnimation();
-  void stopAnimation();
-  void blink();
+  void notificationActivated();
 
   void animateChanged(const QVariant &);
   void showBubbleChanged(const QVariant &);
@@ -52,9 +50,8 @@ private:
 
   bool _showBubble;
   bool _animate;
-  bool _iconActive;
-  QTimer _animationTimer;
   QList<Notification> _notifications;
+  uint _activeId;
 };
 
 class SystrayNotificationBackend::ConfigWidget : public SettingsPage {