37#ifndef __KLEO_LISTALLKEYSJOB_H__
38#define __KLEO_LISTALLKEYSJOB_H__
41#include "qgpgme_export.h"
43#include <gpgme++/key.h>
78 DisableAutomaticTrustDatabaseCheck = 0x01,
80 Q_DECLARE_FLAGS(Options, Option)
88 void setOptions(Options options);
89 Options options()
const;
101 virtual GpgME::Error
start(
bool mergeKeys =
false) = 0;
106 virtual GpgME::KeyListResult
exec(std::vector<GpgME::Key> &pub, std::vector<GpgME::Key> &sec,
bool mergeKeys =
false) = 0;
109 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());
112Q_DECLARE_OPERATORS_FOR_FLAGS(ListAllKeysJob::Options)
An abstract base class for asynchronous crypto operations.
Definition: job.h:69
An abstract base class for asynchronously listing all keys.
Definition: listallkeysjob.h:73
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