diff options
author | DAlperin <DAlperin@users.noreply.github.com> | 2020-02-25 10:03:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-25 16:03:15 +0100 |
commit | 8e1645423ff00e6bc4fb9e55555e212b54c02524 (patch) | |
tree | afb32452c6aa741700389da0c9ad454a3df773ca /Libraries/LibGUI/ListView.h | |
parent | 6824cb17a6820d43314fbcb655254129583af6e3 (diff) | |
download | serenity-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/ListView.h')
-rw-r--r-- | Libraries/LibGUI/ListView.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/ListView.h b/Libraries/LibGUI/ListView.h index 0564a873df..ba18402325 100644 --- a/Libraries/LibGUI/ListView.h +++ b/Libraries/LibGUI/ListView.h @@ -52,6 +52,7 @@ public: int model_column() const { return m_model_column; } void set_model_column(int column) { m_model_column = column; } + virtual void select_all() override; private: ListView(); |