mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 16:15:10 +00:00
LibGUI: Convert custom widgets and subclasses to ObjectPtr
This commit is contained in:
parent
15a66dc8ab
commit
defafd72bc
30 changed files with 57 additions and 47 deletions
|
@ -13,13 +13,14 @@ class GTextEditor;
|
|||
class GStatusBar;
|
||||
|
||||
class TextEditorWidget final : public GWidget {
|
||||
C_OBJECT(TextEditorWidget)
|
||||
public:
|
||||
TextEditorWidget();
|
||||
virtual ~TextEditorWidget() override;
|
||||
void open_sesame(const String& path);
|
||||
bool request_close();
|
||||
|
||||
private:
|
||||
TextEditorWidget();
|
||||
void set_path(const FileSystemPath& file);
|
||||
void update_title();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue