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/Browser/InspectorWidget.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/Browser/InspectorWidget.h')
-rw-r--r-- | Applications/Browser/InspectorWidget.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Applications/Browser/InspectorWidget.h b/Applications/Browser/InspectorWidget.h index e0957f62c5..96363d1a48 100644 --- a/Applications/Browser/InspectorWidget.h +++ b/Applications/Browser/InspectorWidget.h @@ -27,10 +27,13 @@ #include <LibGUI/GWidget.h> class Document; -class GTableView; -class GTreeView; -class InspectorWidget final : public GWidget { +namespace GUI { +class TableView; +class TreeView; +} + +class InspectorWidget final : public GUI::Widget { C_OBJECT(InspectorWidget) public: virtual ~InspectorWidget(); @@ -38,10 +41,10 @@ public: void set_document(Document*); private: - explicit InspectorWidget(GWidget* parent); + explicit InspectorWidget(GUI::Widget* parent); - RefPtr<GTreeView> m_dom_tree_view; - RefPtr<GTableView> m_style_table_view; - RefPtr<GTableView> m_computed_style_table_view; + RefPtr<GUI::TreeView> m_dom_tree_view; + RefPtr<GUI::TableView> m_style_table_view; + RefPtr<GUI::TableView> m_computed_style_table_view; RefPtr<Document> m_document; }; |