mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
Everywhere: Rename to_{string => deprecated_string}() where applicable
This will make it easier to support both string types at the same time while we convert code, and tracking down remaining uses. One big exception is Value::to_string() in LibJS, where the name is dictated by the ToString AO.
This commit is contained in:
parent
6e19ab2bbc
commit
57dc179b1f
597 changed files with 1973 additions and 1972 deletions
|
@ -54,7 +54,7 @@ CharacterMapWidget::CharacterMapWidget()
|
|||
continue;
|
||||
builder.append_code_point(code_point);
|
||||
}
|
||||
GUI::Clipboard::the().set_plain_text(builder.to_string());
|
||||
GUI::Clipboard::the().set_plain_text(builder.to_deprecated_string());
|
||||
});
|
||||
m_copy_selection_action->set_status_tip("Copy the highlighted characters to the clipboard");
|
||||
|
||||
|
@ -179,5 +179,5 @@ void CharacterMapWidget::update_statusbar()
|
|||
builder.appendff("U+{:04X}", code_point);
|
||||
if (auto display_name = Unicode::code_point_display_name(code_point); display_name.has_value())
|
||||
builder.appendff(" - {}", display_name.value());
|
||||
m_statusbar->set_text(builder.to_string());
|
||||
m_statusbar->set_text(builder.to_deprecated_string());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue