aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/model/GpgKeyTreeModel.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/GpgKeyTreeModel.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/GpgKeyTreeModel.h')
-rw-r--r--src/core/model/GpgKeyTreeModel.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/model/GpgKeyTreeModel.h b/src/core/model/GpgKeyTreeModel.h
index f56591ea..9e91037d 100644
--- a/src/core/model/GpgKeyTreeModel.h
+++ b/src/core/model/GpgKeyTreeModel.h
@@ -346,6 +346,13 @@ class GPGFRONTEND_CORE_EXPORT GpgKeyTreeModel : public QAbstractItemModel {
*/
auto GetAllCheckedSubKey() -> QContainer<GpgSubKey>;
+ /**
+ * @brief Get the Key By Index object
+ *
+ * @return GpgAbstractKey*
+ */
+ auto GetKeyByIndex(QModelIndex) -> GpgAbstractKey *;
+
private:
int gpg_context_channel_;
QVariantList column_headers_;