mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00: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:
parent
2d39da5405
commit
c5bd9d4ed1
337 changed files with 5400 additions and 4816 deletions
|
@ -34,10 +34,13 @@
|
|||
#include <LibGUI/GWidget.h>
|
||||
#include <LibGUI/GWindow.h>
|
||||
|
||||
class HexEditor;
|
||||
class GStatusBar;
|
||||
namespace GUI {
|
||||
class StatusBar;
|
||||
}
|
||||
|
||||
class HexEditorWidget final : public GWidget {
|
||||
class HexEditor;
|
||||
|
||||
class HexEditorWidget final : public GUI::Widget {
|
||||
C_OBJECT(HexEditorWidget)
|
||||
public:
|
||||
virtual ~HexEditorWidget() override;
|
||||
|
@ -53,14 +56,14 @@ private:
|
|||
String m_path;
|
||||
String m_name;
|
||||
String m_extension;
|
||||
RefPtr<GAction> m_new_action;
|
||||
RefPtr<GAction> m_open_action;
|
||||
RefPtr<GAction> m_save_action;
|
||||
RefPtr<GAction> m_save_as_action;
|
||||
RefPtr<GAction> m_goto_decimal_offset_action;
|
||||
RefPtr<GAction> m_goto_hex_offset_action;
|
||||
RefPtr<GUI::Action> m_new_action;
|
||||
RefPtr<GUI::Action> m_open_action;
|
||||
RefPtr<GUI::Action> m_save_action;
|
||||
RefPtr<GUI::Action> m_save_as_action;
|
||||
RefPtr<GUI::Action> m_goto_decimal_offset_action;
|
||||
RefPtr<GUI::Action> m_goto_hex_offset_action;
|
||||
|
||||
RefPtr<GStatusBar> m_statusbar;
|
||||
RefPtr<GUI::StatusBar> m_statusbar;
|
||||
|
||||
bool m_document_dirty { false };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue