aboutsummaryrefslogtreecommitdiffstats
path: root/wizard.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-12-26 23:19:47 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-12-26 23:19:47 +0000
commitdd31e6407bfc1349453920b36e83aa709dcaca27 (patch)
treea775c961f8f897565d4fae5ea7c690c4d5648a74 /wizard.h
parentadded structure for keyimportresult and emit keydbchanged in gpgcontext (diff)
downloadgpg4usb-dd31e6407bfc1349453920b36e83aa709dcaca27.tar.gz
gpg4usb-dd31e6407bfc1349453920b36e83aa709dcaca27.zip
show importdetaildialog in all places
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@704 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'wizard.h')
-rw-r--r--wizard.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/wizard.h b/wizard.h
index c91bfd0..702e3c8 100644
--- a/wizard.h
+++ b/wizard.h
@@ -19,12 +19,13 @@
* along with gpg4usb. If not, see <http://www.gnu.org/licenses/>
*/
-#include "keygendialog.h"
#ifndef WIZARD_H
#define WIZARD_H
#include <QWizard>
+#include "keygendialog.h"
+#include "keymgmt.h"
class QCheckBox;
class QLabel;
@@ -36,10 +37,11 @@ class Wizard : public QWizard
Q_OBJECT
public:
- Wizard(GpgME::GpgContext *ctx, QWidget *parent = 0);
+ Wizard(GpgME::GpgContext *ctx, KeyMgmt *keyMgmt, QWidget *parent = 0);
private:
GpgME::GpgContext *mCtx;
+ KeyMgmt *mKeyMgmt;
};
class IntroPage : public QWizardPage
@@ -77,7 +79,7 @@ class ImportPage : public QWizardPage
Q_OBJECT
public:
- ImportPage(GpgME::GpgContext *ctx, QWidget *parent = 0);
+ ImportPage(GpgME::GpgContext *ctx, KeyMgmt *keyMgmt, QWidget *parent = 0);
private slots:
/**
@@ -87,6 +89,7 @@ private slots:
bool importKeysFromGpg4usb();
private:
+ KeyMgmt *mKeyMgmt;
int nextId() const;
/**