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/model/GpgUID.cpp | |
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/model/GpgUID.cpp')
-rw-r--r-- | src/core/model/GpgUID.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/model/GpgUID.cpp b/src/core/model/GpgUID.cpp index 4327ae6a..e0d9d3a6 100644 --- a/src/core/model/GpgUID.cpp +++ b/src/core/model/GpgUID.cpp @@ -37,13 +37,13 @@ GpgUID::GpgUID(gpgme_user_id_t uid) GpgUID::GpgUID(GpgUID &&o) noexcept { swap(uid_ref_, o.uid_ref_); } -auto GpgUID::GetName() const -> std::string { return uid_ref_->name; } +auto GpgUID::GetName() const -> QString { return uid_ref_->name; } -auto GpgUID::GetEmail() const -> std::string { return uid_ref_->email; } +auto GpgUID::GetEmail() const -> QString { return uid_ref_->email; } -auto GpgUID::GetComment() const -> std::string { return uid_ref_->comment; } +auto GpgUID::GetComment() const -> QString { return uid_ref_->comment; } -auto GpgUID::GetUID() const -> std::string { return uid_ref_->uid; } +auto GpgUID::GetUID() const -> QString { return uid_ref_->uid; } auto GpgUID::GetRevoked() const -> bool { return uid_ref_->revoked; } |