diff options
Diffstat (limited to 'lang/qt/src/quickjob.h')
-rw-r--r-- | lang/qt/src/quickjob.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lang/qt/src/quickjob.h b/lang/qt/src/quickjob.h index 049438d6..df8ac2b5 100644 --- a/lang/qt/src/quickjob.h +++ b/lang/qt/src/quickjob.h @@ -84,6 +84,14 @@ public: /** Start --quick-add-adsk */ virtual void startAddAdsk(const GpgME::Key &key, const char *adsk) = 0; + /** + * Starts the operation to enable or disable the OpenPGP key \a key. + * If \a enabled is \c true then the key is enabled. Otherwise, the key is disabled. + * + * \note Requires gpg 2.4.6. + */ + GpgME::Error startSetKeyEnabled(const GpgME::Key &key, bool enabled); + Q_SIGNALS: void result(const GpgME::Error &error, const QString &auditLogAsHtml = QString(), const GpgME::Error &auditLogError = GpgME::Error()); |