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
commit c5bd9d4ed1
Notes: sideshowbarker 2024-07-19 09:41:33 +09:00
337 changed files with 5400 additions and 4816 deletions

View file

@ -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);
}
}