mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +00:00
StringViewize a bunch of things -- mostly LibGUI
This commit is contained in:
parent
f9ba7adae2
commit
1024dfa81a
59 changed files with 129 additions and 139 deletions
|
@ -12,10 +12,10 @@ public:
|
|||
Error,
|
||||
};
|
||||
|
||||
explicit GMessageBox(const String& text, const String& title, Type type = Type::None, CObject* parent = nullptr);
|
||||
explicit GMessageBox(const StringView& text, const StringView& title, Type type = Type::None, CObject* parent = nullptr);
|
||||
virtual ~GMessageBox() override;
|
||||
|
||||
static void show(const String& text, const String& title, Type type = Type::None, CObject* parent = nullptr);
|
||||
static void show(const StringView& text, const StringView& title, Type type = Type::None, CObject* parent = nullptr);
|
||||
|
||||
virtual const char* class_name() const override { return "GMessageBox"; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue