1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 07:57:46 +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:
Linus Groh 2022-12-04 18:02:33 +00:00 committed by Andreas Kling
parent f74251606d
commit 6e19ab2bbc
2006 changed files with 11635 additions and 11636 deletions

View file

@ -24,7 +24,7 @@ private:
void write_back_settings() const;
static VT::TerminalWidget::BellMode parse_bell(StringView bell_string);
static String stringify_bell(VT::TerminalWidget::BellMode bell_mode);
static DeprecatedString stringify_bell(VT::TerminalWidget::BellMode bell_mode);
VT::TerminalWidget::BellMode m_bell_mode { VT::TerminalWidget::BellMode::Disabled };
size_t m_max_history_size;
@ -49,13 +49,13 @@ private:
RefPtr<Gfx::Font> m_font;
float m_opacity;
String m_color_scheme;
DeprecatedString m_color_scheme;
VT::CursorShape m_cursor_shape { VT::CursorShape::Block };
bool m_cursor_is_blinking_set { true };
RefPtr<Gfx::Font> m_original_font;
float m_original_opacity;
String m_original_color_scheme;
DeprecatedString m_original_color_scheme;
VT::CursorShape m_original_cursor_shape;
bool m_original_cursor_is_blinking_set;
};