diff options
author | Saturn&Eric <[email protected]> | 2021-12-05 08:14:53 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-12-05 08:14:53 +0000 |
commit | ab7e3bac8b5f1d1fdd8367bdb1a185be36b281c2 (patch) | |
tree | 234892f5ae225d67b24619209cf57636ec9d9b2d /src/ui/widgets/SignersPicker.h | |
parent | Merge branch 'main' of github.com:saturneric/GpgFrontend (diff) | |
parent | Remove rapidjson and Improve update ploicy. (diff) | |
download | GpgFrontend-ab7e3bac8b5f1d1fdd8367bdb1a185be36b281c2.tar.gz GpgFrontend-ab7e3bac8b5f1d1fdd8367bdb1a185be36b281c2.zip |
Merge pull request #25 from saturneric/develop
Merge version 2.0.1 beta
Diffstat (limited to '')
-rw-r--r-- | src/ui/widgets/SignersPicker.h (renamed from include/ui/widgets/SignersPicker.h) | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/ui/widgets/SignersPicker.h b/src/ui/widgets/SignersPicker.h index afa95a05..055b6ef6 100644 --- a/include/ui/widgets/SignersPicker.h +++ b/src/ui/widgets/SignersPicker.h @@ -1,7 +1,7 @@ /** - * This file is part of GPGFrontend. + * This file is part of GpgFrontend. * - * GPGFrontend is free software: you can redistribute it and/or modify + * GpgFrontend is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. @@ -27,22 +27,22 @@ #include "GpgFrontend.h" #include "gpg/GpgContext.h" - #include "ui/widgets/KeyList.h" -class SignersPicker : public QDialog { -Q_OBJECT +namespace GpgFrontend::UI { -public: +class SignersPicker : public QDialog { + Q_OBJECT - explicit SignersPicker(GpgME::GpgContext *ctx, QWidget *parent = nullptr); + public: + explicit SignersPicker(QWidget* parent = nullptr); - void getCheckedSigners(QVector<GpgKey> &keys); + GpgFrontend::KeyIdArgsListPtr getCheckedSigners(); -private: - GpgME::GpgContext *mCtx; - KeyList *mKeyList; + private: + KeyList* mKeyList; }; +} // namespace GpgFrontend::UI -#endif //GPGFRONTEND_ZH_CN_TS_SIGNERSPIRCKER_H +#endif // GPGFRONTEND_ZH_CN_TS_SIGNERSPIRCKER_H |