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) Q_DECL_OVERRIDE;
76 GpgME::KeyListResult exec(
const QStringList &patterns,
bool secretOnly, std::vector<GpgME::Key> &keys) Q_DECL_OVERRIDE;
78 void addMode(GpgME::KeyListMode mode) Q_DECL_OVERRIDE;
81 void resultHook(
const result_type &result) Q_DECL_OVERRIDE;
83 GpgME::KeyListResult mResult;
89 #endif // __QGPGME_QGPGMEKEYLISTJOB_H__