diff options
author | Ingo Klöcker <[email protected]> | 2020-08-11 15:02:25 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2020-08-11 15:02:25 +0000 |
commit | 4f2cd3a0c6a8f3633040ff0e8cca787b2bd61fb2 (patch) | |
tree | 30240535a70bc5e6e62d1d6b51dea5d45017f90a /lang/qt/src/qgpgmechangeexpiryjob.h | |
parent | cpp: Make private helper a file static (diff) | |
download | gpgme-4f2cd3a0c6a8f3633040ff0e8cca787b2bd61fb2.tar.gz gpgme-4f2cd3a0c6a8f3633040ff0e8cca787b2bd61fb2.zip |
qt: Support changing expiry of subkeys
* lang/qt/src/changeexpiryjob.h (ChangeExpiryJob::start): New overload
that accepts subkeys (with empty implementation).
* lang/qt/src/qgpgmechangeexpiryjob.h,
lang/qt/src/qgpgmechangeexpiryjob.cpp (QGpgMEChangeExpiryJob::start):
New overload that accepts subkeys.
--
This adds the possibility to change the expiry of subkeys.
GnuPG-bug-id: 4717
Diffstat (limited to 'lang/qt/src/qgpgmechangeexpiryjob.h')
-rw-r--r-- | lang/qt/src/qgpgmechangeexpiryjob.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/qt/src/qgpgmechangeexpiryjob.h b/lang/qt/src/qgpgmechangeexpiryjob.h index 83565686..bb9b9ba8 100644 --- a/lang/qt/src/qgpgmechangeexpiryjob.h +++ b/lang/qt/src/qgpgmechangeexpiryjob.h @@ -60,6 +60,11 @@ public: /* from ChangeExpiryJob */ GpgME::Error start(const GpgME::Key &key, const QDateTime &expiry) Q_DECL_OVERRIDE; + + /* from ChangeExpiryJob */ + GpgME::Error start(const GpgME::Key &key, const QDateTime &expiry, + const std::vector<GpgME::Subkey> &subkeys) Q_DECL_OVERRIDE; + }; } |