summaryrefslogtreecommitdiff
path: root/wizard/installation.h
diff options
context:
space:
mode:
Diffstat (limited to 'wizard/installation.h')
-rw-r--r--wizard/installation.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/wizard/installation.h b/wizard/installation.h
new file mode 100644
index 0000000..0209007
--- /dev/null
+++ b/wizard/installation.h
@@ -0,0 +1,29 @@
+#ifndef installation_H
+#define installation_H
+
+#include "ui_installation.h"
+#include "../backend.h"
+
+class wpInstallation : public QWizardPage, Ui::wpInstallation
+{
+ Q_OBJECT
+
+ public:
+ wpInstallation(QWidget *parent = 0);
+ void initializePage();
+ void cleanupPage();
+ bool isComplete() const;
+ bool validatePage();
+
+ private:
+ Backend* backend;
+ bool complete;
+ void setComplete(bool c);
+
+ private slots:
+ void setProgress(int percent);
+ void receivedCommand(QString command, QString args);
+ void finishedCommand(QString command);
+};
+
+#endif // installation_H