mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:08:11 +00:00
LibGUI: Convert GCheckBox to ObjectPtr
This commit is contained in:
parent
f8d751440b
commit
7b5342b2e3
2 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue