aboutsummaryrefslogtreecommitdiffstats
path: root/include/ui/widgets/SignersPicker.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/widgets/SignersPicker.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/widgets/SignersPicker.h (renamed from include/ui/keygen/KeygenThread.h)26
1 files changed, 12 insertions, 14 deletions
diff --git a/include/ui/keygen/KeygenThread.h b/include/ui/widgets/SignersPicker.h
index 30478050..afa95a05 100644
--- a/include/ui/keygen/KeygenThread.h
+++ b/include/ui/widgets/SignersPicker.h
@@ -22,29 +22,27 @@
*
*/
-#ifndef __KEYGENTHREAD_H__
-#define __KEYGENTHREAD_H__
+#ifndef GPGFRONTEND_ZH_CN_TS_SIGNERSPIRCKER_H
+#define GPGFRONTEND_ZH_CN_TS_SIGNERSPIRCKER_H
+#include "GpgFrontend.h"
#include "gpg/GpgContext.h"
-class KeyGenThread : public QThread {
+#include "ui/widgets/KeyList.h"
+
+class SignersPicker : public QDialog {
Q_OBJECT
public:
- KeyGenThread(GenKeyInfo *keyGenParams, GpgME::GpgContext *ctx);
-signals:
- void signalKeyGenerated(bool success);
+ explicit SignersPicker(GpgME::GpgContext *ctx, QWidget *parent = nullptr);
+
+ void getCheckedSigners(QVector<GpgKey> &keys);
private:
- GenKeyInfo *keyGenParams;
GpgME::GpgContext *mCtx;
- QMutex mutex;
-
-protected:
-
- void run() override;
-
+ KeyList *mKeyList;
};
-#endif // __KEYGENTHREAD_H__
+
+#endif //GPGFRONTEND_ZH_CN_TS_SIGNERSPIRCKER_H