summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtSystemTray.h')
-rw-r--r--Swift/QtUI/QtSystemTray.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Swift/QtUI/QtSystemTray.h b/Swift/QtUI/QtSystemTray.h
new file mode 100644
index 0000000..40cc540
--- /dev/null
+++ b/Swift/QtUI/QtSystemTray.h
@@ -0,0 +1,20 @@
+#pragma once
+
+#include "Swift/Controllers/SystemTray.h"
+
+#include <QSystemTrayIcon>
+
+class QIcon;
+
+namespace Swift {
+ class QtSystemTray : public SystemTray {
+ public:
+ QtSystemTray();
+ ~QtSystemTray();
+ void setUnreadMessages(bool some);
+ private:
+ QSystemTrayIcon* trayIcon_;
+ QIcon standardIcon_;
+ QIcon newMessageIcon_;
+ };
+}