mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 02:56:10 +00:00
LibGUI+Userland: Make Menu::*add_submmenu take name using new string
This commit is contained in:
parent
969543a847
commit
51bd9ca037
Notes:
sideshowbarker
2024-07-16 23:59:28 +09:00
Author: https://github.com/krkk
Commit: 51bd9ca037
Pull-request: https://github.com/SerenityOS/serenity/pull/18397
18 changed files with 42 additions and 42 deletions
|
@ -43,11 +43,11 @@ public:
|
|||
|
||||
ErrorOr<void> try_add_action(NonnullRefPtr<Action>);
|
||||
ErrorOr<void> try_add_separator();
|
||||
ErrorOr<NonnullRefPtr<Menu>> try_add_submenu(DeprecatedString name);
|
||||
ErrorOr<NonnullRefPtr<Menu>> try_add_submenu(String name);
|
||||
|
||||
void add_action(NonnullRefPtr<Action>);
|
||||
void add_separator();
|
||||
Menu& add_submenu(DeprecatedString name);
|
||||
Menu& add_submenu(String name);
|
||||
void remove_all_actions();
|
||||
|
||||
ErrorOr<void> add_recent_files_list(Function<void(Action&)>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue