a9d388ce157799f3a7ac35e1ab2503406e908e33
[aspt.git] / proxyset.h
1 /*******************************************************************
2 Jan Cermak | johniez | aspt.johniez.com
3 Creative Commons 2.5 Attribution-NonCommercial-NoDerivs 2.5 license
4 http://creativecommons.org/licenses/by-nc-nd/2.5/legalcode
5 *******************************************************************/
6
7 #ifndef PROXYSET__H__
8 #define PROXYSET__H__
9
10 #include <QWidget>
11 #include <QVBoxLayout>
12 #include <QPushButton>
13 #include <QCheckBox>
14 #include <QLabel>
15 #include <QLineEdit>
16 #include <QSettings>
17
18 class ProxySet: public QWidget {
19         Q_OBJECT
20         QVBoxLayout *mainLayout;
21         QLineEdit *addrP, *portP, *nameP, *passP;
22         QCheckBox *proxy;
23         QLabel *addr, *port, *name, *pass;
24         QPushButton *saveButt;
25         int useProxy;
26 public:
27         ProxySet(QWidget *parent = 0);
28         ~ProxySet();
29 public slots:
30         void save();
31         void checkChange(int state);
32 };
33
34 #endif