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

GGroupBox: Rename "name" property to "title"

This commit is contained in:
Andreas Kling 2019-05-08 14:32:46 +02:00
parent 3ae9fc5d88
commit 758e926b99
3 changed files with 12 additions and 12 deletions

View file

@ -4,11 +4,11 @@
class GGroupBox : public GWidget {
public:
GGroupBox(const String& name, GWidget* parent);
GGroupBox(const String& title, GWidget* parent);
virtual ~GGroupBox() override;
String name() const { return m_name; }
void set_name(const String&);
String title() const { return m_title; }
void set_title(const String&);
virtual const char* class_name() const override { return "GGroupBox"; }
@ -16,5 +16,5 @@ protected:
virtual void paint_event(GPaintEvent&) override;
private:
String m_name;
String m_title;
};