diff options
author | Andre Heinecke <[email protected]> | 2016-08-11 15:22:35 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-08-11 16:00:14 +0000 |
commit | 8c5abc8d932affab4bc79a85e3f98f6f6b982ae8 (patch) | |
tree | 447e9bb4bed56935501ac96f08f0f86cd2033e69 /lang/qt/src/protocol.h | |
parent | doc: Get rid of version.texi (diff) | |
download | gpgme-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 '')
-rw-r--r-- | lang/qt/src/protocol.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/qt/src/protocol.h b/lang/qt/src/protocol.h index 64146b82..23b9d937 100644 --- a/lang/qt/src/protocol.h +++ b/lang/qt/src/protocol.h @@ -62,6 +62,7 @@ class ChangeOwnerTrustJob; class ChangePasswdJob; class AddUserIDJob; class SpecialJob; +class KeyForMailboxJob; /** The main entry point for QGpgME Comes in OpenPGP and SMIME(CMS) flavors. * @@ -145,6 +146,8 @@ public: * with both includeSigs and validate options. */ virtual KeyListJob *locateKeysJob() const = 0; + /** Find the best key to use for a mailbox. */ + virtual KeyForMailboxJob *keyForMailboxJob() const = 0; }; /** Obtain a reference to the OpenPGP Protocol. |