35 #ifndef __QGPGME_QGPGMEKEYLISTJOB_H__
36 #define __QGPGME_QGPGMEKEYLISTJOB_H__
38 #include "keylistjob.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<KeyListJob, std::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, QString, GpgME::Error> >
73 GpgME::Error
start(
const QStringList &patterns,
bool secretOnly)
override;
76 GpgME::KeyListResult exec(
const QStringList &patterns,
bool secretOnly, std::vector<GpgME::Key> &keys)
override;
78 void addMode(GpgME::KeyListMode mode)
override;
81 void resultHook(
const result_type &result)
override;
83 GpgME::KeyListResult mResult;
An abstract base class for asynchronous key listers.
Definition: keylistjob.h:76
Definition: qgpgmekeylistjob.h:62
void addMode(GpgME::KeyListMode mode) override
Definition: qgpgmekeylistjob.cpp:160
GpgME::Error start(const QStringList &patterns, bool secretOnly) override
Definition: qgpgmekeylistjob.cpp:136
Definition: threadedjobmixin.h:131