aboutsummaryrefslogtreecommitdiffstats
path: root/wizard.h
diff options
context:
space:
mode:
Diffstat (limited to 'wizard.h')
-rw-r--r--wizard.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/wizard.h b/wizard.h
index beccd78..73dd38e 100644
--- a/wizard.h
+++ b/wizard.h
@@ -72,6 +72,28 @@ private:
QVBoxLayout *layout;
};
+class ImportPage : public QWizardPage
+{
+ Q_OBJECT
+
+public:
+ ImportPage(GpgME::GpgContext *ctx, QWidget *parent = 0);
+
+private slots:
+ bool importKeys();
+
+private:
+ int nextId() const;
+ QString getGnuPGHome();
+
+ QLabel *topLabel;
+ QVBoxLayout *layout;
+ GpgME::GpgContext *mCtx;
+ QCheckBox *privateKeysCheckBox;
+ QCheckBox *publicKeysCheckBox;
+ QPushButton *importKeyButton;
+};
+
class ConclusionPage : public QWizardPage
{
Q_OBJECT