aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindow.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-07-13 06:51:32 +0000
committerSaturneric <[email protected]>2023-07-13 06:51:32 +0000
commit7c96f052da1f73cbcd2f0671640d1019eaaa906a (patch)
tree814d98407a0a3bc8adb32f4b8065d8428f016eb9 /src/ui/main_window/MainWindow.h
parentfeat: add CacheManager to deal with cache (diff)
downloadGpgFrontend-7c96f052da1f73cbcd2f0671640d1019eaaa906a.tar.gz
GpgFrontend-7c96f052da1f73cbcd2f0671640d1019eaaa906a.zip
feat: support marking a key as favourite
Diffstat (limited to 'src/ui/main_window/MainWindow.h')
-rw-r--r--src/ui/main_window/MainWindow.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ui/main_window/MainWindow.h b/src/ui/main_window/MainWindow.h
index 8f0b2e4d..670db23a 100644
--- a/src/ui/main_window/MainWindow.h
+++ b/src/ui/main_window/MainWindow.h
@@ -97,6 +97,11 @@ class MainWindow : public GeneralMainWindow {
*/
void SignalRestartApplication(int);
+ /**
+ * @brief
+ */
+ void SignalUIRefresh();
+
public slots:
/**
@@ -307,6 +312,16 @@ class MainWindow : public GeneralMainWindow {
*/
void slot_version_upgrade(const SoftwareVersion& version);
+ /**
+ * @details
+ */
+ void slot_add_key_2_favourite();
+
+ /**
+ * @details
+ */
+ void slot_remove_key_from_favourite();
+
private:
/**
* @details Create actions for the main-menu and the context-menu of the
@@ -421,6 +436,9 @@ class MainWindow : public GeneralMainWindow {
QAction* copy_key_id_to_clipboard_act_{}; ///<
QAction* copy_key_default_uid_to_clipboard_act_{}; ///<
+ QAction* add_key_2_favourtie_act_{}; ///<
+ QAction* remove_key_from_favourtie_act_{}; ///<
+
QAction* open_key_management_act_{}; ///< Action to open key management
QAction* copy_act_{}; ///< Action to copy text
QAction* quote_act_{}; ///< Action to quote text