doxygen comments
[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 /// Proxy settings widget.
19 class ProxySet: public QWidget {
20         Q_OBJECT
21         QVBoxLayout *mainLayout;
22         QLineEdit *addrP, *portP, *nameP, *passP;
23         QCheckBox *proxy;
24         QLabel *addr, *port, *name, *pass;
25         QPushButton *saveButt;
26         int useProxy;
27 public:
28         ProxySet(QWidget *parent = 0);
29         ~ProxySet();
30 public slots:
31         void save();
32         void checkChange(int state);
33 };
34
35 #endif