aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/KeyTreeView.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widgets/KeyTreeView.h')
-rw-r--r--src/ui/widgets/KeyTreeView.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/widgets/KeyTreeView.h b/src/ui/widgets/KeyTreeView.h
index 0e12ad0b..af903273 100644
--- a/src/ui/widgets/KeyTreeView.h
+++ b/src/ui/widgets/KeyTreeView.h
@@ -64,6 +64,14 @@ class KeyTreeView : public QTreeView {
QWidget* parent = nullptr);
/**
+ * @brief Get the Key By Index object
+ *
+ * @param index
+ * @return GpgAbstractKeyPtr
+ */
+ static auto GetKeyByIndex(QModelIndex index) -> GpgAbstractKeyPtr;
+
+ /**
* @brief Get the All Checked Key Ids object
*
* @return KeyIdArgsList