summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-10-24 16:18:40 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-10-24 16:18:55 (GMT)
commita8a37c1d43412c410c33eba18c5ab46b0cf7b0d1 (patch)
tree463188c9954939e476d5da8d1247cbf703fe28b2 /Swift/QtUI/QtSystemTray.h
parent8af6fb273cb433ece756459d887c411c61ddcd76 (diff)
downloadswift-a8a37c1d43412c410c33eba18c5ab46b0cf7b0d1.zip
swift-a8a37c1d43412c410c33eba18c5ab46b0cf7b0d1.tar.bz2
Animated systray that works
Diffstat (limited to 'Swift/QtUI/QtSystemTray.h')
-rw-r--r--Swift/QtUI/QtSystemTray.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/QtUI/QtSystemTray.h b/Swift/QtUI/QtSystemTray.h
index 30fc860..a49357e 100644
--- a/Swift/QtUI/QtSystemTray.h
+++ b/Swift/QtUI/QtSystemTray.h
@@ -9,6 +9,7 @@
#include "Swift/Controllers/SystemTray.h"
#include <QSystemTrayIcon>
+#include <QMovie>
class QIcon;
@@ -25,6 +26,7 @@ namespace Swift {
void clicked();
private slots:
void handleIconActivated(QSystemTrayIcon::ActivationReason reason);
+ void handleThrobberFrameChanged(int);
private:
void updateStatusIcon();
StatusShow::Type statusType_;
@@ -34,7 +36,7 @@ namespace Swift {
QIcon dndIcon_;
QIcon offlineIcon_;
QIcon newMessageIcon_;
- QIcon throbberIcon_;
+ QMovie throbberMovie_;
bool unreadMessages_;
bool connecting_;
};