34 #ifndef __KLEO_KEYLISTJOB_H__ 35 #define __KLEO_KEYLISTJOB_H__ 38 #include "qgpgme_export.h" 40 #ifdef BUILDING_QGPGME 43 # include <gpgme++/key.h> 95 virtual GpgME::Error start(
const QStringList &patterns,
bool secretOnly =
false) = 0;
97 virtual GpgME::KeyListResult exec(
const QStringList &patterns,
bool secretOnly, std::vector<GpgME::Key> &keys) = 0;
100 virtual void addMode(GpgME::KeyListMode mode) = 0;
103 void nextKey(
const GpgME::Key &key);
104 void result(
const GpgME::KeyListResult &result,
const std::vector<GpgME::Key> &keys = std::vector<GpgME::Key>(),
const QString &auditLogAsHtml = QString(),
const GpgME::Error &auditLogError = GpgME::Error());
109 #endif // __KLEO_KEYLISTJOB_H__ An abstract base class for asynchronous crypto operations.
Definition: job.h:71
Definition: abstractimportjob.h:41
Definition: abstractimportjob.h:47
An abstract base class for asynchronous key listers.
Definition: keylistjob.h:74