aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/model/GpgKey.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-12 23:03:57 +0000
committersaturneric <[email protected]>2025-04-12 23:03:57 +0000
commit571cfb16ccfd7ac6bc59b5acc77a94d0bdcf0990 (patch)
treea4efe7ba4d5344897c60513c03172d5de0191658 /src/core/model/GpgKey.h
parentfix: upgrade to gpgme 1.24.2 (diff)
downloadGpgFrontend-571cfb16ccfd7ac6bc59b5acc77a94d0bdcf0990.tar.gz
GpgFrontend-571cfb16ccfd7ac6bc59b5acc77a94d0bdcf0990.zip
feat: add openpgp smart card support
Diffstat (limited to 'src/core/model/GpgKey.h')
-rw-r--r--src/core/model/GpgKey.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/model/GpgKey.h b/src/core/model/GpgKey.h
index da92de8d..de2e8370 100644
--- a/src/core/model/GpgKey.h
+++ b/src/core/model/GpgKey.h
@@ -28,6 +28,8 @@
#pragma once
+#include <utility>
+
#include "core/model/GpgAbstractKey.h"
#include "core/model/GpgSubKey.h"
#include "core/model/GpgUID.h"
@@ -57,6 +59,13 @@ class GPGFRONTEND_CORE_EXPORT GpgKey : public GpgAbstractKey {
/**
* @brief Construct a new Gpg Key object
*
+ * @param key
+ */
+ explicit GpgKey(QSharedPointer<struct _gpgme_key> key_ref);
+
+ /**
+ * @brief Construct a new Gpg Key object
+ *
* @param k
*/
GpgKey(const GpgKey&);