diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-06-18 20:34:41 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-06-18 20:35:22 (GMT) |
commit | 9a457c621bd75a9929cc0616b7659dba2945fdac (patch) | |
tree | fa1b7e541355edb1983dea78728892ddf89f08ff /Swift/QtUI/QtSystemTray.h | |
parent | 38e83db22eed41e115c1483323a62c62be34dbec (diff) | |
download | swift-contrib-9a457c621bd75a9929cc0616b7659dba2945fdac.zip swift-contrib-9a457c621bd75a9929cc0616b7659dba2945fdac.tar.bz2 |
System Tray
We need to have a look at the icons somewhat, but these will do for the second.
Diffstat (limited to 'Swift/QtUI/QtSystemTray.h')
-rw-r--r-- | Swift/QtUI/QtSystemTray.h | 20 |
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_; + }; +} |