![]() |
Qt 6.x
The Qt SDK
|
#include <qquickitemview_p_p.h>
Public Member Functions | |
QQuickItemViewChangeSet () | |
bool | hasPendingChanges () const |
void | prepare (int currentIndex, int count) |
void | reset () |
void | applyChanges (const QQmlChangeSet &changeSet) |
void | applyBufferedChanges (const QQuickItemViewChangeSet &other) |
Public Attributes | |
int | itemCount |
int | newCurrentIndex |
QQmlChangeSet | pendingChanges |
QMultiHash< QQmlChangeSet::MoveKey, FxViewItem * > | removedItems |
bool | active: 1 |
bool | currentChanged: 1 |
bool | currentRemoved: 1 |
Definition at line 45 of file qquickitemview_p_p.h.
QQuickItemViewChangeSet::QQuickItemViewChangeSet | ( | ) |
Definition at line 26 of file qquickitemview.cpp.
References reset().
void QQuickItemViewChangeSet::applyBufferedChanges | ( | const QQuickItemViewChangeSet & | other | ) |
Definition at line 82 of file qquickitemview.cpp.
References QQmlChangeSet::apply(), currentChanged, currentRemoved, itemCount, newCurrentIndex, other(), and pendingChanges.
Referenced by QQuickItemViewPrivate::applyModelChanges().
void QQuickItemViewChangeSet::applyChanges | ( | const QQmlChangeSet & | changeSet | ) |
Definition at line 37 of file qquickitemview.cpp.
References QQmlChangeSet::apply(), currentChanged, currentRemoved, i, QQmlChangeSet::inserts(), itemCount, newCurrentIndex, pendingChanges, qMin(), and QQmlChangeSet::removes().
bool QQuickItemViewChangeSet::hasPendingChanges | ( | ) | const |
Definition at line 32 of file qquickitemview.cpp.
References QQmlChangeSet::isEmpty(), and pendingChanges.
Referenced by QQuickItemViewPrivate::applyModelChanges(), QQuickItemViewPrivate::applyPendingChanges(), and QQuickItemViewPrivate::refill().
void QQuickItemViewChangeSet::prepare | ( | int | currentIndex, |
int | count | ||
) |
Definition at line 94 of file qquickitemview.cpp.
References active, itemCount, newCurrentIndex, and reset().
void QQuickItemViewChangeSet::reset | ( | ) |
Definition at line 104 of file qquickitemview.cpp.
References active, QQmlChangeSet::clear(), QMultiHash< Key, T >::clear(), currentChanged, currentRemoved, itemCount, newCurrentIndex, pendingChanges, and removedItems.
Referenced by QQuickItemViewChangeSet(), QQuickItemViewPrivate::applyModelChanges(), QQuickItemViewPrivate::clear(), prepare(), and QQuickItemViewPrivate::refill().
bool QQuickItemViewChangeSet::active |
Definition at line 63 of file qquickitemview_p_p.h.
Referenced by prepare(), QQuickItemViewPrivate::refill(), and reset().
bool QQuickItemViewChangeSet::currentChanged |
Definition at line 64 of file qquickitemview_p_p.h.
Referenced by applyBufferedChanges(), applyChanges(), QQuickItemViewPrivate::applyModelChanges(), and reset().
bool QQuickItemViewChangeSet::currentRemoved |
Definition at line 65 of file qquickitemview_p_p.h.
Referenced by applyBufferedChanges(), applyChanges(), QQuickItemViewPrivate::applyModelChanges(), and reset().
int QQuickItemViewChangeSet::itemCount |
Definition at line 58 of file qquickitemview_p_p.h.
Referenced by applyBufferedChanges(), applyChanges(), prepare(), and reset().
int QQuickItemViewChangeSet::newCurrentIndex |
Definition at line 59 of file qquickitemview_p_p.h.
Referenced by applyBufferedChanges(), applyChanges(), QQuickItemViewPrivate::applyModelChanges(), prepare(), and reset().
QQmlChangeSet QQuickItemViewChangeSet::pendingChanges |
Definition at line 60 of file qquickitemview_p_p.h.
Referenced by applyBufferedChanges(), applyChanges(), QQuickItemViewPrivate::applyModelChanges(), hasPendingChanges(), and reset().
QMultiHash<QQmlChangeSet::MoveKey, FxViewItem *> QQuickItemViewChangeSet::removedItems |
Definition at line 61 of file qquickitemview_p_p.h.
Referenced by QQuickGridViewPrivate::applyInsertionChange(), QQuickListViewPrivate::applyInsertionChange(), QQuickItemViewPrivate::applyModelChanges(), QQuickItemViewPrivate::removeItem(), and reset().