1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:17:46 +00:00

LibGUI: Implement persistent indices for models

This patch adds persistent indices to models.  A PersistentModelIndex is
a ModelIndex that will survive most model updates (provided that the
data the PersistentModelIndex points to has not been removed by the
model's data store).  PersistentModelIndex objects can be safely held
by objects outside the model they originated from.
This commit is contained in:
sin-ack 2021-05-13 09:07:43 +00:00 committed by Andreas Kling
parent 1408aa1295
commit d73116e5d5
7 changed files with 221 additions and 1 deletions

View file

@ -49,6 +49,8 @@ class MultiView;
class OpacitySlider;
class PaintEvent;
class Painter;
class PersistentHandle;
class PersistentModelIndex;
class RadioButton;
class ResizeCorner;
class ResizeEvent;