37 #ifndef __KLEO_LISTALLKEYSJOB_H__
38 #define __KLEO_LISTALLKEYSJOB_H__
41 #include "qgpgme_export.h"
43 #ifdef BUILDING_QGPGME
46 # include <gpgme++/key.h>
82 DisableAutomaticTrustDatabaseCheck = 0x01,
84 Q_DECLARE_FLAGS(Options, Option)
92 void setOptions(Options options);
93 Options options()
const;
105 virtual GpgME::Error
start(
bool mergeKeys =
false) = 0;
110 virtual GpgME::KeyListResult
exec(std::vector<GpgME::Key> &pub, std::vector<GpgME::Key> &sec,
bool mergeKeys =
false) = 0;
113 void result(
const GpgME::KeyListResult &result,
const std::vector<GpgME::Key> &pub = std::vector<GpgME::Key>(),
const std::vector<GpgME::Key> &sec = std::vector<GpgME::Key>(),
const QString &auditLogAsHtml = QString(),
const GpgME::Error &auditLogError = GpgME::Error());
116 Q_DECLARE_OPERATORS_FOR_FLAGS(ListAllKeysJob::Options)
An abstract base class for asynchronous crypto operations.
Definition: job.h:73
An abstract base class for asynchronously listing all keys.
Definition: listallkeysjob.h:77
virtual GpgME::Error start(bool mergeKeys=false)=0
virtual GpgME::KeyListResult exec(std::vector< GpgME::Key > &pub, std::vector< GpgME::Key > &sec, bool mergeKeys=false)=0