diff options
Diffstat (limited to 'lang/qt/src/signkeyjob.h')
-rw-r--r-- | lang/qt/src/signkeyjob.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/qt/src/signkeyjob.h b/lang/qt/src/signkeyjob.h index 6214bfde..666af92a 100644 --- a/lang/qt/src/signkeyjob.h +++ b/lang/qt/src/signkeyjob.h @@ -46,6 +46,7 @@ class Key; enum class TrustSignatureTrust : char; } +class QDate; class QString; namespace QGpgME @@ -144,6 +145,16 @@ public: **/ virtual void setTrustSignature(GpgME::TrustSignatureTrust trust, unsigned short depth, const QString &scope) { Q_UNUSED(trust); Q_UNUSED(depth); Q_UNUSED(scope); }; + /** + * Sets the expiration date of the key signature to @a expiration. By default, + * key signatures do not expire. + * + * Note: Expiration dates after 2106-02-06 will be set to 2106-02-06. + * + * Not pure virtual for ABI compatibility. + **/ + virtual void setExpirationDate(const QDate &expiration) { Q_UNUSED(expiration); } + Q_SIGNALS: void result(const GpgME::Error &result, const QString &auditLogAsHtml = QString(), const GpgME::Error &auditLogError = GpgME::Error()); }; |