diff options
author | saturneric <[email protected]> | 2025-04-15 23:19:53 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-04-15 23:19:53 +0000 |
commit | 73a0f7ddf8a8db0057201374f1518d2063ad9a06 (patch) | |
tree | 4dfdf140fa639f0ab8799433c4d9cf5079a92bf0 /src/core/model/GpgKey.h | |
parent | refactor: code cleanup (diff) | |
download | GpgFrontend-73a0f7ddf8a8db0057201374f1518d2063ad9a06.tar.gz GpgFrontend-73a0f7ddf8a8db0057201374f1518d2063ad9a06.zip |
feat: support key groups
Diffstat (limited to 'src/core/model/GpgKey.h')
-rw-r--r-- | src/core/model/GpgKey.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/core/model/GpgKey.h b/src/core/model/GpgKey.h index de2e8370..43410acd 100644 --- a/src/core/model/GpgKey.h +++ b/src/core/model/GpgKey.h @@ -28,12 +28,9 @@ #pragma once -#include <utility> - #include "core/model/GpgAbstractKey.h" #include "core/model/GpgSubKey.h" #include "core/model/GpgUID.h" - namespace GpgFrontend { /** @@ -98,7 +95,7 @@ class GPGFRONTEND_CORE_EXPORT GpgKey : public GpgAbstractKey { * @return true * @return false */ - [[nodiscard]] auto IsSubKey() const -> bool override; + [[nodiscard]] auto KeyType() const -> GpgAbstractKeyType override; /** * @brief @@ -120,21 +117,21 @@ class GPGFRONTEND_CORE_EXPORT GpgKey : public GpgAbstractKey { * * @return QString */ - [[nodiscard]] auto Name() const -> QString; + [[nodiscard]] auto Name() const -> QString override; /** * @brief * * @return QString */ - [[nodiscard]] auto Email() const -> QString; + [[nodiscard]] auto Email() const -> QString override; /** * @brief * * @return QString */ - [[nodiscard]] auto Comment() const -> QString; + [[nodiscard]] auto Comment() const -> QString override; /** * @brief |