1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

LibGUI: Add a ModelSelection::add_all(Vector) API

Using add() is very slow due to the change notifications.
This commit is contained in:
AnotherTest 2020-11-30 09:59:14 +03:30 committed by Andreas Kling
parent b532b2d3ca
commit 169beff21e
2 changed files with 13 additions and 0 deletions

View file

@ -59,6 +59,7 @@ public:
void set(const ModelIndex&);
void add(const ModelIndex&);
void add_all(const Vector<ModelIndex>&);
void toggle(const ModelIndex&);
bool remove(const ModelIndex&);
void clear();