diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-11-03 19:12:57 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-11-03 19:12:57 +0000 |
commit | 6ef2367c83d57c3f70091a29c112a2c62e3f541c (patch) | |
tree | e21715749f7ccbdceaba1e941fc7ca30cf662f35 /wizard.h | |
parent | updated and released translation files (diff) | |
download | gpg4usb-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.h | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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 |