diff options
Diffstat (limited to 'lang/qt/src/signkeyjob.h')
-rw-r--r-- | lang/qt/src/signkeyjob.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/qt/src/signkeyjob.h b/lang/qt/src/signkeyjob.h index 7a7800dd..e3ae75f7 100644 --- a/lang/qt/src/signkeyjob.h +++ b/lang/qt/src/signkeyjob.h @@ -45,6 +45,8 @@ class Error; class Key; } +class QString; + namespace QGpgME { @@ -109,6 +111,22 @@ public: */ virtual void setNonRevocable(bool nonRevocable) = 0; + /** + * Set this if it is ok to overwrite an existing signature. In that + * case the context has to have the flag "extended-edit" set to 1 through + * Context::setFlag before calling edit. + * + * Not pure virtual for ABI compatibility. + **/ + virtual void setDupeOk(bool) {}; + + /** + * Add a remark to the signature. This uses [email protected] as a notation. + * + * Not pure virtual for ABI compatibility. + **/ + virtual void setRemark(const QString &) {}; + Q_SIGNALS: void result(const GpgME::Error &result, const QString &auditLogAsHtml = QString(), const GpgME::Error &auditLogError = GpgME::Error()); }; |