#ifndef PACKAGEPAGE2_H #define PACKAGEPAGE2_H #include "utilvago.h" #include #include #include #include #include #include #include namespace Ui { class PackagePage2; } class PackagePage2 : public QWizardPage { Q_OBJECT public: explicit PackagePage2(QWidget *parent = 0); ~PackagePage2(); private slots: void on_pbCheck_clicked(); void downloadPackagesCache(QNetworkReply *result); void on_cbType_currentIndexChanged(int index); bool validatePage(); private: Ui::PackagePage2 *ui; static const QString ZipCacheFile; static const QString CacheFile; static const QString PackagesCacheUrl; void checkForPackagesInCache(); }; #endif // PACKAGEPAGE2_H