Lines Matching refs:sourceFirst

792 void QAbstractItemModelPrivate::itemsMoved(const QModelIndex &sourceParent, int sourceFirst, int so…  in itemsMoved()  argument
799 const bool movingUp = (sourceFirst > destinationChild); in itemsMoved()
801 …const int explicit_change = (!sameParent || movingUp) ? destinationChild - sourceFirst : destinati… in itemsMoved()
802 …change = (!sameParent || !movingUp) ? -1*(sourceLast - sourceFirst + 1) : sourceLast - sourceFirst in itemsMoved()
803 const int destination_change = sourceLast - sourceFirst + 1; in itemsMoved()
2961 bool QAbstractItemModel::beginMoveRows(const QModelIndex &sourceParent, int sourceFirst, int source… in beginMoveRows() argument
2963 Q_ASSERT(sourceFirst >= 0); in beginMoveRows()
2964 Q_ASSERT(sourceLast >= sourceFirst); in beginMoveRows()
2968 …if (!d->allowMove(sourceParent, sourceFirst, sourceLast, destinationParent, destinationChild, Qt::… in beginMoveRows()
2972 QAbstractItemModelPrivate::Change sourceChange(sourceParent, sourceFirst, sourceLast); in beginMoveRows()
2975 int destinationLast = destinationChild + (sourceLast - sourceFirst); in beginMoveRows()
2980 …emit rowsAboutToBeMoved(sourceParent, sourceFirst, sourceLast, destinationParent, destinationChild… in beginMoveRows()
2981 …d->itemsAboutToBeMoved(sourceParent, sourceFirst, sourceLast, destinationParent, destinationChild,… in beginMoveRows()
3180 bool QAbstractItemModel::beginMoveColumns(const QModelIndex &sourceParent, int sourceFirst, int sou… in beginMoveColumns() argument
3182 Q_ASSERT(sourceFirst >= 0); in beginMoveColumns()
3183 Q_ASSERT(sourceLast >= sourceFirst); in beginMoveColumns()
3187 …if (!d->allowMove(sourceParent, sourceFirst, sourceLast, destinationParent, destinationChild, Qt::… in beginMoveColumns()
3191 QAbstractItemModelPrivate::Change sourceChange(sourceParent, sourceFirst, sourceLast); in beginMoveColumns()
3194 int destinationLast = destinationChild + (sourceLast - sourceFirst); in beginMoveColumns()
3199 …d->itemsAboutToBeMoved(sourceParent, sourceFirst, sourceLast, destinationParent, destinationChild,… in beginMoveColumns()
3201 …emit columnsAboutToBeMoved(sourceParent, sourceFirst, sourceLast, destinationParent, destinationCh… in beginMoveColumns()