aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/protocol_p.h
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2022-04-28 12:04:10 +0200
committerIngo Klöcker <[email protected]>2022-04-29 10:39:38 +0200
commitf47bc992ae6ca6a9043d4de5bfc10179e4676256 (patch)
tree0cc993b684a28df0bbf42ae4d9058e1ad0d27930 /lang/qt/src/protocol_p.h
parentcpp,tests: Verify that requested keylist mode is used (diff)
downloadgpgme-f47bc992ae6ca6a9043d4de5bfc10179e4676256.tar.gz
gpgme-f47bc992ae6ca6a9043d4de5bfc10179e4676256.zip
qt: Rename QGpgMERefreshKeysJob to QGpgMERefreshSMIMEKeysJob
* lang/qt/src/qgpgmerefreshkeysjob.h, lang/qt/src/qgpgmerefreshkeysjob.cpp: Change name to * lang/qt/src/qgpgmerefreshsmimekeysjob.h, lang/qt/src/qgpgmerefreshsmimekeysjob.cpp: ... this, and adapt the include guard. (class QGpgMERefreshKeysJob): Rename to QGpgMERefreshSMIMEKeysJob. * lang/qt/src/Makefile.am: Adapt mentioned file names accordingly. * lang/qt/src/protocol_p.h (Protocol::refreshKeysJob): Use renamed class. -- To avoid confusion with a similar job for OpenPGP keys with a completely different implementation, we rename this class to make clear that it is specific for S/MIME keys. GnuPG-bug-id: 5951
Diffstat (limited to 'lang/qt/src/protocol_p.h')
-rw-r--r--lang/qt/src/protocol_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/qt/src/protocol_p.h b/lang/qt/src/protocol_p.h
index 2ca1cf18..91c522f1 100644
--- a/lang/qt/src/protocol_p.h
+++ b/lang/qt/src/protocol_p.h
@@ -42,7 +42,7 @@
#include "qgpgmelistallkeysjob.h"
#include "qgpgmedecryptjob.h"
#include "qgpgmedecryptverifyjob.h"
-#include "qgpgmerefreshkeysjob.h"
+#include "qgpgmerefreshsmimekeysjob.h"
#include "qgpgmedeletejob.h"
#include "qgpgmedownloadjob.h"
#include "qgpgmesignencryptjob.h"
@@ -288,7 +288,7 @@ public:
}
// this operation is not supported by gpgme, so we have to call gpgsm ourselves:
- return new QGpgME::QGpgMERefreshKeysJob();
+ return new QGpgME::QGpgMERefreshSMIMEKeysJob();
}
QGpgME::DownloadJob *downloadJob(bool armor) const Q_DECL_OVERRIDE