35#ifndef __KLEO_KEYLISTJOB_H__
36#define __KLEO_KEYLISTJOB_H__
39#include "qgpgme_export.h"
44# include <gpgme++/key.h>
47#include <QtCore/QStringList>
96 virtual GpgME::Error
start(
const QStringList &patterns,
bool secretOnly =
false) = 0;
98 virtual GpgME::KeyListResult exec(
const QStringList &patterns,
bool secretOnly, std::vector<GpgME::Key> &keys) = 0;
101 virtual void addMode(GpgME::KeyListMode mode) = 0;
104 void nextKey(
const GpgME::Key &key);
105 void result(
const GpgME::KeyListResult &result,
const std::vector<GpgME::Key> &keys = std::vector<GpgME::Key>(),
const QString &auditLogAsHtml = QString(),
const GpgME::Error &auditLogError = GpgME::Error());
An abstract base class for asynchronous crypto operations.
Definition: job.h:73
An abstract base class for asynchronous key listers.
Definition: keylistjob.h:76
virtual void addMode(GpgME::KeyListMode mode)=0
virtual GpgME::Error start(const QStringList &patterns, bool secretOnly=false)=0