69class QGPGME_EXPORT ChangeExpiryJob :
public Job
75 UpdatePrimaryKey = 0x01,
76 UpdateAllSubkeys = 0x02,
78 Q_DECLARE_FLAGS(Options, Option)
81 explicit ChangeExpiryJob(std::unique_ptr<ChangeExpiryJobPrivate>, QObject *parent);
85 void setOptions(Options options);
86 Options options()
const;
93 virtual GpgME::Error
start(
const GpgME::Key &key,
const QDateTime &expiry) = 0;
102 virtual GpgME::Error
start(
const GpgME::Key &key,
const QDateTime &expiry,
103 const std::vector<GpgME::Subkey> &subkeys);
106 void result(
const GpgME::Error &result,
const QString &auditLogAsHtml = QString(),
const GpgME::Error &auditLogError = GpgME::Error());
109 Q_DECLARE_PRIVATE(ChangeExpiryJob)