diff options
author | saturneric <[email protected]> | 2024-01-12 06:02:37 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-12 06:02:37 +0000 |
commit | bf538056b24a68b8fd235b1c50991ee8eb46a776 (patch) | |
tree | e1bab54095b80df62b321fb5bd69453f9f951b05 /src/core/utils/CacheUtils.h | |
parent | feat: improve api and ui of keys import and export (diff) | |
download | GpgFrontend-bf538056b24a68b8fd235b1c50991ee8eb46a776.tar.gz GpgFrontend-bf538056b24a68b8fd235b1c50991ee8eb46a776.zip |
refactor: use QString instead of std::string and improve threading system
Diffstat (limited to 'src/core/utils/CacheUtils.h')
-rw-r--r-- | src/core/utils/CacheUtils.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/core/utils/CacheUtils.h b/src/core/utils/CacheUtils.h index 018618e8..67a41335 100644 --- a/src/core/utils/CacheUtils.h +++ b/src/core/utils/CacheUtils.h @@ -34,23 +34,22 @@ namespace GpgFrontend { * @brief set a temp cache under a certain key * */ -void GPGFRONTEND_CORE_EXPORT SetTempCacheValue(const std::string &, - const std::string &); +void GPGFRONTEND_CORE_EXPORT SetTempCacheValue(const QString &, + const QString &); /** * @brief after get the temp cache, its value will be imediately ease in * storage * - * @return std::string + * @return QString */ -auto GPGFRONTEND_CORE_EXPORT GetTempCacheValue(const std::string &) - -> std::string; +auto GPGFRONTEND_CORE_EXPORT GetTempCacheValue(const QString &) -> QString; /** * @brief imediately ease temp cache in storage * - * @return std::string + * @return QString */ -void GPGFRONTEND_CORE_EXPORT ResetTempCacheValue(const std::string &); +void GPGFRONTEND_CORE_EXPORT ResetTempCacheValue(const QString &); } // namespace GpgFrontend |