|
typedef ThreadedJobMixin< ChangeExpiryJob, std::tuple< GpgME::Error, QString, GpgME::Error > > | mixin_type |
|
typedef std::tuple< GpgME::Error, QString, GpgME::Error > | result_type |
|
enum | Option { Default = 0x00
, UpdatePrimaryKey = 0x01
, UpdateAllSubkeys = 0x02
} |
|
void | result (const GpgME::Error &result, const QString &auditLogAsHtml=QString(), const GpgME::Error &auditLogError=GpgME::Error()) |
|
void | jobProgress (int current, int total) |
|
void | rawProgress (const QString &what, int type, int current, int total) |
|
QGPGME_DEPRECATED void | progress (const QString &what, int current, int total) |
|
void | done () |
|
static GpgME::Context * | context (Job *job) |
|
void | run (const T_binder &func) |
|
void | run (const T_binder &func, const std::shared_ptr< QIODevice > &io) |
|
void | run (const T_binder &func, const std::shared_ptr< QIODevice > &io1, const std::shared_ptr< QIODevice > &io2) |
|
| ThreadedJobMixin (GpgME::Context *ctx) |
|
void | lateInitialization () |
|
void | setWorkerFunction (const T_binder &func) |
|
GpgME::Context * | context () const |
|
virtual void | resultHook (const result_type &) |
|
void | slotFinished () |
|
void | slotCancel () override |
|
QString | auditLogAsHtml () const override |
|
GpgME::Error | auditLogError () const override |
|
void | showProgress (const char *what, int type, int current, int total) override |
|
| ChangeExpiryJob (QObject *parent) |
|
| Job (QObject *parent) |
|
GpgME::Error QGpgME::QGpgMEChangeExpiryJob::start |
( |
const GpgME::Key & |
key, |
|
|
const QDateTime & |
expiry, |
|
|
const std::vector< GpgME::Subkey > & |
subkeys |
|
) |
| |
|
overridevirtual |
Starts the change-expiry operation. key is the key to change, subkeys is a list of subkeys of the key, and expiry is the new expiry time. If subkeys is empty, then the expiry of key is changed. Otherwise, the expiry of subkeys is changed. If expiry is not valid, then key or subkeys are set to never expire.
Reimplemented from QGpgME::ChangeExpiryJob.