aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/job.cpp
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-08-11 15:22:35 +0000
committerAndre Heinecke <[email protected]>2016-08-11 16:00:14 +0000
commit8c5abc8d932affab4bc79a85e3f98f6f6b982ae8 (patch)
tree447e9bb4bed56935501ac96f08f0f86cd2033e69 /lang/qt/src/job.cpp
parentdoc: Get rid of version.texi (diff)
downloadgpgme-8c5abc8d932affab4bc79a85e3f98f6f6b982ae8.tar.gz
gpgme-8c5abc8d932affab4bc79a85e3f98f6f6b982ae8.zip
Qt: Add KeyForMailboxJob
* lang/qt/src/job.cpp: Include moc and make subclass. * lang/qt/src/keyformailboxjob.h, lang/qt/src/qgpgmekeyformailboxjob.cpp, lang/qt/src/qgpgmekeyformailboxjob.h: New. * lang/qt/tests/run-keyformailboxjob.cpp: New manual test. * lang/qt/tests/Makefile.am: Add run-keyformailboxjob. * lang/qt/src/Makefile.am: Update accordingly. * lang/qt/src/protocol.h, lang/qt/src/protocol_p.h: Add keyformailboxjob. -- The KeyForMailboxjob can be used to determine the best key to use to encrypt something to a given mail address.
Diffstat (limited to 'lang/qt/src/job.cpp')
-rw-r--r--lang/qt/src/job.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/qt/src/job.cpp b/lang/qt/src/job.cpp
index 7ca1df9b..8e506474 100644
--- a/lang/qt/src/job.cpp
+++ b/lang/qt/src/job.cpp
@@ -55,6 +55,7 @@
#include "refreshkeysjob.h"
#include "adduseridjob.h"
#include "specialjob.h"
+#include "keyformailboxjob.h"
#include <QCoreApplication>
#include <QDebug>
@@ -120,6 +121,7 @@ make_job_subclass(DeleteJob)
make_job_subclass(RefreshKeysJob)
make_job_subclass(AddUserIDJob)
make_job_subclass(SpecialJob)
+make_job_subclass(KeyForMailboxJob)
#undef make_job_subclass
@@ -148,3 +150,4 @@ make_job_subclass(SpecialJob)
#include "refreshkeysjob.moc"
#include "adduseridjob.moc"
#include "specialjob.moc"
+#include "keyformailboxjob.moc"