aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testdivesiteduplication.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-08-28 20:44:11 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-31 07:48:23 -0700
commit9b90c461a21a71b1cd97060eee5a3cfb540bedba (patch)
tree84cc1458986c5bd67f99a861adcf9ff18728949a /tests/testdivesiteduplication.h
parentb1fb578eb945c8add71f32dde1cdfc161c63d16c (diff)
downloadsubsurface-9b90c461a21a71b1cd97060eee5a3cfb540bedba.tar.gz
Filter: Make FilterModelBase a proper Qt model (mostly)
Since FilterModelBase now contains complex data (counts and checked), we might just as well make it a full model and keep track of the name as well. I.e. do not derive from QStringListModel but from QAbstractListModel and add the name to the item structure. Implement proper reset / add / rename semantics. This is overkill at the moment, as after all any modification the model will be reset, but ultimately it will allow us to be smarter and only update rows when needed. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'tests/testdivesiteduplication.h')
0 files changed, 0 insertions, 0 deletions