mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +00:00
FontEditor: Port some instances of DeprecatedString
This commit is contained in:
parent
0e276e0458
commit
1a30439b11
2 changed files with 13 additions and 12 deletions
|
@ -34,15 +34,15 @@ public:
|
|||
|
||||
virtual ~MainWidget() override = default;
|
||||
|
||||
ErrorOr<void> initialize(DeprecatedString const& path, RefPtr<Gfx::BitmapFont>&&);
|
||||
ErrorOr<void> initialize(StringView path, RefPtr<Gfx::BitmapFont>&&);
|
||||
ErrorOr<void> initialize_menubar(GUI::Window&);
|
||||
|
||||
ErrorOr<void> open_file(StringView, NonnullOwnPtr<Core::File>);
|
||||
ErrorOr<void> save_file(DeprecatedString const&, NonnullOwnPtr<Core::File>);
|
||||
ErrorOr<void> save_file(StringView, NonnullOwnPtr<Core::File>);
|
||||
bool request_close();
|
||||
void update_title();
|
||||
|
||||
DeprecatedString const& path() { return m_path; }
|
||||
String const& path() { return m_path; }
|
||||
Gfx::BitmapFont const& edited_font() { return *m_edited_font; }
|
||||
|
||||
bool is_showing_font_metadata() { return m_font_metadata; }
|
||||
|
@ -160,7 +160,7 @@ private:
|
|||
RefPtr<GUI::TextBox> m_preview_textbox;
|
||||
RefPtr<GUI::Window> m_font_preview_window;
|
||||
|
||||
DeprecatedString m_path;
|
||||
String m_path;
|
||||
Vector<String> m_font_weight_list;
|
||||
Vector<String> m_font_slope_list;
|
||||
Vector<String> m_unicode_block_list;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue