1
Fork 0
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:
Andreas Kling 2019-09-21 20:04:00 +02:00
parent 15a66dc8ab
commit defafd72bc
30 changed files with 57 additions and 47 deletions

View file

@ -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();