diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 18:58:48 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 18:58:48 +0200 |
commit | 7b5342b2e301ad75f3c88c617680d2c29ae332ce (patch) | |
tree | 9d8fcbd557a07772fb78cc02d8c2511ab6702ca6 /Libraries/LibGUI | |
parent | f8d751440b15990d0779e8387a32e6bf92c33984 (diff) | |
download | serenity-7b5342b2e301ad75f3c88c617680d2c29ae332ce.zip |
LibGUI: Convert GCheckBox to ObjectPtr
Diffstat (limited to 'Libraries/LibGUI')
-rw-r--r-- | Libraries/LibGUI/GCheckBox.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Libraries/LibGUI/GCheckBox.h b/Libraries/LibGUI/GCheckBox.h index 035ea9fe1b..b1553dc1f9 100644 --- a/Libraries/LibGUI/GCheckBox.h +++ b/Libraries/LibGUI/GCheckBox.h @@ -7,13 +7,14 @@ class GCheckBox : public GAbstractButton { C_OBJECT(GCheckBox) public: - GCheckBox(const StringView&, GWidget* parent); - explicit GCheckBox(GWidget* parent); virtual ~GCheckBox() override; virtual void click() override; private: + GCheckBox(const StringView&, GWidget* parent); + explicit GCheckBox(GWidget* parent); + // These don't make sense for a check box, so hide them. using GAbstractButton::auto_repeat_interval; using GAbstractButton::set_auto_repeat_interval; |