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/CommonUtils.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/CommonUtils.h')
-rw-r--r-- | src/core/utils/CommonUtils.h | 18 |
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 |