diff options
| author | Kevin Smith <git@kismith.co.uk> | 2009-08-28 16:53:45 (GMT) | 
|---|---|---|
| committer | Kevin Smith <git@kismith.co.uk> | 2009-08-28 16:53:45 (GMT) | 
| commit | 18c39e032395ee49796d330905caea4e28ef5608 (patch) | |
| tree | d5da261d27feff987ea0cdd37992dd0a9d9b6ad2 /Swift/QtUI/QtSystemTray.h | |
| parent | abc4579164fa06b6f8a7d9d27d6e36c100cbcc4f (diff) | |
| download | swift-contrib-18c39e032395ee49796d330905caea4e28ef5608.zip swift-contrib-18c39e032395ee49796d330905caea4e28ef5608.tar.bz2 | |
Show the hidden roster on system tray click.
Diffstat (limited to 'Swift/QtUI/QtSystemTray.h')
| -rw-r--r-- | Swift/QtUI/QtSystemTray.h | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/Swift/QtUI/QtSystemTray.h b/Swift/QtUI/QtSystemTray.h index 40cc540..4ef55d9 100644 --- a/Swift/QtUI/QtSystemTray.h +++ b/Swift/QtUI/QtSystemTray.h @@ -7,11 +7,16 @@  class QIcon;  namespace Swift { -	class QtSystemTray : public SystemTray { +	class QtSystemTray : public QObject, public SystemTray { +		Q_OBJECT  		public:  			QtSystemTray();  			~QtSystemTray();  			void setUnreadMessages(bool some); +		signals: +			void clicked(); +		private slots: +			void handleIconActivated(QSystemTrayIcon::ActivationReason reason);  		private:  			QSystemTrayIcon* trayIcon_;  			QIcon standardIcon_; | 
 Swift
 Swift