35 #ifndef __QGPGME_QGPGMELISTALLKEYSJOB_H__
36 #define __QGPGME_QGPGMELISTALLKEYSJOB_H__
38 #include "listallkeysjob.h"
40 #include "threadedjobmixin.h"
42 #ifdef BUILDING_QGPGME
43 # include "keylistresult.h"
45 #include <gpgme++/keylistresult.h>
47 #ifdef BUILDING_QGPGME
50 #include <gpgme++/key.h>
60 :
public _detail::ThreadedJobMixin<ListAllKeysJob, std::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, std::vector<GpgME::Key>, QString, GpgME::Error> >
73 GpgME::Error
start(
bool mergeKeys)
override;
76 GpgME::KeyListResult
exec(std::vector<GpgME::Key> &pub, std::vector<GpgME::Key> &sec,
bool mergeKeys)
override;
79 void resultHook(
const result_type &result)
override;
82 GpgME::KeyListResult mResult;
An abstract base class for asynchronously listing all keys.
Definition: listallkeysjob.h:77
Definition: qgpgmelistallkeysjob.h:62
GpgME::KeyListResult exec(std::vector< GpgME::Key > &pub, std::vector< GpgME::Key > &sec, bool mergeKeys) override
Definition: qgpgmelistallkeysjob.cpp:234
GpgME::Error start(bool mergeKeys) override
Definition: qgpgmelistallkeysjob.cpp:228
Definition: threadedjobmixin.h:131