35 #ifndef __QGPGME_QGPGMEKEYLISTJOB_H__
36 #define __QGPGME_QGPGMEKEYLISTJOB_H__
38 #include "keylistjob.h"
40 #include "threadedjobmixin.h"
42 #include <gpgme++/keylistresult.h>
43 #include <gpgme++/key.h>
52 :
public _detail::ThreadedJobMixin<KeyListJob, void, std::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, QString, GpgME::Error> >
65 GpgME::Error
start(
const QStringList &patterns,
bool secretOnly)
override;
68 GpgME::KeyListResult exec(
const QStringList &patterns,
bool secretOnly, std::vector<GpgME::Key> &keys)
override;
70 void addMode(GpgME::KeyListMode mode)
override;
73 void resultHook(
const result_type &result)
override;
80 #endif // __QGPGME_QGPGMEKEYLISTJOB_H__
Definition: threadedjobmixin.h:125
Definition: abstractimportjob.h:48
void addMode(GpgME::KeyListMode mode) override
Definition: qgpgmekeylistjob.cpp:159
GpgME::Error start(const QStringList &patterns, bool secretOnly) override
Definition: qgpgmekeylistjob.cpp:136
Definition: qgpgmekeylistjob.h:48
An abstract base class for asynchronous key listers.
Definition: keylistjob.h:71