LibGUI+Userland: Make Window::*add_menu take name using new string

This commit is contained in:
Karol Kosek 2023-04-16 11:56:01 +02:00 committed by Andreas Kling
commit 969543a847
Notes: sideshowbarker 2024-07-16 23:44:30 +09:00
52 changed files with 162 additions and 162 deletions

View file

@ -218,8 +218,8 @@ public:
void did_disable_focused_widget(Badge<Widget>);
Menu& add_menu(DeprecatedString name);
ErrorOr<NonnullRefPtr<Menu>> try_add_menu(DeprecatedString name);
Menu& add_menu(String name);
ErrorOr<NonnullRefPtr<Menu>> try_add_menu(String name);
ErrorOr<void> try_add_menu(NonnullRefPtr<Menu> menu);
void flash_menubar_menu_for(MenuItem const&);