36 #ifndef __QGPGME_QGPGMEKEYFORMAILBOXJOB_H__
37 #define __QGPGME_QGPGMEKEYFORMAILBOXJOB_H__
38 #include "keyformailboxjob.h"
40 #include "threadedjobmixin.h"
42 #ifdef BUILDING_QGPGME
43 # include "keylistresult.h"
46 # include <gpgme++/keylistresult.h>
47 # include <gpgme++/key.h>
57 :
public _detail::ThreadedJobMixin<KeyForMailboxJob, std::tuple<GpgME::KeyListResult, GpgME::Key, GpgME::UserID, QString, GpgME::Error> >
79 GpgME::Error
start(
const QString &mailbox,
bool canEncrypt =
true) Q_DECL_OVERRIDE;
81 GpgME::KeyListResult exec(
const QString &mailbox,
bool canEncrypt, GpgME::Key &key, GpgME::UserID &uid) Q_DECL_OVERRIDE;