49 #include <QtCore/QObject>
50 #include <QtCore/QAbstractItemModel>
51 #include <QtCore/QStack>
76 ModelTest(QAbstractItemModel *model, QObject *parent = NULL,
int verbose = 1);
79 void nonDestructiveBasicTest();
89 void layoutAboutToBeChanged();
91 void rowsAboutToBeInserted(
const QModelIndex& parent,
int start,
int);
92 void rowsInserted(
const QModelIndex & parent,
int start,
int end );
93 void rowsAboutToBeRemoved(
const QModelIndex &parent,
int start,
int end );
94 void rowsRemoved(
const QModelIndex & parent,
int start,
int end );
97 void checkChildren(
const QModelIndex &parent,
int currentDepth = 0 );
110 QStack<Changing>
remove;
int oldSize
Definition: modeltest.h:105
QModelIndex parent
Definition: modeltest.h:104
bool fetchingMore
Definition: modeltest.h:112
#define E_TESTING_EXPORT
Definition: etesting.h:36
QStack< Changing > insert
Definition: modeltest.h:109
QAbstractItemModel * model
Definition: modeltest.h:101
QVariant last
Definition: modeltest.h:106
int verboseLevel
Definition: modeltest.h:114
QList< QPersistentModelIndex > changing
Definition: modeltest.h:116
Definition: modeltest.h:103
QVariant next
Definition: modeltest.h:107
Class to test all basic stuff of QAbstractItemModels.
Definition: modeltest.h:71