aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/utils/CacheUtils.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-12 06:02:37 +0000
committersaturneric <[email protected]>2024-01-12 06:02:37 +0000
commitbf538056b24a68b8fd235b1c50991ee8eb46a776 (patch)
treee1bab54095b80df62b321fb5bd69453f9f951b05 /src/core/utils/CacheUtils.h
parentfeat: improve api and ui of keys import and export (diff)
downloadGpgFrontend-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.h13
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