Home
last modified time | relevance | path

Searched refs:destinationChild (Results 1 – 25 of 449) sorted by relevance

12345678910>>...18

/dports/net/linphone/linphoneqt-4.1.1/src/components/codecs/
H A DAbstractCodecsModel.cpp111 int destinationChild in moveRows() argument
119 destinationChild < 0 || in moveRows()
121 destinationChild > nCodecs || in moveRows()
123 (sourceRow <= destinationChild && sourceRow + count >= destinationChild) in moveRows()
128 beginMoveRows(sourceParent, sourceRow, limit, destinationParent, destinationChild); in moveRows()
131 if (destinationChild > sourceRow) { in moveRows()
132 --destinationChild; in moveRows()
134 mCodecs.move(sourceRow, destinationChild + i - sourceRow); in moveRows()
138 mCodecs.move(sourceRow + i - sourceRow, destinationChild + i - sourceRow); in moveRows()
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/textproc/qt5-xml/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/databases/qt5-sqldrivers-odbc/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/databases/qt5-sqldrivers-pgsql/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/net/qt5-network/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/x11-toolkits/qt5-widgets/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/x11-toolkits/qt5-gui/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/devel/qt5-testlib/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/devel/qt5-qmake/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/devel/qt5-concurrent/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/devel/qt5-dbus/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/devel/qt5-buildtools/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/print/qt5-printsupport/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/graphics/qt5-opengl/kde-qtbase-5.15.2p263/src/corelib/itemmodels/
H A Dqstringlistmodel.cpp305 …sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
309 || destinationChild < 0 in moveRows()
310 || destinationChild > rowCount(destinationParent) in moveRows()
311 || sourceRow == destinationChild in moveRows()
312 || sourceRow == destinationChild - 1 in moveRows()
318 … (!beginMoveRows(QModelIndex(), sourceRow, sourceRow + count - 1, QModelIndex(), destinationChild)) in moveRows()
322 if (destinationChild < sourceRow) in moveRows()
325 destinationChild--; in moveRows()
327 lst.move(fromRow, destinationChild); in moveRows()
/dports/x11-wm/plasma5-kwin/kwin-5.23.5/src/kcmkwin/kwinrules/
H A Drulebookmodel.cpp112 const QModelIndex &destinationParent, int destinationChild) in moveRows() argument
118 const bool isMoveDown = destinationChild > sourceRow; in moveRows()
122 destinationParent, isMoveDown ? destinationChild + 1 : destinationChild)) { in moveRows()
127 m_ruleBook->moveRuleSettings(isMoveDown ? sourceRow : sourceRow + i, destinationChild); in moveRows()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/corelib/kernel/
H A Dqabstractitemmodel.cpp613 const bool movingUp = (srcFirst > destinationChild); in itemsAboutToBeMoved()
632 if (childPosition >= destinationChild) in itemsAboutToBeMoved()
637 if (sameParent && movingUp && childPosition < destinationChild) in itemsAboutToBeMoved()
646 if (sameParent && (childPosition > srcLast) && (childPosition >= destinationChild )) in itemsAboutToBeMoved()
702 const bool movingUp = (sourceFirst > destinationChild); in itemsMoved()
704 …t int explicit_change = (!sameParent || movingUp) ? destinationChild - sourceFirst : destinationCh… in itemsMoved()
2619 Q_ASSERT(destinationChild >= 0); in beginMoveRows()
2629 int destinationLast = destinationChild + (sourceLast - sourceFirst); in beginMoveRows()
2634 …mit rowsAboutToBeMoved(sourceParent, sourceFirst, sourceLast, destinationParent, destinationChild); in beginMoveRows()
2842 Q_ASSERT(destinationChild >= 0); in beginMoveColumns()
[all …]
/dports/editors/lazarus/lazarus/lcl/interfaces/qt5/cbindings/src/
H A Dqabstractitemmodel_c.cpp259 …sourceParent, int sourceRow, int count, const QModelIndexH destinationParent, int destinationChild) in QAbstractItemModel_moveRows() argument
261 …elIndex*)sourceParent, sourceRow, count, *(const QModelIndex*)destinationParent, destinationChild); in QAbstractItemModel_moveRows()
264 …rceParent, int sourceColumn, int count, const QModelIndexH destinationParent, int destinationChild) in QAbstractItemModel_moveColumns() argument
266 …ndex*)sourceParent, sourceColumn, count, *(const QModelIndex*)destinationParent, destinationChild); in QAbstractItemModel_moveColumns()
289 …odelIndexH sourceParent, int sourceRow, const QModelIndexH destinationParent, int destinationChild) in QAbstractItemModel_moveRow() argument
291 …st QModelIndex*)sourceParent, sourceRow, *(const QModelIndex*)destinationParent, destinationChild); in QAbstractItemModel_moveRow()
294 …lIndexH sourceParent, int sourceColumn, const QModelIndexH destinationParent, int destinationChild) in QAbstractItemModel_moveColumn() argument
296 …QModelIndex*)sourceParent, sourceColumn, *(const QModelIndex*)destinationParent, destinationChild); in QAbstractItemModel_moveColumn()
/dports/editors/lazarus-qt5/lazarus/lcl/interfaces/qt5/cbindings/src/
H A Dqabstractitemmodel_c.cpp259 …sourceParent, int sourceRow, int count, const QModelIndexH destinationParent, int destinationChild) in QAbstractItemModel_moveRows() argument
261 …elIndex*)sourceParent, sourceRow, count, *(const QModelIndex*)destinationParent, destinationChild); in QAbstractItemModel_moveRows()
264 …rceParent, int sourceColumn, int count, const QModelIndexH destinationParent, int destinationChild) in QAbstractItemModel_moveColumns() argument
266 …ndex*)sourceParent, sourceColumn, count, *(const QModelIndex*)destinationParent, destinationChild); in QAbstractItemModel_moveColumns()
289 …odelIndexH sourceParent, int sourceRow, const QModelIndexH destinationParent, int destinationChild) in QAbstractItemModel_moveRow() argument
291 …st QModelIndex*)sourceParent, sourceRow, *(const QModelIndex*)destinationParent, destinationChild); in QAbstractItemModel_moveRow()
294 …lIndexH sourceParent, int sourceColumn, const QModelIndexH destinationParent, int destinationChild) in QAbstractItemModel_moveColumn() argument
296 …QModelIndex*)sourceParent, sourceColumn, *(const QModelIndex*)destinationParent, destinationChild); in QAbstractItemModel_moveColumn()
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/lcl/interfaces/qt5/cbindings/src/
H A Dqabstractitemmodel_c.cpp259 …sourceParent, int sourceRow, int count, const QModelIndexH destinationParent, int destinationChild) in QAbstractItemModel_moveRows() argument
261 …elIndex*)sourceParent, sourceRow, count, *(const QModelIndex*)destinationParent, destinationChild); in QAbstractItemModel_moveRows()
264 …rceParent, int sourceColumn, int count, const QModelIndexH destinationParent, int destinationChild) in QAbstractItemModel_moveColumns() argument
266 …ndex*)sourceParent, sourceColumn, count, *(const QModelIndex*)destinationParent, destinationChild); in QAbstractItemModel_moveColumns()
289 …odelIndexH sourceParent, int sourceRow, const QModelIndexH destinationParent, int destinationChild) in QAbstractItemModel_moveRow() argument
291 …st QModelIndex*)sourceParent, sourceRow, *(const QModelIndex*)destinationParent, destinationChild); in QAbstractItemModel_moveRow()
294 …lIndexH sourceParent, int sourceColumn, const QModelIndexH destinationParent, int destinationChild) in QAbstractItemModel_moveColumn() argument
296 …QModelIndex*)sourceParent, sourceColumn, *(const QModelIndex*)destinationParent, destinationChild); in QAbstractItemModel_moveColumn()

12345678910>>...18