diff options
author | saturneric <[email protected]> | 2025-02-02 20:03:21 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-02-02 20:03:21 +0000 |
commit | 39387a78e2e056fa946f92ec7509ef73ad3ecfa3 (patch) | |
tree | ebb8e2376c8a898b13dc862c2b5a8d3c07b6710b /src/core/model/GpgSubKey.cpp | |
parent | refactor: rewrite subkey generate dialog and fix some issues discovered (diff) | |
download | GpgFrontend-39387a78e2e056fa946f92ec7509ef73ad3ecfa3.tar.gz GpgFrontend-39387a78e2e056fa946f92ec7509ef73ad3ecfa3.zip |
refactor: make some function names shorter
Diffstat (limited to 'src/core/model/GpgSubKey.cpp')
-rw-r--r-- | src/core/model/GpgSubKey.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/core/model/GpgSubKey.cpp b/src/core/model/GpgSubKey.cpp index eba4167e..98b87706 100644 --- a/src/core/model/GpgSubKey.cpp +++ b/src/core/model/GpgSubKey.cpp @@ -60,19 +60,17 @@ auto GpgSubKey::GetKeyLength() const -> unsigned int { return subkey_ref_->length; } -auto GpgSubKey::IsHasEncryptionCapability() const -> bool { +auto GpgSubKey::IsHasEncrCap() const -> bool { return subkey_ref_->can_encrypt; } -auto GpgSubKey::IsHasSigningCapability() const -> bool { - return subkey_ref_->can_sign; -} +auto GpgSubKey::IsHasSignCap() const -> bool { return subkey_ref_->can_sign; } -auto GpgSubKey::IsHasCertificationCapability() const -> bool { +auto GpgSubKey::IsHasCertCap() const -> bool { return subkey_ref_->can_certify; } -auto GpgSubKey::IsHasAuthenticationCapability() const -> bool { +auto GpgSubKey::IsHasAuthCap() const -> bool { return subkey_ref_->can_authenticate; } |