![]() |
Qt 6.x
The Qt SDK
|
Definition at line 31 of file qabstractitemmodeltester.cpp.
QAbstractItemModelTesterPrivate::QAbstractItemModelTesterPrivate | ( | QAbstractItemModel * | model, |
QAbstractItemModelTester::FailureReportingMode | failureReportingMode | ||
) |
Definition at line 339 of file qabstractitemmodeltester.cpp.
void QAbstractItemModelTesterPrivate::columnsAboutToBeInserted | ( | const QModelIndex & | parent, |
int | first, | ||
int | last | ||
) |
Definition at line 678 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::data(), QAbstractItemModel::index(), MODELTESTER_COMPARE, parent(), qCDebug, QAbstractItemModel::rowCount(), and QVariant::toString().
void QAbstractItemModelTesterPrivate::columnsAboutToBeMoved | ( | const QModelIndex & | sourceParent, |
int | sourceStart, | ||
int | sourceEnd, | ||
const QModelIndex & | destinationParent, | ||
int | destinationColumn | ||
) |
Definition at line 704 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::data(), MODELTESTER_COMPARE, qCDebug, and QVariant::toString().
void QAbstractItemModelTesterPrivate::columnsAboutToBeRemoved | ( | const QModelIndex & | parent, |
int | first, | ||
int | last | ||
) |
Definition at line 736 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::data(), QAbstractItemModel::index(), MODELTESTER_COMPARE, parent(), qCDebug, QAbstractItemModel::rowCount(), and QVariant::toString().
void QAbstractItemModelTesterPrivate::columnsInserted | ( | const QModelIndex & | parent, |
int | first, | ||
int | last | ||
) |
Definition at line 692 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::data(), MODELTESTER_COMPARE, parent(), qCDebug, QAbstractItemModel::rowCount(), and QVariant::toString().
void QAbstractItemModelTesterPrivate::columnsMoved | ( | const QModelIndex & | parent, |
int | start, | ||
int | end, | ||
const QModelIndex & | destination, | ||
int | column | ||
) |
Definition at line 720 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::data(), MODELTESTER_COMPARE, qCDebug, and QVariant::toString().
void QAbstractItemModelTesterPrivate::columnsRemoved | ( | const QModelIndex & | parent, |
int | first, | ||
int | last | ||
) |
Definition at line 750 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::data(), MODELTESTER_COMPARE, parent(), qCDebug, QAbstractItemModel::rowCount(), and QVariant::toString().
void QAbstractItemModelTesterPrivate::data | ( | ) |
Definition at line 629 of file qabstractitemmodeltester.cpp.
References Qt::AlignHorizontal_Mask, alignment, Qt::AlignVertical_Mask, QVariant::canConvert(), Qt::Checked, Qt::CheckStateRole, QAbstractItemModel::columnCount(), QAbstractItemModel::data(), Qt::DisplayRole, QAbstractItemModel::index(), QVariant::isValid(), QModelIndex::isValid(), MODELTESTER_COMPARE, MODELTESTER_VERIFY, Qt::PartiallyChecked, QAbstractItemModel::rowCount(), Qt::SizeHintRole, state, Qt::StatusTipRole, QTestPrivate::testDataGuiRoles(), Qt::TextAlignmentRole, Qt::ToolTipRole, Qt::Unchecked, variant, and Qt::WhatsThisRole.
Referenced by runAllTests().
void QAbstractItemModelTesterPrivate::dataChanged | ( | const QModelIndex & | topLeft, |
const QModelIndex & | bottomRight | ||
) |
Definition at line 946 of file qabstractitemmodeltester.cpp.
References QModelIndex::column(), QAbstractItemModel::columnCount(), QModelIndex::isValid(), MODELTESTER_COMPARE, MODELTESTER_VERIFY, QModelIndex::parent(), QModelIndex::row(), and QAbstractItemModel::rowCount().
void QAbstractItemModelTesterPrivate::hasIndex | ( | ) |
Definition at line 432 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::columnCount(), QAbstractItemModel::hasIndex(), MODELTESTER_VERIFY, and QAbstractItemModel::rowCount().
Referenced by runAllTests().
void QAbstractItemModelTesterPrivate::headerDataChanged | ( | Qt::Orientation | orientation, |
int | start, | ||
int | end | ||
) |
Definition at line 960 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::columnCount(), MODELTESTER_VERIFY, QAbstractItemModel::rowCount(), and Qt::Vertical.
void QAbstractItemModelTesterPrivate::index | ( | ) |
Definition at line 456 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::columnCount(), QAbstractItemModel::index(), MODELTESTER_COMPARE, MODELTESTER_VERIFY, and QAbstractItemModel::rowCount().
Referenced by runAllTests().
void QAbstractItemModelTesterPrivate::layoutAboutToBeChanged | ( | ) |
Definition at line 856 of file qabstractitemmodeltester.cpp.
References QList< T >::append(), i, QAbstractItemModel::index(), MODELTESTER_COMPARE, qBound(), and QAbstractItemModel::rowCount().
void QAbstractItemModelTesterPrivate::layoutChanged | ( | ) |
Definition at line 865 of file qabstractitemmodeltester.cpp.
References QList< T >::clear(), i, QAbstractItemModel::index(), MODELTESTER_COMPARE, and QList< T >::size().
void QAbstractItemModelTesterPrivate::modelAboutToBeReset | ( | ) |
Definition at line 877 of file qabstractitemmodeltester.cpp.
References MODELTESTER_COMPARE.
void QAbstractItemModelTesterPrivate::modelReset | ( | ) |
Definition at line 883 of file qabstractitemmodeltester.cpp.
References MODELTESTER_COMPARE.
void QAbstractItemModelTesterPrivate::nonDestructiveBasicTest | ( | ) |
Definition at line 362 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::buddy(), cache, QAbstractItemModel::canFetchMore(), QAbstractItemModel::columnCount(), QAbstractItemModel::fetchMore(), QAbstractItemModel::flags(), QAbstractItemModel::hasChildren(), QAbstractItemModel::hasIndex(), QAbstractItemModel::index(), Qt::ItemIsDropEnabled, QAbstractItemModel::match(), QAbstractItemModel::mimeTypes(), MODELTESTER_VERIFY, QAbstractItemModel::parent, QAbstractItemModel::roleNames(), QAbstractItemModel::rowCount(), QAbstractItemModel::span(), and QAbstractItemModel::supportedDropActions().
Referenced by runAllTests().
void QAbstractItemModelTesterPrivate::parent | ( | ) |
Definition at line 479 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::columnCount(), QAbstractItemModel::hasIndex(), QAbstractItemModel::index(), QModelIndex::isValid(), MODELTESTER_COMPARE, MODELTESTER_VERIFY, QAbstractItemModel::parent, and QAbstractItemModel::rowCount().
Referenced by columnsAboutToBeInserted(), columnsAboutToBeRemoved(), columnsInserted(), columnsRemoved(), rowsAboutToBeInserted(), rowsAboutToBeRemoved(), rowsInserted(), rowsRemoved(), and runAllTests().
void QAbstractItemModelTesterPrivate::rowAndColumnCount | ( | ) |
Definition at line 393 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::columnCount(), QAbstractItemModel::hasChildren(), QAbstractItemModel::index(), QModelIndex::isValid(), MODELTESTER_VERIFY, and QAbstractItemModel::rowCount().
Referenced by runAllTests().
void QAbstractItemModelTesterPrivate::rowsAboutToBeInserted | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) |
Definition at line 766 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::data(), QModelIndex::data(), QAbstractItemModel::index(), MODELTESTER_COMPARE, parent(), QStack< T >::push(), qCDebug, QAbstractItemModel::rowCount(), and QVariant::toString().
void QAbstractItemModelTesterPrivate::rowsAboutToBeMoved | ( | const QModelIndex & | sourceParent, |
int | sourceStart, | ||
int | sourceEnd, | ||
const QModelIndex & | destinationParent, | ||
int | destinationRow | ||
) |
Definition at line 825 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::data(), MODELTESTER_COMPARE, qCDebug, and QVariant::toString().
void QAbstractItemModelTesterPrivate::rowsAboutToBeRemoved | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) |
Definition at line 894 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::columnCount(), QAbstractItemModel::data(), QAbstractItemModel::index(), QModelIndex::isValid(), MODELTESTER_COMPARE, MODELTESTER_VERIFY, parent(), QStack< T >::push(), qCDebug, QAbstractItemModel::rowCount(), and QVariant::toString().
void QAbstractItemModelTesterPrivate::rowsInserted | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) |
Definition at line 790 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::data(), QModelIndex::data(), i, QAbstractItemModel::index(), MODELTESTER_COMPARE, parent(), QStack< T >::pop(), qCDebug, qDebug, QAbstractItemModel::rowCount(), and QVariant::toString().
void QAbstractItemModelTesterPrivate::rowsMoved | ( | const QModelIndex & | parent, |
int | start, | ||
int | end, | ||
const QModelIndex & | destination, | ||
int | row | ||
) |
Definition at line 841 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::data(), MODELTESTER_COMPARE, qCDebug, and QVariant::toString().
void QAbstractItemModelTesterPrivate::rowsRemoved | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) |
Definition at line 927 of file qabstractitemmodeltester.cpp.
References QAbstractItemModel::data(), QAbstractItemModel::index(), MODELTESTER_COMPARE, parent(), QStack< T >::pop(), qCDebug, QAbstractItemModel::rowCount(), and QVariant::toString().
void QAbstractItemModelTesterPrivate::runAllTests | ( | ) |
Definition at line 346 of file qabstractitemmodeltester.cpp.
References data(), hasIndex(), index(), nonDestructiveBasicTest(), parent(), and rowAndColumnCount().