diff options
Diffstat (limited to 'src/core/model/GpgSubKey.h')
-rw-r--r-- | src/core/model/GpgSubKey.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/model/GpgSubKey.h b/src/core/model/GpgSubKey.h index fe925f8e..c947b8af 100644 --- a/src/core/model/GpgSubKey.h +++ b/src/core/model/GpgSubKey.h @@ -35,6 +35,8 @@ namespace GpgFrontend { +class GpgKey; + /** * @brief * @@ -232,7 +234,14 @@ class GPGFRONTEND_CORE_EXPORT GpgSubKey : public GpgAbstractKey { * * @return QString */ - [[nodiscard]] auto SmartCardSerialNumber() -> QString; + [[nodiscard]] auto SmartCardSerialNumber() const -> QString; + + /** + * @brief + * + * @return QString + */ + [[nodiscard]] auto Convert2GpgKey() const -> QSharedPointer<GpgKey>; private: QSharedPointer<struct _gpgme_key> key_ref_; |