diff options
author | Saturneric <[email protected]> | 2021-09-10 23:58:09 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-09-10 16:06:21 +0000 |
commit | 4e076fa1982812ea7d1222c7e981879799ca8853 (patch) | |
tree | 1b96ae4a6296ca0f7b9df8ce3a3c7339643bf1f0 /src/gpg/function/GpgKeyManager.h | |
parent | Adjust the code structure. (diff) | |
download | GpgFrontend-4e076fa1982812ea7d1222c7e981879799ca8853.tar.gz GpgFrontend-4e076fa1982812ea7d1222c7e981879799ca8853.zip |
Continue to optimize and improve the code.
Diffstat (limited to 'src/gpg/function/GpgKeyManager.h')
-rw-r--r-- | src/gpg/function/GpgKeyManager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpg/function/GpgKeyManager.h b/src/gpg/function/GpgKeyManager.h index 87557baf..6d57c7d7 100644 --- a/src/gpg/function/GpgKeyManager.h +++ b/src/gpg/function/GpgKeyManager.h @@ -40,13 +40,13 @@ public: * @param expires expire date and time of the signature * @return if successful */ - bool signKey(const GpgKey &target, KeyArgsList &keys, const QString &uid, - std::unique_ptr<QDateTime> &expires); + bool signKey(const GpgKey &target, KeyArgsList &keys, const std::string &uid, + std::unique_ptr<boost::gregorian::date> &expires); bool revSign(const GpgKey &key, const GpgKeySignature &signature); bool setExpire(const GpgKey &key, std::unique_ptr<GpgSubKey> &subkey, - std::unique_ptr<QDateTime> &expires); + std::unique_ptr<boost::gregorian::date> &expires); private: GpgContext &ctx = GpgContext::GetInstance(); |