74class QGPGME_EXPORT ListAllKeysJob :
public Job
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());
114 Q_DECLARE_PRIVATE(ListAllKeysJob)