From 8df9466ada46e4b07990b9cb7e8b1cd61b96844a Mon Sep 17 00:00:00 2001 From: me_desk Date: Sun, 17 Jun 2012 21:15:12 +0000 Subject: todo list update git-svn-id: svn://localhost/project_picapica/trunk@128 fb96df88-216d-11de-830c-f3023f12d8ac --- pica-client/picasystray.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pica-client/picasystray.h (limited to 'pica-client/picasystray.h') 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 +#include +#include +#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 -- cgit v1.2.1