#include <modeltest.h>
Public Member Functions | |
ModelTest (QAbstractItemModel *model, QObject *parent=nullptr) | |
Protected Slots | |
void | layoutAboutToBeChanged () |
void | layoutChanged () |
void | rowsAboutToBeInserted (const QModelIndex &parent, int start, int end) |
void | rowsAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
void | rowsInserted (const QModelIndex &parent, int start, int end) |
void | rowsRemoved (const QModelIndex &parent, int start, int end) |
void | runAllTests () |
! Qt modeltest is a non-supported class from Qt which provides a way to check for common errors in the implementation of QAbstractItemModel.
This class is instantiated alongside any model, living the life of the model and continuously checking the model during the model's life, evaluating it as it changes and asserting errors in real-time.
Tarball downloaded from: http://labs.trolltech.com/page/Projects/Itemview/Modeltest
ModelTest::ModelTest | ( | QAbstractItemModel * | model, |
QObject * | parent = nullptr |
||
) |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |