38#include "qgpgme_export.h"
47# include <gpgme++/error.h>
72class QGPGME_EXPORT
Job :
public QObject
76 explicit Job(QObject *parent);
80 virtual QString auditLogAsHtml()
const;
81 virtual GpgME::Error auditLogError()
const;
82 bool isAuditLogSupported()
const;
96 static GpgME::Context *context(
Job *job);
99 virtual void slotCancel() = 0;
102 void progress(
const QString &what,
int current,
int total);
106extern QMap <Job *, GpgME::Context *> g_context_map;
An abstract base class for asynchronous crypto operations.
Definition job.h:73