aboutsummaryrefslogtreecommitdiffstats
path: root/include/ui/Wizard.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-08-25 10:00:48 +0000
committerSaturneric <[email protected]>2021-08-25 10:00:48 +0000
commit5b55ebfe6758e3aa7a3b66dbaa5231002291eb44 (patch)
tree28fe92ffec2d5608b5e6af665ec3b8f06922364a /include/ui/Wizard.h
parentMerge branch 'develop' (diff)
parentUpdate Documents. (diff)
downloadGpgFrontend-5b55ebfe6758e3aa7a3b66dbaa5231002291eb44.tar.gz
GpgFrontend-5b55ebfe6758e3aa7a3b66dbaa5231002291eb44.zip
Merge branch 'develop'
Diffstat (limited to '')
-rw-r--r--include/ui/Wizard.h66
1 files changed, 0 insertions, 66 deletions
diff --git a/include/ui/Wizard.h b/include/ui/Wizard.h
index b2451bf2..79c7e321 100644
--- a/include/ui/Wizard.h
+++ b/include/ui/Wizard.h
@@ -30,14 +30,6 @@
#include "gpg/GpgConstants.h"
#include "SettingsDialog.h"
-class QCheckBox;
-
-class QLabel;
-
-class QLineEdit;
-
-class QRadioButton;
-
class Wizard : public QWizard {
Q_OBJECT
Q_ENUMS(WizardPages)
@@ -50,8 +42,6 @@ public:
Wizard(GpgME::GpgContext *ctx, KeyMgmt *keyMgmt, QWidget *parent = nullptr);
- static bool importPubAndSecKeysFromDir(const QString& dir, KeyMgmt *keyMgmt);
-
private:
GpgME::GpgContext *mCtx;
KeyMgmt *mKeyMgmt;
@@ -102,62 +92,6 @@ private:
int nextPage;
};
-class ImportFromGpg4usbPage : public QWizardPage {
-Q_OBJECT
-
-public:
- ImportFromGpg4usbPage(GpgME::GpgContext *ctx, KeyMgmt *keyMgmt, QWidget *parent = nullptr);
-
-private slots:
-
- /**
- * @details Import keys from gnupg-homedir, private or/and public depend on the checked boxes
- */
- void slotImportFromOlderGpg4usb();
-
- bool slotImportConfFromGpg4usb(const QString& dir);
-
-private:
- [[nodiscard]] int nextId() const override;
-
- QString appPath;
- QSettings settings;
-
- KeyMgmt *mKeyMgmt;
- GpgME::GpgContext *mCtx;
- QCheckBox *gpg4usbKeyCheckBox;
- QCheckBox *gpg4usbConfigCheckBox;
-};
-
-class ImportFromGnupgPage : public QWizardPage {
-Q_OBJECT
-
-public:
- ImportFromGnupgPage(GpgME::GpgContext *ctx, KeyMgmt *keyMgmt, QWidget *parent = nullptr);
-
-private slots:
-
- /**
- * @details Import keys from gnupg-homedir, private or/and public depend on the checked boxes
- */
- void slotrImportKeysFromGnupg();
-
-private:
- KeyMgmt *mKeyMgmt;
-
- [[nodiscard]] int nextId() const override;
-
- /**
- * @details String containing the gnupg-homedir
- * @returns String containg the gnupg-homedir, but NULL, if the in windows registry entry
- * doesn't exist or in linux ~/.gnupg doesn't exist
- */
- static QString getGnuPGHome();
-
- GpgME::GpgContext *mCtx;
- QPushButton *importFromGnupgButton;
-};
-
class KeyGenPage : public QWizardPage {
Q_OBJECT