aboutsummaryrefslogtreecommitdiffstats
path: root/include/ui/KeygenThread.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-05-13 19:11:40 +0000
committerSaturneric <[email protected]>2021-05-13 19:11:40 +0000
commit738d1fefa058081cfc849b4900f837790adcba44 (patch)
treeeba5b6840cc7439d69ea3526f2a1e5e5b6e810f1 /include/ui/KeygenThread.h
parentFile Structure Modified. (diff)
downloadGpgFrontend-738d1fefa058081cfc849b4900f837790adcba44.tar.gz
GpgFrontend-738d1fefa058081cfc849b4900f837790adcba44.zip
Support more Key Generating Algo.
Support GPG2 now. Change GPGME Key Generation API to newer one. Statically link GPGME into the program.
Diffstat (limited to 'include/ui/KeygenThread.h')
-rw-r--r--include/ui/KeygenThread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ui/KeygenThread.h b/include/ui/KeygenThread.h
index c7406881..467d8338 100644
--- a/include/ui/KeygenThread.h
+++ b/include/ui/KeygenThread.h
@@ -34,14 +34,14 @@ class KeyGenThread : public QThread {
Q_OBJECT
public:
- KeyGenThread(QString keyGenParams, GpgME::GpgContext *ctx);
+ KeyGenThread(GenKeyInfo keyGenParams, GpgME::GpgContext *ctx);
signals:
void signalKeyGenerated();
private:
- QString keyGenParams;
+ GenKeyInfo keyGenParams;
GpgME::GpgContext *mCtx;
[[maybe_unused]] bool abort;
QMutex mutex;