diff options
author | Andre Heinecke <[email protected]> | 2016-08-25 14:22:12 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-08-25 14:22:12 +0000 |
commit | 4e37d0bb1255558ce20e1a5ac83a2d06a37f8b0b (patch) | |
tree | 91da58445c232dbd2fb815ed7b7e9e3e379dc1d8 /lang/qt/src/qgpgmekeylistjob.h | |
parent | qt: Ensure that current src dir is included first (diff) | |
download | gpgme-4e37d0bb1255558ce20e1a5ac83a2d06a37f8b0b.tar.gz gpgme-4e37d0bb1255558ce20e1a5ac83a2d06a37f8b0b.zip |
qt: Add generic flag support for keylistjobs
* lang/qt/src/keylistjob.h (addMode): New.
* lang/qt/src/qgpgmekeylistjob.h (addMode): New.
* lang/qt/src/qgpgmekeylistjob.cpp (addMode: New.
--
Instead of new API for each new thing lets be a bit more
generic / open.
Diffstat (limited to 'lang/qt/src/qgpgmekeylistjob.h')
-rw-r--r-- | lang/qt/src/qgpgmekeylistjob.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/qt/src/qgpgmekeylistjob.h b/lang/qt/src/qgpgmekeylistjob.h index cbe1e94d..2d5406aa 100644 --- a/lang/qt/src/qgpgmekeylistjob.h +++ b/lang/qt/src/qgpgmekeylistjob.h @@ -74,9 +74,10 @@ public: /* from KeyListJob */ GpgME::KeyListResult exec(const QStringList &patterns, bool secretOnly, std::vector<GpgME::Key> &keys) Q_DECL_OVERRIDE; + void addMode(GpgME::KeyListMode mode) Q_DECL_OVERRIDE; + /* from ThreadedJobMixin */ void resultHook(const result_type &result) Q_DECL_OVERRIDE; - private: GpgME::KeyListResult mResult; bool mSecretOnly; |