aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/KeyMgmt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/main_window/KeyMgmt.h')
-rw-r--r--src/ui/main_window/KeyMgmt.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ui/main_window/KeyMgmt.h b/src/ui/main_window/KeyMgmt.h
index b25cfaaa..c0a8502a 100644
--- a/src/ui/main_window/KeyMgmt.h
+++ b/src/ui/main_window/KeyMgmt.h
@@ -34,6 +34,7 @@
namespace GpgFrontend::UI {
class KeyList;
+struct KeyTable;
/**
* @brief
@@ -120,6 +121,10 @@ class KeyMgmt : public GeneralMainWindow {
*/
void SignalKeyStatusUpdated();
+ private slots:
+
+ void slot_popup_menu_by_key_list(QContextMenuEvent* event, KeyTable*);
+
private:
KeyList* key_list_; ///<
QMenu* file_menu_{}; ///<
@@ -128,6 +133,8 @@ class KeyMgmt : public GeneralMainWindow {
QMenu* import_key_menu_{}; ///<
QMenu* export_key_menu_{}; /// <
+ QMenu* popup_menu_;
+
QAction* open_key_file_act_{}; ///<
QAction* export_key_to_file_act_{}; ///<
QAction* export_key_as_open_ssh_format_{}; ///<
@@ -143,7 +150,7 @@ class KeyMgmt : public GeneralMainWindow {
QAction* import_keys_from_key_package_act_{}; ///<
QAction* close_act_{}; ///<
QAction* show_key_details_act_{}; ///<
- QAction* set_owner_trust_of_key_act_{};
+ QAction* set_owner_trust_of_key_act_{}; ///<
/**
* @brief Create a menus object