30 #ifndef QGPGME_QUICKJOB_H
31 #define QGPGME_QUICKJOB_H
35 #include "qgpgme_export.h"
39 #ifdef BUILDING_QGPGME
42 # include <gpgme++/key.h>
56 explicit QuickJob(QObject *parent = Q_NULLPTR);
60 virtual void startCreate(
const QString &uid,
62 const QDateTime &expires = QDateTime(),
63 const GpgME::Key &key = GpgME::Key(),
64 unsigned int flags = 0) = 0;
67 virtual void startAddUid(
const GpgME::Key &key,
const QString &uid) = 0;
70 virtual void startRevUid(
const GpgME::Key &key,
const QString &uid) = 0;
73 virtual void startAddSubkey(
const GpgME::Key &key,
const char *algo,
74 const QDateTime &expires = QDateTime(),
75 unsigned int flags = 0) = 0;
78 void result(
const GpgME::Error &error,
79 const QString &auditLogAsHtml,
const GpgME::Error &auditLogError);