aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/KeyList.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-10-25 22:58:26 +0000
committersaturneric <[email protected]>2024-10-25 22:58:26 +0000
commitaa75deacf080aaf8c6b1fb1bb2a6b419adce7ad8 (patch)
treea82e4491efeedaf0157c3b10811426513aec2fbe /src/ui/widgets/KeyList.h
parentfeat: set reason code and text at revoke-certification (diff)
downloadGpgFrontend-aa75deacf080aaf8c6b1fb1bb2a6b419adce7ad8.tar.gz
GpgFrontend-aa75deacf080aaf8c6b1fb1bb2a6b419adce7ad8.zip
feat: add more context of key database support
Diffstat (limited to 'src/ui/widgets/KeyList.h')
-rw-r--r--src/ui/widgets/KeyList.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ui/widgets/KeyList.h b/src/ui/widgets/KeyList.h
index 8563df8f..47c4d2a1 100644
--- a/src/ui/widgets/KeyList.h
+++ b/src/ui/widgets/KeyList.h
@@ -209,6 +209,13 @@ class KeyList : public QWidget {
*/
void UpdateKeyTableColumnType(GpgKeyTableColumn);
+ /**
+ * @brief
+ *
+ * @return int
+ */
+ [[nodiscard]] auto GetCurrentGpgContextChannel() const -> int;
+
signals:
/**
* @brief
@@ -293,6 +300,8 @@ class KeyList : public QWidget {
QAction* subkeys_number_column_action_;
QAction* comment_column_action_;
+ int current_gpg_context_channel_ = kGpgFrontendDefaultChannel;
+
private slots:
/**