messagelist
modelinvariantrowmapper_p.h
Go to the documentation of this file.
50 ModelInvariantIndex * modelIndexRowToModelInvariantIndexInternal( int modelIndexRow, bool updateIfNeeded );
QList< RowShift * > * mRowShiftList
The ordered list of RowShifts, most recent at the end.
Definition: modelinvariantrowmapper_p.h:70
void slotPerformLazyUpdate()
Internal: Performs a lazy update step.
Definition: modelinvariantrowmapper.cpp:598
int mLazyUpdateIdleInterval
Msecs: how much time we idle between lazy update chunks.
Definition: modelinvariantrowmapper_p.h:75
uint mCurrentShiftSerial
Current model change serial: FIXME: it explodes at 2^32 :D.
Definition: modelinvariantrowmapper_p.h:72
void killFirstRowShift()
Internal: Removes the first RowShift from the list.
Definition: modelinvariantrowmapper.cpp:101
void updateModelInvariantIndex(int modelIndexRow, ModelInvariantIndex *invariantToFill)
Internal.
Definition: modelinvariantrowmapper.cpp:150
ModelInvariantRowMapper *const q
Definition: modelinvariantrowmapper_p.h:68
This class is an optimizing helper for dealing with large flat QAbstractItemModel objects...
Definition: modelinvariantrowmapper.h:93
void indexDead(ModelInvariantIndex *index)
This is called from the ModelInvariantIndex destructor.
Definition: modelinvariantrowmapper.cpp:117
ModelInvariantRowMapperPrivate(ModelInvariantRowMapper *owner)
Definition: modelinvariantrowmapper_p.h:40
ModelInvariantIndex * modelIndexRowToModelInvariantIndexInternal(int modelIndexRow, bool updateIfNeeded)
Internal.
Definition: modelinvariantrowmapper.cpp:182
int mLazyUpdateChunkInterval
Msecs: how much time we spend inside a lazy update chunk.
Definition: modelinvariantrowmapper_p.h:74
QHash< int, ModelInvariantIndex * > * mCurrentInvariantHash
The up-to-date invariants.
Definition: modelinvariantrowmapper_p.h:71
uint mRemovedShiftCount
The number of shifts that we have completely processed.
Definition: modelinvariantrowmapper_p.h:73
An invariant index that can be ALWAYS used to reference an item inside a QAbstractItemModel.
Definition: modelinvariantindex.h:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.