35 #ifndef __KLEO_JOB_H__
36 #define __KLEO_JOB_H__
38 #include "qgpgme_export.h"
44 #ifdef BUILDING_QGPGME
47 # include <gpgme++/error.h>
72 class 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);
106 virtual void slotCancel() = 0;
137 void rawProgress(
const QString &what,
int type,
int current,
int total);
139 QGPGME_DEPRECATED
void progress(
const QString &what,
int current,
int total);
An abstract base class for asynchronous crypto operations.
Definition: job.h:73
void rawProgress(const QString &what, int type, int current, int total)
void jobProgress(int current, int total)
Definition: qgpgmebackend.h:43