• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

parley

ModelTest Class Reference

#include <modeltest.h>

Inheritance diagram for ModelTest:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Protected Slots

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 ()

Detailed Description

Definition at line 31 of file modeltest.h.


Constructor & Destructor Documentation

ModelTest::ModelTest ( QAbstractItemModel *  _model,
QObject *  parent = 0 
)

Connect to all of the models signals. Whenever anything happens recheck everything.

Definition at line 35 of file modeltest.cpp.


Member Function Documentation

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

Store what is about to be inserted to make sure it actually happens

See also:
rowsInserted()

Definition at line 457 of file modeltest.cpp.

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

Store what is about to be inserted to make sure it actually happens

See also:
rowsRemoved()

Definition at line 495 of file modeltest.cpp.

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

Confirm that what was said was going to happen actually did

See also:
rowsAboutToBeInserted()

Definition at line 473 of file modeltest.cpp.

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

Confirm that what was said was going to happen actually did

See also:
rowsAboutToBeRemoved()

Definition at line 510 of file modeltest.cpp.

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

Definition at line 76 of file modeltest.cpp.


The documentation for this class was generated from the following files:
  • modeltest.h
  • modeltest.cpp

parley

Skip menu "parley"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  •     lib
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal