diff options
| author | Andre Heinecke <[email protected]> | 2017-12-01 13:29:04 +0000 | 
|---|---|---|
| committer | Andre Heinecke <[email protected]> | 2017-12-01 13:35:11 +0000 | 
| commit | 7d1ac5d61de3c55bf7ff14997b4b111a0f90c177 (patch) | |
| tree | bf299f329509fe090e861b793eb0021260e0cf45 /lang/qt/src/protocol.h | |
| parent | cpp: Wrap create_key and create_subkey (diff) | |
| download | gpgme-7d1ac5d61de3c55bf7ff14997b4b111a0f90c177.tar.gz gpgme-7d1ac5d61de3c55bf7ff14997b4b111a0f90c177.zip | |
qt: Add job for quick commands
* lang/qt/src/qgpgmequickjob.cpp,
lang/qt/src/qgpgmequickjob.h,
lang/qt/src/quickjob.h: New.
* lang/qt/src/Makefile.am,
lang/qt/src/protocol.h,
lang/qt/src/protocol_p.h,
lang/qt/src/job.cpp: Update accordingly.
--
Keeping it in line with the Job for everything pattern.
Although it's reduced to one job for four commands as
the commands all behave the same.
Diffstat (limited to 'lang/qt/src/protocol.h')
| -rw-r--r-- | lang/qt/src/protocol.h | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/lang/qt/src/protocol.h b/lang/qt/src/protocol.h index 6794bc2b..1a52097e 100644 --- a/lang/qt/src/protocol.h +++ b/lang/qt/src/protocol.h @@ -66,6 +66,7 @@ class SpecialJob;  class KeyForMailboxJob;  class WKSPublishJob;  class TofuPolicyJob; +class QuickJob;  /** The main entry point for QGpgME Comes in OpenPGP and SMIME(CMS) flavors.   * @@ -157,6 +158,9 @@ public:      /** A Job to set tofu policy */      virtual TofuPolicyJob *tofuPolicyJob() const = 0; + +    /** A Job for the quick commands */ +    virtual QuickJob *quickJob() const = 0;  };  /** Obtain a reference to the OpenPGP Protocol. | 
