mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:37:34 +00:00
TextEditor: Replace DeprecatedString for String
This commit is contained in:
parent
a24c49c18c
commit
97398eb568
3 changed files with 21 additions and 17 deletions
|
@ -7,21 +7,21 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/DeprecatedString.h>
|
||||
#include <AK/String.h>
|
||||
|
||||
namespace TextEditor {
|
||||
|
||||
class FileArgument final {
|
||||
public:
|
||||
explicit FileArgument(DeprecatedString);
|
||||
explicit FileArgument(String);
|
||||
~FileArgument() = default;
|
||||
|
||||
DeprecatedString filename() { return m_filename; }
|
||||
String filename() { return m_filename; }
|
||||
Optional<size_t> line() { return m_line; }
|
||||
Optional<size_t> column() { return m_column; }
|
||||
|
||||
private:
|
||||
DeprecatedString m_filename;
|
||||
String m_filename;
|
||||
Optional<size_t> m_line;
|
||||
Optional<size_t> m_column;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue