aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpg/function/GpgKeyManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpg/function/GpgKeyManager.h')
-rw-r--r--src/gpg/function/GpgKeyManager.h6
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();