diff options
Diffstat (limited to 'Libraries/LibGUI/GAboutDialog.h')
-rw-r--r-- | Libraries/LibGUI/GAboutDialog.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Libraries/LibGUI/GAboutDialog.h b/Libraries/LibGUI/GAboutDialog.h index e355d0355e..601ca95bc3 100644 --- a/Libraries/LibGUI/GAboutDialog.h +++ b/Libraries/LibGUI/GAboutDialog.h @@ -28,20 +28,23 @@ #include <LibGUI/GDialog.h> -class GAboutDialog final : public GDialog { - C_OBJECT(GAboutDialog) +namespace GUI { + +class AboutDialog final : public Dialog { + C_OBJECT(AboutDialog) public: - virtual ~GAboutDialog() override; + virtual ~AboutDialog() override; static void show(const StringView& name, const GraphicsBitmap* icon = nullptr, Core::Object* parent = nullptr) { - auto dialog = GAboutDialog::construct(name, icon, parent); + auto dialog = AboutDialog::construct(name, icon, parent); dialog->exec(); } private: - GAboutDialog(const StringView& name, const GraphicsBitmap* icon = nullptr, Core::Object* parent = nullptr); + AboutDialog(const StringView& name, const GraphicsBitmap* icon = nullptr, Core::Object* parent = nullptr); String m_name; RefPtr<GraphicsBitmap> m_icon; }; +} |