summaryrefslogtreecommitdiff
path: root/wizard/rootpwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'wizard/rootpwd.h')
-rw-r--r--wizard/rootpwd.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/wizard/rootpwd.h b/wizard/rootpwd.h
new file mode 100644
index 0000000..62bcb7b
--- /dev/null
+++ b/wizard/rootpwd.h
@@ -0,0 +1,26 @@
+#ifndef rootpwd_H
+#define rootpwd_H
+
+#include "ui_rootpwd.h"
+#include "../backend.h"
+
+class wpRootPwd : public QWizardPage, Ui::wpRootPwd
+{
+ Q_OBJECT
+
+ public:
+ wpRootPwd(QWidget *parent = 0);
+ void initializePage();
+ bool isComplete() const;
+ bool validatePage();
+
+ private:
+ Backend* backend;
+ bool complete;
+
+ private slots:
+ void updateStatus();
+
+};
+
+#endif // rootpwd_H