summaryrefslogtreecommitdiffstats
path: root/pica-client/picasystray.h
diff options
context:
space:
mode:
authorme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2012-06-17 21:15:12 +0000
committerme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2012-06-17 21:15:12 +0000
commit8df9466ada46e4b07990b9cb7e8b1cd61b96844a (patch)
tree2cb652e5839bed672133ffa90e7ad477f55cfb6b /pica-client/picasystray.h
downloadpica-pica-8df9466ada46e4b07990b9cb7e8b1cd61b96844a.tar.gz
pica-pica-8df9466ada46e4b07990b9cb7e8b1cd61b96844a.zip
todo list update
git-svn-id: svn://localhost/project_picapica/trunk@128 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'pica-client/picasystray.h')
-rw-r--r--pica-client/picasystray.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/pica-client/picasystray.h b/pica-client/picasystray.h
new file mode 100644
index 0000000..cf9706d
--- /dev/null
+++ b/pica-client/picasystray.h
@@ -0,0 +1,31 @@
+#ifndef PICASYSTRAY_H
+#define PICASYSTRAY_H
+
+#include <QObject>
+#include <QSystemTrayIcon>
+#include <QMenu>
+#include "skynet.h"
+#include "mainwindow.h"
+#include "globals.h"
+
+class PicaSysTray : public QObject
+{
+ Q_OBJECT
+public:
+ explicit PicaSysTray(QObject *parent = 0);
+
+signals:
+
+public slots:
+
+private:
+ QSystemTrayIcon *systray_;
+ QMenu *systrayMenu_;
+
+private slots:
+ void systray_activated(QSystemTrayIcon::ActivationReason);
+ void skynet_became_self_aware();//debug
+ void skynet_lost_self_awareness();//debug
+};
+
+#endif // PICASYSTRAY_H