Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
MutableModelIterator Class Reference
Collaboration diagram for MutableModelIterator:

Public Member Functions

 MutableModelIterator (QQmlInstanceModel *model, int iBegin, int iEnd)
bool hasNext () const
void next ()
 ~MutableModelIterator ()
void disconnect ()
 MutableModelIterator (QQmlInstanceModel *model, int iBegin, int iEnd)
bool hasNext () const
void next ()
 ~MutableModelIterator ()
void disconnect ()

Public Attributes

int index = 0
int idxEnd
unsigned removedAtIndex: 1
unsigned backwards: 1

Detailed Description

Definition at line 373 of file qquicklistview.cpp.

Constructor & Destructor Documentation

◆ MutableModelIterator() [1/2]

MutableModelIterator::MutableModelIterator ( QQmlInstanceModel * model,
int iBegin,
int iEnd )
inline

Definition at line 375 of file qquicklistview.cpp.

References backwards, idxEnd, index, and removedAtIndex.

◆ ~MutableModelIterator() [1/2]

MutableModelIterator::~MutableModelIterator ( )
inline

Definition at line 407 of file qquicklistview.cpp.

References disconnect().

Here is the call graph for this function:

◆ MutableModelIterator() [2/2]

MutableModelIterator::MutableModelIterator ( QQmlInstanceModel * model,
int iBegin,
int iEnd )
inline

Definition at line 375 of file qquicklistview.cpp.

◆ ~MutableModelIterator() [2/2]

MutableModelIterator::~MutableModelIterator ( )
inline

Definition at line 407 of file qquicklistview.cpp.

Member Function Documentation

◆ disconnect() [1/2]

void MutableModelIterator::disconnect ( )
inline

Definition at line 412 of file qquicklistview.cpp.

Referenced by ~MutableModelIterator(), and QQuickListViewPrivate::applyInsertionChange().

Here is the caller graph for this function:

◆ disconnect() [2/2]

void MutableModelIterator::disconnect ( )
inline

Definition at line 412 of file qquicklistview.cpp.

◆ hasNext() [1/2]

bool MutableModelIterator::hasNext ( ) const
inline

Definition at line 401 of file qquicklistview.cpp.

References backwards, idxEnd, and index.

◆ hasNext() [2/2]

bool MutableModelIterator::hasNext ( ) const
inline

Definition at line 401 of file qquicklistview.cpp.

◆ next() [1/2]

void MutableModelIterator::next ( )
inline

Definition at line 405 of file qquicklistview.cpp.

References backwards, and index.

Referenced by QQuickListViewPrivate::applyInsertionChange().

Here is the caller graph for this function:

◆ next() [2/2]

void MutableModelIterator::next ( )
inline

Definition at line 405 of file qquicklistview.cpp.

Member Data Documentation

◆ backwards

unsigned MutableModelIterator::backwards

Definition at line 422 of file qquicklistview.cpp.

Referenced by MutableModelIterator(), hasNext(), and next().

◆ idxEnd

int MutableModelIterator::idxEnd

Definition at line 420 of file qquicklistview.cpp.

Referenced by MutableModelIterator(), and hasNext().

◆ index

int MutableModelIterator::index = 0

Definition at line 419 of file qquicklistview.cpp.

Referenced by MutableModelIterator(), hasNext(), and next().

◆ removedAtIndex

unsigned MutableModelIterator::removedAtIndex

The documentation for this class was generated from the following file: