1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:07:44 +00:00

LibGUI: Convert GGroupBox to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 16:13:04 +02:00
parent 4f4438c04c
commit 83b5f6c11a
5 changed files with 10 additions and 9 deletions

View file

@ -5,14 +5,15 @@
class GGroupBox : public GWidget {
C_OBJECT(GGroupBox)
public:
explicit GGroupBox(GWidget* parent);
GGroupBox(const StringView& title, GWidget* parent);
virtual ~GGroupBox() override;
String title() const { return m_title; }
void set_title(const StringView&);
protected:
explicit GGroupBox(GWidget* parent);
GGroupBox(const StringView& title, GWidget* parent);
virtual void paint_event(GPaintEvent&) override;
private: