26 #include <QtCore/QAbstractItemModel>
27 #include <QtCore/QObject>
28 #include <QtCore/QStack>
void rowsAboutToBeInserted(const QModelIndex &parent, int start, int end)
void nonDestructiveBasicTest()
QAbstractItemModel * model
void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end)
void layoutAboutToBeChanged()
void checkChildren(const QModelIndex &parent, int currentDepth=0)
QList< QPersistentModelIndex > changing
void rowsRemoved(const QModelIndex &parent, int start, int end)
ModelTest(QAbstractItemModel *model, QObject *parent=0)
QStack< Changing > remove
QStack< Changing > insert
void rowsInserted(const QModelIndex &parent, int start, int end)