aboutsummaryrefslogtreecommitdiffstats
path: root/wizard.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-11-03 19:12:57 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-11-03 19:12:57 +0000
commit6ef2367c83d57c3f70091a29c112a2c62e3f541c (patch)
treee21715749f7ccbdceaba1e941fc7ca30cf662f35 /wizard.h
parentupdated and released translation files (diff)
downloadgpg4usb-6ef2367c83d57c3f70091a29c112a2c62e3f541c.tar.gz
gpg4usb-6ef2367c83d57c3f70091a29c112a2c62e3f541c.zip
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
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