gpgme/lang/qt/tests
Andre Heinecke 9451faa2ee qt: Add API to get the context for a Job
* lang/qt/src/job.cpp,
lang/qt/src/job.h (Job::context): New.
* lang/qt/src/threadedjobmixin.cpp
(ThreadedJobMixin::~ThreadedJobMixin): New. Unregister context.
(ThreadedJobMixin::lateInitialization): Register context.
* NEWS: Update for cpp and qt.

--
The global map hack is necessary because the job class does
not know about the context which is held in threadedjobmixin.
Adding a virtual function in Job would be an ABI break which
I'd like to avoid at this point. Although QGpgME's API will
need a big ABI break to make it ABI maintainable. The virtual
jobs -> implementation classes are nearly unmaintainable ABI wise.

The context is exposed to provide more flexibility to users, e.g.
to add a passphrase callback or to set the sender in a context.
2016-11-14 20:48:20 +01:00
..
initial.test Qt: Fix unit test by adding initial.test dep 2016-04-11 17:46:03 +02:00
Makefile.am qt: Add simple verify test 2016-10-10 17:34:52 +02:00
run-keyformailboxjob.cpp cpp, qt: Include config.h 2016-09-23 15:25:51 +02:00
t-encrypt.cpp qt: Disable tests that require a password for 2.0 2016-10-05 17:19:20 +02:00
t-keylist.cpp cpp, qt: Include config.h 2016-09-23 15:25:51 +02:00
t-keylocate.cpp cpp, qt: Include config.h 2016-09-23 15:25:51 +02:00
t-ownertrust.cpp cpp, qt: Include config.h 2016-09-23 15:25:51 +02:00
t-support.cpp cpp, qt: Include config.h 2016-09-23 15:25:51 +02:00
t-support.h qt: Fix unused variable warnings 2016-10-05 16:44:53 +02:00
t-tofuinfo.cpp qt: Add API to get the context for a Job 2016-11-14 20:48:20 +01:00
t-verify.cpp qt: Add simple verify test 2016-10-10 17:34:52 +02:00
t-wkspublish.cpp qt: Fix spelling error in WKSPublishJob 2016-10-05 17:36:17 +02:00