summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/AbstractTableView.h
diff options
context:
space:
mode:
authorAnotherTest <ali.mpfard@gmail.com>2020-11-26 11:10:14 +0330
committerAndreas Kling <kling@serenityos.org>2020-11-30 12:07:45 +0100
commit71de8b748068d3c2a7adb2796b2ed60c17a46552 (patch)
tree87932aec0d736782646c93e71a4f424a226da4b4 /Libraries/LibGUI/AbstractTableView.h
parent868c315e51b8322deb9cbe03cb16af22adb25651 (diff)
downloadserenity-71de8b748068d3c2a7adb2796b2ed60c17a46552.zip
LibGUI: Remove `AbstractView::did_update_model()'
...and use `ModelClient::model_did_update()' instead. This makes AbstractView a ModelClient (which it always was anyway).
Diffstat (limited to 'Libraries/LibGUI/AbstractTableView.h')
-rw-r--r--Libraries/LibGUI/AbstractTableView.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibGUI/AbstractTableView.h b/Libraries/LibGUI/AbstractTableView.h
index dc6698c06a..b64e4b3bcb 100644
--- a/Libraries/LibGUI/AbstractTableView.h
+++ b/Libraries/LibGUI/AbstractTableView.h
@@ -89,6 +89,8 @@ public:
HeaderView& row_header() { return *m_row_header; }
const HeaderView& row_header() const { return *m_row_header; }
+ virtual void model_did_update(unsigned flags) override;
+
protected:
virtual ~AbstractTableView() override;
AbstractTableView();
@@ -98,7 +100,6 @@ protected:
virtual void keydown_event(KeyEvent&) override;
virtual void resize_event(ResizeEvent&) override;
- virtual void did_update_model(unsigned flags) override;
virtual void toggle_index(const ModelIndex&) { }
void update_content_size();