summaryrefslogtreecommitdiffstats
path: root/pica-client/picasystray.h
blob: cf9706db2cef3ecfe942b73e006ac227bb9b6cde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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