src: Yearly copyright bump
[quassel.git] / src / qtui / legacysystemtray.h
index 15134b1..ffb9f39 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2018 by the Quassel Project                        *
+ *   Copyright (C) 2005-2019 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This file is free software; you can redistribute it and/or modify     *
@@ -30,8 +30,6 @@
 #  include <QSystemTrayIcon>
 #endif
 
-#include <QTimer>
-
 #include "systemtray.h"
 
 class LegacySystemTray : public SystemTray
@@ -49,10 +47,8 @@ public slots:
 
 private slots:
     void onModeChanged(Mode mode);
-    void onStateChanged(State state);
     void onVisibilityChanged(bool isVisible);
 
-    void onBlinkTimeout();
     void onActivated(QSystemTrayIcon::ActivationReason);
     void onMessageClicked();
 
@@ -60,9 +56,7 @@ private slots:
     void updateToolTip();
 
 private:
-    QTimer _blinkTimer;
-    bool _blinkState;
-    uint _lastMessageId;
+    uint _lastMessageId {0};
 
 #ifdef HAVE_KDE4
     KSystemTrayIcon *_trayIcon;
@@ -71,10 +65,4 @@ private:
 #endif
 };
 
-
-// inlines
-
-
-
-
 #endif /* QT_NO_SYSTEMTRAYICON */