|
| QGpgMEChangeExpiryJob (GpgME::Context *context) |
|
GpgME::Error | start (const GpgME::Key &key, const QDateTime &expiry) Q_DECL_OVERRIDE |
|
GpgME::Error | start (const GpgME::Key &key, const QDateTime &expiry, const std::vector< GpgME::Subkey > &subkeys) Q_DECL_OVERRIDE |
|
bool | isAuditLogSupported () const |
|
|
typedef ThreadedJobMixin< ChangeExpiryJob, std::tuple< GpgME::Error, QString, GpgME::Error > > | mixin_type |
|
typedef std::tuple< GpgME::Error, QString, GpgME::Error > | result_type |
|
void | result (const GpgME::Error &result, const QString &auditLogAsHtml=QString(), const GpgME::Error &auditLogError=GpgME::Error()) |
|
void | progress (const QString &what, int current, int total) |
|
void | done () |
|
static GpgME::Context * | context (Job *job) |
|
| ThreadedJobMixin (GpgME::Context *ctx) |
|
void | lateInitialization () |
|
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) |
|
GpgME::Context * | context () const |
|
virtual void | resultHook (const result_type &) |
|
void | slotFinished () |
|
void | slotCancel () Q_DECL_OVERRIDE |
|
QString | auditLogAsHtml () const Q_DECL_OVERRIDE |
|
GpgME::Error | auditLogError () const Q_DECL_OVERRIDE |
|
void | showProgress (const char *, int, int current, int total) Q_DECL_OVERRIDE |
|
| ChangeExpiryJob (QObject *parent) |
|
| Job (QObject *parent) |
|
◆ start() [1/2]
GpgME::Error QGpgME::QGpgMEChangeExpiryJob::start |
( |
const GpgME::Key & |
key, |
|
|
const QDateTime & |
expiry |
|
) |
| |
|
virtual |
Starts the change-expiry operation. key is the key to change the expiry of. expiry is the new expiry time. If expiry is not valid, key is set to never expire.
Implements QGpgME::ChangeExpiryJob.
◆ start() [2/2]
GpgME::Error QGpgME::QGpgMEChangeExpiryJob::start |
( |
const GpgME::Key & |
key, |
|
|
const QDateTime & |
expiry, |
|
|
const std::vector< GpgME::Subkey > & |
subkeys |
|
) |
| |
|
virtual |
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.
The documentation for this class was generated from the following files: