From dd31e6407bfc1349453920b36e83aa709dcaca27 Mon Sep 17 00:00:00 2001 From: nils Date: Mon, 26 Dec 2011 23:19:47 +0000 Subject: show importdetaildialog in all places git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@704 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- wizard.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'wizard.h') 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 */ -#include "keygendialog.h" #ifndef WIZARD_H #define WIZARD_H #include +#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; /** -- cgit v1.2.3