summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-21 18:58:48 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-21 18:58:48 +0200
commit7b5342b2e301ad75f3c88c617680d2c29ae332ce (patch)
tree9d8fcbd557a07772fb78cc02d8c2511ab6702ca6 /Libraries/LibGUI
parentf8d751440b15990d0779e8387a32e6bf92c33984 (diff)
downloadserenity-7b5342b2e301ad75f3c88c617680d2c29ae332ce.zip
LibGUI: Convert GCheckBox to ObjectPtr
Diffstat (limited to 'Libraries/LibGUI')
-rw-r--r--Libraries/LibGUI/GCheckBox.h5
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;