mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:37:34 +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
|
@ -17,13 +17,13 @@ class Workbook {
|
|||
public:
|
||||
Workbook(NonnullRefPtrVector<Sheet>&& sheets, GUI::Window& parent_window);
|
||||
|
||||
Result<bool, String> open_file(Core::File&);
|
||||
Result<bool, String> write_to_file(Core::File&);
|
||||
Result<bool, DeprecatedString> open_file(Core::File&);
|
||||
Result<bool, DeprecatedString> write_to_file(Core::File&);
|
||||
|
||||
Result<bool, String> import_file(Core::File&);
|
||||
Result<bool, DeprecatedString> import_file(Core::File&);
|
||||
|
||||
String const& current_filename() const { return m_current_filename; }
|
||||
bool set_filename(String const& filename);
|
||||
DeprecatedString const& current_filename() const { return m_current_filename; }
|
||||
bool set_filename(DeprecatedString const& filename);
|
||||
bool dirty() { return m_dirty; }
|
||||
void set_dirty(bool dirty) { m_dirty = dirty; }
|
||||
|
||||
|
@ -52,7 +52,7 @@ private:
|
|||
JS::ExecutionContext m_main_execution_context;
|
||||
GUI::Window& m_parent_window;
|
||||
|
||||
String m_current_filename;
|
||||
DeprecatedString m_current_filename;
|
||||
bool m_dirty { false };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue