1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:47:35 +00:00

LibGUI: Port Menubar to new string

This commit is contained in:
Karol Kosek 2023-04-16 11:42:18 +02:00 committed by Andreas Kling
parent dccd70385d
commit 60a338758c
3 changed files with 7 additions and 7 deletions

View file

@ -23,8 +23,8 @@ public:
virtual ~Menubar() override = default;
ErrorOr<void> try_add_menu(Badge<Window>, NonnullRefPtr<Menu>);
ErrorOr<NonnullRefPtr<Menu>> try_add_menu(Badge<Window>, DeprecatedString name);
Menu& add_menu(Badge<Window>, DeprecatedString name);
ErrorOr<NonnullRefPtr<Menu>> try_add_menu(Badge<Window>, String name);
Menu& add_menu(Badge<Window>, String name);
void for_each_menu(Function<IterationDecision(Menu&)>);