blob: b0153443f2ee9654a0cf3341ff2719d639cc1147 (
plain)
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 PROXY_CLIENT_APPLICATION_H
#define PROXY_CLIENT_APPLICATION_H
#include <QSystemTrayIcon>
#include <QApplication>
#include "FileOpThread.h"
//class ProxyClientApp: public QtSingleApplication //this will be paid later )))
class ProxyClientApp: public QApplication
{
Q_OBJECT
public:
ProxyClientApp(int &argc, char *argv[]);
private slots:
void trayActivated(QSystemTrayIcon::ActivationReason reason);
void showProxyDialog();
void configUpdated();
void quitApp();
private:
QSystemTrayIcon *trayIcon;
FileOpThread fileOpThread;
};
#endif
|