aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/SignersPicker.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-10-02 14:08:50 +0000
committerSaturneric <[email protected]>2021-10-02 14:16:27 +0000
commit3c65d087eeee687ac01af2e80f3dd538f9a2c230 (patch)
tree1e860dc6343c1897e2224a002f2ca44c574381b3 /src/ui/widgets/SignersPicker.h
parentThe basic functions of the core pass the test. (diff)
downloadGpgFrontend-3c65d087eeee687ac01af2e80f3dd538f9a2c230.tar.gz
GpgFrontend-3c65d087eeee687ac01af2e80f3dd538f9a2c230.zip
UI Framework Modified.
Diffstat (limited to '')
-rw-r--r--src/ui/widgets/SignersPicker.h (renamed from include/ui/widgets/SignersPicker.h)21
1 files changed, 12 insertions, 9 deletions
diff --git a/include/ui/widgets/SignersPicker.h b/src/ui/widgets/SignersPicker.h
index 4c9c9f2d..17c57e62 100644
--- a/include/ui/widgets/SignersPicker.h
+++ b/src/ui/widgets/SignersPicker.h
@@ -30,19 +30,22 @@
#include "ui/widgets/KeyList.h"
-class SignersPicker : public QDialog {
-Q_OBJECT
+namespace GpgFrontend::UI {
-public:
+class SignersPicker : public QDialog {
+ Q_OBJECT
- explicit SignersPicker(GpgFrontend::GpgContext *ctx, QWidget *parent = nullptr);
+ public:
+ explicit SignersPicker(GpgFrontend::GpgContext* ctx,
+ QWidget* parent = nullptr);
- void getCheckedSigners(QVector<GpgKey> &keys);
+ void getCheckedSigners(QVector<GpgKey>& keys);
-private:
- GpgFrontend::GpgContext *mCtx;
- KeyList *mKeyList;
+ private:
+ GpgFrontend::GpgContext* mCtx;
+ KeyList* mKeyList;
};
+} // namespace GpgFrontend::UI
-#endif //GPGFRONTEND_ZH_CN_TS_SIGNERSPIRCKER_H
+#endif // GPGFRONTEND_ZH_CN_TS_SIGNERSPIRCKER_H