summaryrefslogtreecommitdiffstats
path: root/pica-client/picasystray.h
diff options
context:
space:
mode:
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