mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:37:35 +00:00
AK+Everywhere: Rename String to DeprecatedString
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
This commit is contained in:
parent
f74251606d
commit
6e19ab2bbc
2006 changed files with 11635 additions and 11636 deletions
|
@ -18,7 +18,7 @@ public:
|
|||
virtual ~KeyboardMapperWidget() override = default;
|
||||
|
||||
void create_frame();
|
||||
ErrorOr<void> load_map_from_file(String const&);
|
||||
ErrorOr<void> load_map_from_file(DeprecatedString const&);
|
||||
ErrorOr<void> load_map_from_system();
|
||||
ErrorOr<void> save();
|
||||
ErrorOr<void> save_to_file(StringView);
|
||||
|
@ -31,7 +31,7 @@ protected:
|
|||
virtual void keydown_event(GUI::KeyEvent&) override;
|
||||
virtual void keyup_event(GUI::KeyEvent&) override;
|
||||
|
||||
void set_current_map(const String);
|
||||
void set_current_map(const DeprecatedString);
|
||||
void update_window_title();
|
||||
|
||||
private:
|
||||
|
@ -43,8 +43,8 @@ private:
|
|||
u32* map_from_name(const StringView map_name);
|
||||
void update_modifier_radio_buttons(GUI::KeyEvent&);
|
||||
|
||||
String m_filename;
|
||||
DeprecatedString m_filename;
|
||||
Keyboard::CharacterMapData m_character_map;
|
||||
String m_current_map_name;
|
||||
DeprecatedString m_current_map_name;
|
||||
bool m_automatic_modifier { false };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue