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 *******************************************************************/
12 #include <QVBoxLayout>
13 #include <QHBoxLayout>
15 #include <QPushButton>
21 #include <QMessageBox>
22 //#include <QTextStream>
26 extern void parse(const QString &);
28 class ConfigTab: public QWidget {
30 QVBoxLayout *mainLayout, *group1Layout, *group2Layout;
31 QHBoxLayout *row1, *row2;
36 QLineEdit *nick, *pass;
37 QPushButton *butDown, *butProxy;
42 QLabel *warnLabel, *nickLabel, *passLabel;
43 QGroupBox *group1, *group2;
48 ConfigTab(QWidget *parent = 0);
51 void httpRequestFinished(int requestId, bool error);
52 void readResponseHeader(const QHttpResponseHeader &responseHeader);
53 void downloadLatest();
55 void changeLang(int langId);
58 void showMsgBox(const QString &);
62 void errMsgBox(const QString &);