summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/AbstractTableView.h
diff options
context:
space:
mode:
authorDAlperin <DAlperin@users.noreply.github.com>2020-02-25 10:03:15 -0500
committerGitHub <noreply@github.com>2020-02-25 16:03:15 +0100
commit8e1645423ff00e6bc4fb9e55555e212b54c02524 (patch)
treeafb32452c6aa741700389da0c9ad454a3df773ca /Libraries/LibGUI/AbstractTableView.h
parent6824cb17a6820d43314fbcb655254129583af6e3 (diff)
downloadserenity-8e1645423ff00e6bc4fb9e55555e212b54c02524.zip
LibGUI: Make descendants of AbstractView define their own select_all() (#1201)
AbstractView does not know which column it's displaying which makes it impossible to implement the select_all functionality up there. Now descendants override the pure virtual select_all method and implement it themselves.
Diffstat (limited to 'Libraries/LibGUI/AbstractTableView.h')
-rw-r--r--Libraries/LibGUI/AbstractTableView.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/AbstractTableView.h b/Libraries/LibGUI/AbstractTableView.h
index 41b0e905a8..1638e6d03a 100644
--- a/Libraries/LibGUI/AbstractTableView.h
+++ b/Libraries/LibGUI/AbstractTableView.h
@@ -70,6 +70,7 @@ public:
virtual ModelIndex index_at_event_position(const Gfx::Point&, bool& is_toggle) const;
virtual ModelIndex index_at_event_position(const Gfx::Point&) const override;
+ virtual void select_all() override;
protected:
virtual ~AbstractTableView() override;
AbstractTableView();