diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-02 15:07:41 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-02 15:15:33 +0100 |
commit | c5bd9d4ed1d80ac91d46146565127b0c185f1b43 (patch) | |
tree | b4ee9ba5999778450f8eb4006df89110617b4a10 /Applications/SystemMonitor/ProcessMemoryMapWidget.h | |
parent | 2d39da5405a4527e91e853ddb1e56a539c96c6c1 (diff) | |
download | serenity-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 'Applications/SystemMonitor/ProcessMemoryMapWidget.h')
-rw-r--r-- | Applications/SystemMonitor/ProcessMemoryMapWidget.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Applications/SystemMonitor/ProcessMemoryMapWidget.h b/Applications/SystemMonitor/ProcessMemoryMapWidget.h index 58a82deb4d..265eaccb8a 100644 --- a/Applications/SystemMonitor/ProcessMemoryMapWidget.h +++ b/Applications/SystemMonitor/ProcessMemoryMapWidget.h @@ -31,12 +31,14 @@ namespace Core { class Timer; } +namespace GUI { +class JsonArrayModel; +class TableView; +} -class GJsonArrayModel; -class GTableView; - -class ProcessMemoryMapWidget final : public GWidget { +class ProcessMemoryMapWidget final : public GUI::Widget { C_OBJECT(ProcessMemoryMapWidget); + public: virtual ~ProcessMemoryMapWidget() override; @@ -44,9 +46,9 @@ public: void refresh(); private: - explicit ProcessMemoryMapWidget(GWidget* parent); - RefPtr<GTableView> m_table_view; - RefPtr<GJsonArrayModel> m_json_model; + explicit ProcessMemoryMapWidget(GUI::Widget* parent); + RefPtr<GUI::TableView> m_table_view; + RefPtr<GUI::JsonArrayModel> m_json_model; pid_t m_pid { -1 }; RefPtr<Core::Timer> m_timer; }; |