38#include "qgpgme_export.h"
44#include <gpgme++/error.h>
68class QGPGME_EXPORT
Job :
public QObject
72 explicit Job(QObject *parent);
76 virtual QString auditLogAsHtml()
const;
77 virtual GpgME::Error auditLogError()
const;
78 bool isAuditLogSupported()
const;
92 static GpgME::Context *context(
Job *job);
101 GpgME::Error startIt();
111 virtual void slotCancel() = 0;
142 void rawProgress(
const QString &what,
int type,
int current,
int total);
144 QGPGME_DEPRECATED
void progress(
const QString &what,
int current,
int total);
149extern QMap <Job *, GpgME::Context *> g_context_map;
An abstract base class for asynchronous crypto operations.
Definition job.h:69
void rawProgress(const QString &what, int type, int current, int total)
void jobProgress(int current, int total)