source: s10k/Vago/packageWizard/packagepage2.h@ 1092

Last change on this file since 1092 was 1047, checked in by s10k, 8 years ago

Added Vago v1.0

File size: 951 bytes
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
14namespace Ui {
15class PackagePage2;
16}
17
18class PackagePage2 : public QWizardPage
19{
20 Q_OBJECT
21
22public:
23 explicit PackagePage2(Logger *myLogger, QWidget *parent = 0);
24
25 ~PackagePage2();
26
27private slots:
28 void on_pbCheck_clicked();
29 void downloadPackagesCache(QNetworkReply *result);
30
31 void on_cbType_currentIndexChanged(int index);
32 bool validatePage();
33
34private:
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.