35 #ifndef __KLEO_KEYLISTJOB_H__ 36 #define __KLEO_KEYLISTJOB_H__ 39 #include "qgpgme_export.h" 41 #ifdef BUILDING_QGPGME 44 # include <gpgme++/key.h> 96 virtual GpgME::Error start(
const QStringList &patterns,
bool secretOnly =
false) = 0;
98 virtual GpgME::KeyListResult exec(
const QStringList &patterns,
bool secretOnly, std::vector<GpgME::Key> &keys) = 0;
101 virtual void addMode(GpgME::KeyListMode mode) = 0;
104 void nextKey(
const GpgME::Key &key);
105 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());
110 #endif // __KLEO_KEYLISTJOB_H__ An abstract base class for asynchronous crypto operations.
Definition: job.h:72
Definition: abstractimportjob.h:42
Definition: abstractimportjob.h:48
An abstract base class for asynchronous key listers.
Definition: keylistjob.h:75