37 #ifndef __KLEO_LISTALLKEYSJOB_H__
38 #define __KLEO_LISTALLKEYSJOB_H__
41 #include "qgpgme_export.h"
43 #include <gpgme++/key.h>
56 class ListAllKeysJobPrivate;
80 DisableAutomaticTrustDatabaseCheck = 0x01,
82 Q_DECLARE_FLAGS(Options, Option)
85 explicit ListAllKeysJob(std::unique_ptr<ListAllKeysJobPrivate>, QObject *parent);
90 void setOptions(Options options);
91 Options options()
const;
103 virtual GpgME::Error start(
bool mergeKeys =
false) = 0;
108 virtual GpgME::KeyListResult exec(std::vector<GpgME::Key> &pub, std::vector<GpgME::Key> &sec,
bool mergeKeys =
false) = 0;
111 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());
117 Q_DECLARE_OPERATORS_FOR_FLAGS(ListAllKeysJob::Options)
121 #endif // __KLEO_LISTALLKEYSJOB_H__
An abstract base class for asynchronous crypto operations.
Definition: job.h:71
Definition: abstractimportjob.h:42
An abstract base class for asynchronously listing all keys.
Definition: listallkeysjob.h:74
Definition: abstractimportjob.h:48