ModelTest Class Reference

#include <modeltest.h>

Inheritance diagram for ModelTest:

QObject
Collaboration diagram for ModelTest:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ModelTest (QAbstractItemModel *model, QObject *parent=0)

Protected Slots

void runAllTests ()
void layoutAboutToBeChanged ()
void layoutChanged ()
void rowsAboutToBeInserted (const QModelIndex &parent, int start, int end)
void rowsInserted (const QModelIndex &parent, int start, int end)
void rowsAboutToBeRemoved (const QModelIndex &parent, int start, int end)
void rowsRemoved (const QModelIndex &parent, int start, int end)

Private Slots

void nonDestructiveBasicTest ()
void rowCount ()
void columnCount ()
void hasIndex ()
void index ()
void parent ()
void data ()

Private Member Functions

void checkChildren (const QModelIndex &parent, int currentDepth=0)

Private Attributes

QAbstractItemModelmodel
QStack< Changinginsert
QStack< Changingremove
bool fetchingMore
QList< QPersistentModelIndex > changing

Classes

struct  Changing


Constructor & Destructor Documentation

ModelTest::ModelTest ( QAbstractItemModel model,
QObject parent = 0 
)


Member Function Documentation

void ModelTest::nonDestructiveBasicTest (  )  [private, slot]

void ModelTest::rowCount (  )  [private, slot]

void ModelTest::columnCount (  )  [private, slot]

void ModelTest::hasIndex (  )  [private, slot]

void ModelTest::index (  )  [private, slot]

void ModelTest::parent (  )  [private, slot]

void ModelTest::data (  )  [private, slot]

void ModelTest::runAllTests (  )  [protected, slot]

void ModelTest::layoutAboutToBeChanged (  )  [protected, slot]

void ModelTest::layoutChanged (  )  [protected, slot]

void ModelTest::rowsAboutToBeInserted ( const QModelIndex &  parent,
int  start,
int  end 
) [protected, slot]

void ModelTest::rowsInserted ( const QModelIndex &  parent,
int  start,
int  end 
) [protected, slot]

void ModelTest::rowsAboutToBeRemoved ( const QModelIndex &  parent,
int  start,
int  end 
) [protected, slot]

void ModelTest::rowsRemoved ( const QModelIndex &  parent,
int  start,
int  end 
) [protected, slot]

void ModelTest::checkChildren ( const QModelIndex &  parent,
int  currentDepth = 0 
) [private]


Member Data Documentation

QStack<Changing> ModelTest::insert [private]

QStack<Changing> ModelTest::remove [private]

QList<QPersistentModelIndex> ModelTest::changing [private]


The documentation for this class was generated from the following file:

Generated on Tue Apr 12 02:10:14 2011 for epos by  doxygen 1.5.5