35#ifndef __KLEO_HIERARCHICALKEYLISTJOB_H__
36#define __KLEO_HIERARCHICALKEYLISTJOB_H__
38#include "qgpgme_export.h"
39#include "keylistjob.h"
40#include "cryptobackend.h"
42#include <gpgme++/keylistresult.h>
80 bool remote =
false,
bool includeSigs =
false,
81 bool validating =
false);
93 GpgME::Error
start(
const QStringList &patterns,
bool secretOnly =
false)
override;
95 GpgME::KeyListResult exec(
const QStringList &patterns,
bool secretOnly,
96 std::vector<GpgME::Key> &keys)
override;
99 void slotResult(
const GpgME::KeyListResult &);
100 void slotNextKey(
const GpgME::Key &key);
102 void slotCancel()
override;
105 GpgME::Error startAJob();
110 const bool mIncludeSigs;
111 const bool mValidating;
113 std::set<QString> mSentSet;
114 std::set<QString> mScheduledSet;
115 std::set<QString> mNextSet;
116 GpgME::KeyListResult mIntermediateResult;
117 QPointer<KeyListJob> mJob;
A convenience job that additionally fetches all available issuers.
Definition: hierarchicalkeylistjob.h:76
GpgME::Error start(const QStringList &patterns, bool secretOnly=false) override
An abstract base class for asynchronous key listers.
Definition: keylistjob.h:72
Definition: protocol.h:119