c64a8daf50
* lang/qt/src/refreshopenpgpkeysjob.h: New. * lang/qt/src/Makefile.am, lang/qt/src/job.cpp: Update accordingly. * lang/qt/src/qgpgmerefreshopenpgpkeysjob.h (class QGpgMERefreshOpenPGPKeysJob): Derive from RefreshOpenPGPKeysJob with result ImportResult. Remove unused start overload. * lang/qt/src/qgpgmerefreshopenpgpkeysjob.cpp (locate_external_keys): Ignore result of KeyListJob. Return import result. (receive_keys): Return import result. (refresh_keys): Merge the two import results and return the result. * lang/qt/src/protocol.h (class Protocol): Add pure virtual member function refreshOpenPGPKeysJob. * lang/qt/src/protocol_p.h (Protocol::refreshKeysJob): Return nullptr for OpenPGP protocol. (Protocol::refreshOpenPGPKeysJob): New. * lang/qt/tests/run-refreshkeysjob.cpp (main): Use appropriate job for the protocol of the key to refresh. -- This adds RefreshOpenPGPKeysJob complementing RefreshKeysJob (for S/MIME keys). Changing the result type of RefreshKeysJob would break the ABI. Therefore we have to introduce a new base class for the refresh job for OpenPGP. We derive this base class from AbstractImportJob because we want to return an import result. GnuPG-bug-id: 5951 |
||
---|---|---|
.. | ||
final.test | ||
initial.test | ||
Makefile.am | ||
run-exportjob.cpp | ||
run-importjob.cpp | ||
run-keyformailboxjob.cpp | ||
run-receivekeysjob.cpp | ||
run-refreshkeysjob.cpp | ||
t-addexistingsubkey.cpp | ||
t-changeexpiryjob.cpp | ||
t-config.cpp | ||
t-encrypt.cpp | ||
t-import.cpp | ||
t-keylist.cpp | ||
t-keylocate.cpp | ||
t-ownertrust.cpp | ||
t-remarks.cpp | ||
t-revokekey.cpp | ||
t-support.cpp | ||
t-support.h | ||
t-tofuinfo.cpp | ||
t-trustsignatures.cpp | ||
t-various.cpp | ||
t-verify.cpp | ||
t-wkdlookup.cpp | ||
t-wkspublish.cpp |