diff options
author | saturneric <[email protected]> | 2025-04-15 23:19:53 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-04-15 23:19:53 +0000 |
commit | 73a0f7ddf8a8db0057201374f1518d2063ad9a06 (patch) | |
tree | 4dfdf140fa639f0ab8799433c4d9cf5079a92bf0 /src/ui/widgets/KeyTreeView.h | |
parent | refactor: code cleanup (diff) | |
download | GpgFrontend-73a0f7ddf8a8db0057201374f1518d2063ad9a06.tar.gz GpgFrontend-73a0f7ddf8a8db0057201374f1518d2063ad9a06.zip |
feat: support key groups
Diffstat (limited to 'src/ui/widgets/KeyTreeView.h')
-rw-r--r-- | src/ui/widgets/KeyTreeView.h | 8 |
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 |