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/main_window/MainWindow.h | |
parent | refactor: code cleanup (diff) | |
download | GpgFrontend-73a0f7ddf8a8db0057201374f1518d2063ad9a06.tar.gz GpgFrontend-73a0f7ddf8a8db0057201374f1518d2063ad9a06.zip |
feat: support key groups
Diffstat (limited to 'src/ui/main_window/MainWindow.h')
-rw-r--r-- | src/ui/main_window/MainWindow.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/ui/main_window/MainWindow.h b/src/ui/main_window/MainWindow.h index 58aa406d..6eb4da65 100644 --- a/src/ui/main_window/MainWindow.h +++ b/src/ui/main_window/MainWindow.h @@ -522,6 +522,13 @@ class MainWindow : public GeneralMainWindow { void slot_gpg_opera_buffer_show_helper( const QContainer<GpgOperaResult>& results); + /** + * @brief + * + * @param results + */ + void slot_update_operations_menu_by_checked_keys(); + private: /** * @details Create actions for the main-menu and the context-menu of the @@ -625,9 +632,9 @@ class MainWindow : public GeneralMainWindow { * @return GpgKeyList */ auto check_keys_helper( - const KeyIdArgsList& key_ids, - const std::function<bool(const GpgKey&)>& capability_check, - const QString& capability_err_string) -> GpgKeyList; + const GpgAbstractKeyPtrList& keys, + const std::function<bool(const GpgAbstractKeyPtr&)>& capability_check, + const QString& capability_err_string) -> GpgAbstractKeyPtrList; /** * @brief |