aboutsummaryrefslogtreecommitdiffstats
path: root/include/wizard.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-05-12 00:50:08 +0000
committerSaturneric <[email protected]>2021-05-12 00:50:08 +0000
commitb3ad42f01dcfaffeca4b906400df4094a978d095 (patch)
tree0a88a0168d5f9045d4144dd347fe25bd451000d2 /include/wizard.h
parentChange CXX Standard to C++14 (diff)
downloadGpgFrontend-b3ad42f01dcfaffeca4b906400df4094a978d095.tar.gz
GpgFrontend-b3ad42f01dcfaffeca4b906400df4094a978d095.zip
Srouce Files Tidy and Reform
Diffstat (limited to '')
-rw-r--r--include/wizard.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/wizard.h b/include/wizard.h
index 41736e56..7008c77c 100644
--- a/include/wizard.h
+++ b/include/wizard.h
@@ -48,7 +48,7 @@ public:
Wizard(GpgME::GpgContext *ctx, KeyMgmt *keyMgmt, QWidget *parent = nullptr);
- static bool importPubAndSecKeysFromDir(QString dir, KeyMgmt *keyMgmt);
+ static bool importPubAndSecKeysFromDir(const QString& dir, KeyMgmt *keyMgmt);
private:
GpgME::GpgContext *mCtx;
@@ -75,7 +75,7 @@ public:
private slots:
- void slotLangChange(QString lang);
+ void slotLangChange(const QString& lang);
};
class ChoosePage : public QWizardPage {
@@ -107,7 +107,7 @@ private slots:
*/
void slotImportFromOlderGpg4usb();
- bool slotImportConfFromGpg4usb(QString dir);
+ bool slotImportConfFromGpg4usb(const QString& dir);
private:
[[nodiscard]] int nextId() const override;
@@ -141,7 +141,7 @@ private:
* @returns String containg the gnupg-homedir, but NULL, if the in windows registry entry
* doesn't exist or in linux ~/.gnupg doesn't exist
*/
- QString getGnuPGHome();
+ static QString getGnuPGHome();
GpgME::GpgContext *mCtx;
QPushButton *importFromGnupgButton;