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 &);
29 class ConfigTab: public QWidget {
31 QVBoxLayout *mainLayout, *group1Layout, *group2Layout;
32 QHBoxLayout *row1, *row2;
37 QLineEdit *nick, *pass;
38 QPushButton *butDown, *butProxy;
43 QLabel *warnLabel, *nickLabel, *passLabel;
44 QGroupBox *group1, *group2;
49 ConfigTab(QWidget *parent = 0);
52 void httpRequestFinished(int requestId, bool error);
53 void readResponseHeader(const QHttpResponseHeader &responseHeader);
54 void downloadLatest();
56 void changeLang(int langId);
59 void showMsgBox(const QString &);
63 void errMsgBox(const QString &);