1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00

LibGUI: Put all classes in the GUI namespace and remove the leading G

This took me a moment. Welcome to the new world of GUI::Widget! :^)
This commit is contained in:
Andreas Kling 2020-02-02 15:07:41 +01:00
parent 2d39da5405
commit c5bd9d4ed1
Notes: sideshowbarker 2024-07-19 09:41:33 +09:00
337 changed files with 5400 additions and 4816 deletions

View file

@ -28,20 +28,24 @@
#include <LibGUI/GWidget.h>
class GGroupBox : public GWidget {
C_OBJECT(GGroupBox)
namespace GUI {
class GroupBox : public Widget {
C_OBJECT(GroupBox)
public:
virtual ~GGroupBox() override;
virtual ~GroupBox() override;
String title() const { return m_title; }
void set_title(const StringView&);
protected:
explicit GGroupBox(GWidget* parent);
GGroupBox(const StringView& title, GWidget* parent);
explicit GroupBox(Widget* parent);
GroupBox(const StringView& title, Widget* parent);
virtual void paint_event(GPaintEvent&) override;
virtual void paint_event(PaintEvent&) override;
private:
String m_title;
};
}