35 #ifndef __KLEO_JOB_H__
36 #define __KLEO_JOB_H__
38 #include "qgpgme_export.h"
45 #include <gpgme++/error.h>
71 class QGPGME_EXPORT
Job :
public QObject
75 Job(std::unique_ptr<JobPrivate>, QObject *parent);
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);
105 GpgME::Error startIt();
115 virtual void slotCancel() = 0;
132 void jobProgress(
int current,
int total);
146 void rawProgress(
const QString &what,
int type,
int current,
int total);
148 QGPGME_DEPRECATED
void progress(
const QString &what,
int current,
int total);
153 const std::unique_ptr<JobPrivate> d_ptr;
155 Q_DECLARE_PRIVATE(
Job)
161 #endif // __KLEO_JOB_H__
An abstract base class for asynchronous crypto operations.
Definition: job.h:71
Definition: abstractimportjob.h:48
Definition: qgpgmebackend.h:43