mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 13:27:36 +00:00
Userland: Convert config listener callbacks to use StringView
The immutability of the string is not relevant here, since the string we're given was allocated in the IPC serialization layer and will be destroyed shortly afterwards. Additionally, noone relies on DeprecatedString-specific functionality. This will make it easier to convert the IPC layer itself to String later on.
This commit is contained in:
parent
5f1dbbaaa6
commit
33829f05fe
22 changed files with 46 additions and 46 deletions
|
@ -83,8 +83,8 @@ public:
|
|||
static ErrorOr<NonnullRefPtr<QuickLaunchWidget>> create();
|
||||
virtual ~QuickLaunchWidget() override = default;
|
||||
|
||||
virtual void config_key_was_removed(DeprecatedString const&, DeprecatedString const&, DeprecatedString const&) override;
|
||||
virtual void config_string_did_change(DeprecatedString const&, DeprecatedString const&, DeprecatedString const&, DeprecatedString const&) override;
|
||||
virtual void config_key_was_removed(StringView, StringView, StringView) override;
|
||||
virtual void config_string_did_change(StringView, StringView, StringView, StringView) override;
|
||||
|
||||
virtual void drag_enter_event(GUI::DragEvent&) override;
|
||||
virtual void drop_event(GUI::DropEvent&) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue