From 8c5abc8d932affab4bc79a85e3f98f6f6b982ae8 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Thu, 11 Aug 2016 17:22:35 +0200 Subject: 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. --- lang/qt/src/job.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lang/qt/src/job.cpp') 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 #include @@ -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" -- cgit v1.2.3