summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GLazyWidget.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-02 15:07:41 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-02 15:15:33 +0100
commitc5bd9d4ed1d80ac91d46146565127b0c185f1b43 (patch)
treeb4ee9ba5999778450f8eb4006df89110617b4a10 /Libraries/LibGUI/GLazyWidget.cpp
parent2d39da5405a4527e91e853ddb1e56a539c96c6c1 (diff)
downloadserenity-c5bd9d4ed1d80ac91d46146565127b0c185f1b43.zip
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! :^)
Diffstat (limited to 'Libraries/LibGUI/GLazyWidget.cpp')
-rw-r--r--Libraries/LibGUI/GLazyWidget.cpp12
1 files changed, 8 insertions, 4 deletions
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 <LibGUI/GLazyWidget.h>
-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);
}
+
+}