aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/utils/CommonUtils.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/CommonUtils.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/CommonUtils.h')
-rw-r--r--src/core/utils/CommonUtils.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/core/utils/CommonUtils.h b/src/core/utils/CommonUtils.h
index 0f8b9454..a45c6056 100644
--- a/src/core/utils/CommonUtils.h
+++ b/src/core/utils/CommonUtils.h
@@ -36,13 +36,19 @@ namespace GpgFrontend {
* @brief
*
* @param fingerprint
- * @return std::string
+ * @return QString
*/
-auto GPGFRONTEND_CORE_EXPORT BeautifyFingerprint(BypeArrayConstRef fingerprint)
- -> std::string;
+auto GPGFRONTEND_CORE_EXPORT BeautifyFingerprint(QString fingerprint)
+ -> QString;
-auto GPGFRONTEND_CORE_EXPORT CompareSoftwareVersion(const std::string& a,
- const std::string& b)
- -> int;
+/**
+ * @brief
+ *
+ * @param a
+ * @param b
+ * @return int
+ */
+auto GPGFRONTEND_CORE_EXPORT CompareSoftwareVersion(const QString& a,
+ const QString& b) -> int;
} // namespace GpgFrontend \ No newline at end of file