35#ifndef __KLEO_KEYLISTJOB_H__
36#define __KLEO_KEYLISTJOB_H__
39#include "qgpgme_export.h"
41#include <gpgme++/key.h>
43#include <QtCore/QStringList>
92 virtual GpgME::Error
start(
const QStringList &patterns,
bool secretOnly =
false) = 0;
94 virtual GpgME::KeyListResult exec(
const QStringList &patterns,
bool secretOnly, std::vector<GpgME::Key> &keys) = 0;
97 virtual void addMode(GpgME::KeyListMode mode) = 0;
100 void nextKey(
const GpgME::Key &key);
101 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:69
An abstract base class for asynchronous key listers.
Definition: keylistjob.h:72
virtual void addMode(GpgME::KeyListMode mode)=0
virtual GpgME::Error start(const QStringList &patterns, bool secretOnly=false)=0