summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GTableView.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-02 15:07:41 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-02 15:15:33 +0100
commitc5bd9d4ed1d80ac91d46146565127b0c185f1b43 (patch)
treeb4ee9ba5999778450f8eb4006df89110617b4a10 /Libraries/LibGUI/GTableView.h
parent2d39da5405a4527e91e853ddb1e56a539c96c6c1 (diff)
downloadserenity-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 'Libraries/LibGUI/GTableView.h')
-rw-r--r--Libraries/LibGUI/GTableView.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/Libraries/LibGUI/GTableView.h b/Libraries/LibGUI/GTableView.h
index 1a18aa500d..25ff332d45 100644
--- a/Libraries/LibGUI/GTableView.h
+++ b/Libraries/LibGUI/GTableView.h
@@ -31,13 +31,17 @@
#include <LibGUI/GAbstractTableView.h>
#include <LibGUI/GModel.h>
-class GTableView : public GAbstractTableView {
- C_OBJECT(GTableView)
+namespace GUI {
+
+class TableView : public AbstractTableView {
+ C_OBJECT(TableView)
public:
- virtual ~GTableView() override;
+ virtual ~TableView() override;
protected:
- explicit GTableView(GWidget* parent);
+ explicit TableView(Widget* parent);
- virtual void paint_event(GPaintEvent&) override;
+ virtual void paint_event(PaintEvent&) override;
};
+
+}