From 6ef2367c83d57c3f70091a29c112a2c62e3f541c Mon Sep 17 00:00:00 2001 From: nils Date: Thu, 3 Nov 2011 19:12:57 +0000 Subject: added wizardpage for importing keyrings from gnupg homedir. But getting gnupg-homedir in windows is missing git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@596 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- wizard.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'wizard.h') 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 -- cgit v1.2.3