4d913a8aa5
* lang/qt/src/addexistingsubkeyjob.h, lang/qt/src/qgpgmeaddexistingsubkeyjob.cpp, lang/qt/src/qgpgmeaddexistingsubkeyjob.h: New. * lang/qt/src/protocol.h (class Protocol): Add pure virtual member function addExistingSubkeyJob. * lang/qt/src/protocol_p.h (Protocol::addExistingSubkeyJob): Implement. * lang/qt/src/job.cpp, lang/qt/src/Makefile.am: Update accordingly. * lang/qt/tests/Makefile.am (the_tests, moc_files, noinst_PROGRAMS): Add new test. (t_addexistingsubkey_SOURCES): New. * lang/qt/tests/t-addexistingsubkey.cpp: New. * lang/qt/tests/t-support.h (VERIFY_OR_RETURN_VALUE, COMPARE_OR_RETURN_VALUE, VERIFY_OR_OBJECT, COMPARE_OR_OBJECT, VERIFY_OR_FALSE, COMPARE_OR_FALSE): New. * lang/qt/tests/t-support.h, lang/qt/tests/t-support.cpp (class QQGpgMETest): New member function importSecretKeys. -- The new job allows adding existing subkeys to other keys as with the "addkey" edit-key command of gpg. The added subkey will have the same expiration date (+/- 1 second) as the original subkey. GnuPG-bug-id: 5770 |
||
---|---|---|
.. | ||
final.test | ||
initial.test | ||
Makefile.am | ||
run-exportjob.cpp | ||
run-importjob.cpp | ||
run-keyformailboxjob.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-support.cpp | ||
t-support.h | ||
t-tofuinfo.cpp | ||
t-trustsignatures.cpp | ||
t-various.cpp | ||
t-verify.cpp | ||
t-wkdlookup.cpp | ||
t-wkspublish.cpp |