LibGUI: Convert GGroupBox to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 16:13:04 +02:00
commit 83b5f6c11a
Notes: sideshowbarker 2024-07-19 12:02:03 +09:00
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: