mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:47: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:
parent
f74251606d
commit
6e19ab2bbc
2006 changed files with 11635 additions and 11636 deletions
|
@ -33,7 +33,7 @@ GameSizeDialog::GameSizeDialog(GUI::Window* parent, size_t board_size, size_t ta
|
|||
board_size_spinbox->set_value(m_board_size);
|
||||
|
||||
auto tile_value_label = main_widget.find_descendant_of_type_named<GUI::Label>("tile_value_label");
|
||||
tile_value_label->set_text(String::number(target_tile()));
|
||||
tile_value_label->set_text(DeprecatedString::number(target_tile()));
|
||||
auto target_spinbox = main_widget.find_descendant_of_type_named<GUI::SpinBox>("target_spinbox");
|
||||
target_spinbox->set_max(Game::max_power_for_board(m_board_size));
|
||||
target_spinbox->set_value(m_target_tile_power);
|
||||
|
@ -45,7 +45,7 @@ GameSizeDialog::GameSizeDialog(GUI::Window* parent, size_t board_size, size_t ta
|
|||
|
||||
target_spinbox->on_change = [this, tile_value_label](auto value) {
|
||||
m_target_tile_power = value;
|
||||
tile_value_label->set_text(String::number(target_tile()));
|
||||
tile_value_label->set_text(DeprecatedString::number(target_tile()));
|
||||
};
|
||||
|
||||
auto evil_ai_checkbox = main_widget.find_descendant_of_type_named<GUI::CheckBox>("evil_ai_checkbox");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue