diff options
Diffstat (limited to 'src/core/function/gpg/GpgKeyManager.h')
-rw-r--r-- | src/core/function/gpg/GpgKeyManager.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/core/function/gpg/GpgKeyManager.h b/src/core/function/gpg/GpgKeyManager.h index 39570d96..ecb345bf 100644 --- a/src/core/function/gpg/GpgKeyManager.h +++ b/src/core/function/gpg/GpgKeyManager.h @@ -35,10 +35,6 @@ #include "core/function/gpg/GpgContext.h" #include "core/typedef/GpgTypedef.h" -namespace boost::posix_time { -class ptime; -} - namespace GpgFrontend { /** @@ -64,8 +60,7 @@ class GPGFRONTEND_CORE_EXPORT GpgKeyManager * @return if successful */ auto SignKey(const GpgKey& target, KeyArgsList& keys, const QString& uid, - const std::unique_ptr<boost::posix_time::ptime>& expires) - -> bool; + const std::unique_ptr<QDateTime>& expires) -> bool; /** * @brief @@ -88,7 +83,7 @@ class GPGFRONTEND_CORE_EXPORT GpgKeyManager * @return false */ auto SetExpire(const GpgKey& key, std::unique_ptr<GpgSubKey>& subkey, - std::unique_ptr<boost::posix_time::ptime>& expires) -> bool; + std::unique_ptr<QDateTime>& expires) -> bool; /** * @brief |