Line | |
---|
1 | #ifndef PACKAGEPAGE2_H
|
---|
2 | #define PACKAGEPAGE2_H
|
---|
3 |
|
---|
4 | #include "utilvago.h"
|
---|
5 |
|
---|
6 | #include <QWizardPage>
|
---|
7 | #include <QtNetwork/QNetworkAccessManager>
|
---|
8 | #include <QtNetwork/QNetworkRequest>
|
---|
9 | #include <QtNetwork/QNetworkReply>
|
---|
10 | #include <QScriptEngine>
|
---|
11 | #include <QScriptValueIterator>
|
---|
12 | #include <JlCompress.h>
|
---|
13 |
|
---|
14 | namespace Ui {
|
---|
15 | class PackagePage2;
|
---|
16 | }
|
---|
17 |
|
---|
18 | class PackagePage2 : public QWizardPage
|
---|
19 | {
|
---|
20 | Q_OBJECT
|
---|
21 |
|
---|
22 | public:
|
---|
23 | explicit PackagePage2(Logger *myLogger, QWidget *parent = 0);
|
---|
24 |
|
---|
25 | ~PackagePage2();
|
---|
26 |
|
---|
27 | private slots:
|
---|
28 | void on_pbCheck_clicked();
|
---|
29 | void downloadPackagesCache(QNetworkReply *result);
|
---|
30 |
|
---|
31 | void on_cbType_currentIndexChanged(int index);
|
---|
32 | bool validatePage();
|
---|
33 |
|
---|
34 | private:
|
---|
35 | Ui::PackagePage2 *ui;
|
---|
36 | Logger *myLogger;
|
---|
37 | static const QString ZipCacheFile;
|
---|
38 | static const QString CacheFile;
|
---|
39 | static const QString PackagesCacheUrl;
|
---|
40 | void checkForPackagesInCache();
|
---|
41 | };
|
---|
42 |
|
---|
43 | #endif // PACKAGEPAGE2_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.