aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/model/GpgSubKey.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-02-03 14:42:38 +0000
committersaturneric <[email protected]>2025-02-03 14:42:38 +0000
commita6f82a3cbdbdd269796fecfb857440fda4e6ac6d (patch)
treed87609a7c8f50079ae648213ca979cb83923bd6d /src/core/model/GpgSubKey.h
parentfeat: upgrade gpgme to v1.24.1 (diff)
downloadGpgFrontend-dev/2.1.6/adsk.tar.gz
GpgFrontend-dev/2.1.6/adsk.zip
feat: allow add and show ADSKdev/2.1.6/adsk
Diffstat (limited to 'src/core/model/GpgSubKey.h')
-rw-r--r--src/core/model/GpgSubKey.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/model/GpgSubKey.h b/src/core/model/GpgSubKey.h
index f7d6afd9..affd56bd 100644
--- a/src/core/model/GpgSubKey.h
+++ b/src/core/model/GpgSubKey.h
@@ -167,7 +167,15 @@ class GPGFRONTEND_CORE_EXPORT GpgSubKey {
*
* @return QDateTime
*/
- [[nodiscard]] QDateTime GetExpireTime() const;
+ [[nodiscard]] auto GetExpireTime() const -> QDateTime;
+
+ /**
+ * @brief
+ *
+ * @return true
+ * @return false
+ */
+ [[nodiscard]] auto IsADSK() const -> bool;
/**
* @brief Construct a new Gpg Sub Key object