From c5bd9d4ed1d80ac91d46146565127b0c185f1b43 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 2 Feb 2020 15:07:41 +0100 Subject: 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! :^) --- Libraries/LibGUI/GLazyWidget.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Libraries/LibGUI/GLazyWidget.cpp') diff --git a/Libraries/LibGUI/GLazyWidget.cpp b/Libraries/LibGUI/GLazyWidget.cpp index 6f4a358dc5..c8826e347e 100644 --- a/Libraries/LibGUI/GLazyWidget.cpp +++ b/Libraries/LibGUI/GLazyWidget.cpp @@ -26,16 +26,18 @@ #include -GLazyWidget::GLazyWidget(GWidget* parent) - : GWidget(parent) +namespace GUI { + +LazyWidget::LazyWidget(Widget* parent) + : Widget(parent) { } -GLazyWidget::~GLazyWidget() +LazyWidget::~LazyWidget() { } -void GLazyWidget::show_event(GShowEvent&) +void LazyWidget::show_event(ShowEvent&) { if (m_has_been_shown) return; @@ -44,3 +46,5 @@ void GLazyWidget::show_event(GShowEvent&) ASSERT(on_first_show); on_first_show(*this); } + +} -- cgit v1.2.3