mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 07: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
|
@ -28,5 +28,5 @@ private:
|
|||
|
||||
RefPtr<Core::Timer> m_clock_preview_update_timer;
|
||||
|
||||
String m_time_format;
|
||||
DeprecatedString m_time_format;
|
||||
};
|
||||
|
|
|
@ -131,7 +131,7 @@ void TimeZoneSettingsWidget::set_time_zone_location()
|
|||
auto name = Locale::format_time_zone(locale, m_time_zone, Locale::CalendarPatternStyle::Long, now);
|
||||
auto offset = Locale::format_time_zone(locale, m_time_zone, Locale::CalendarPatternStyle::LongOffset, now);
|
||||
|
||||
m_time_zone_text = String::formatted("{}\n({})", name, offset);
|
||||
m_time_zone_text = DeprecatedString::formatted("{}\n({})", name, offset);
|
||||
}
|
||||
|
||||
// https://en.wikipedia.org/wiki/Mercator_projection#Derivation
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/DeprecatedString.h>
|
||||
#include <AK/Optional.h>
|
||||
#include <AK/RefPtr.h>
|
||||
#include <AK/String.h>
|
||||
#include <LibGUI/SettingsWindow.h>
|
||||
#include <LibGUI/TextEditor.h>
|
||||
#include <LibGUI/Window.h>
|
||||
|
@ -28,11 +28,11 @@ private:
|
|||
Optional<Gfx::FloatPoint> compute_time_zone_location() const;
|
||||
void set_time_zone();
|
||||
|
||||
String m_time_zone;
|
||||
DeprecatedString m_time_zone;
|
||||
RefPtr<GUI::ComboBox> m_time_zone_combo_box;
|
||||
RefPtr<GUI::ImageWidget> m_time_zone_map;
|
||||
RefPtr<Gfx::Bitmap> m_time_zone_marker;
|
||||
|
||||
Optional<Gfx::FloatPoint> m_time_zone_location;
|
||||
String m_time_zone_text;
|
||||
DeprecatedString m_time_zone_text;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue