• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

okteta

Public Member Functions | Protected Slots | List of all members
ModelTest Class Reference

#include <modeltest.h>

Inheritance diagram for ModelTest:
Inheritance graph
[legend]

Public Member Functions

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

Protected Slots

void layoutAboutToBeChanged ()
 
void layoutChanged ()
 
void modelAboutToBeReset ()
 
void modelReset ()
 
void rowsAboutToBeInserted (const QModelIndex &parent, int start, int end)
 
void rowsAboutToBeMoved (const QModelIndex &, int, int, const QModelIndex &, int)
 
void rowsAboutToBeRemoved (const QModelIndex &parent, int start, int end)
 
void rowsInserted (const QModelIndex &parent, int start, int end)
 
void rowsMoved (const QModelIndex &, int, int, const QModelIndex &, int)
 
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 
)
explicit

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

Definition at line 33 of file modeltest.cpp.

Member Function Documentation

void ModelTest::layoutAboutToBeChanged ( )
protectedslot

Definition at line 527 of file modeltest.cpp.

void ModelTest::layoutChanged ( )
protectedslot

Definition at line 533 of file modeltest.cpp.

void ModelTest::modelAboutToBeReset ( )
protectedslot

Definition at line 517 of file modeltest.cpp.

void ModelTest::modelReset ( )
protectedslot

Definition at line 522 of file modeltest.cpp.

void ModelTest::rowsAboutToBeInserted ( const QModelIndex &  parent,
int  start,
int  end 
)
protectedslot

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

See also
rowsInserted()

Definition at line 471 of file modeltest.cpp.

void ModelTest::rowsAboutToBeMoved ( const QModelIndex &  srcParent,
int  start,
int  end,
const QModelIndex &  destParent,
int  destinationRow 
)
protectedslot

Definition at line 542 of file modeltest.cpp.

void ModelTest::rowsAboutToBeRemoved ( const QModelIndex &  parent,
int  start,
int  end 
)
protectedslot

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

See also
rowsRemoved()

Definition at line 605 of file modeltest.cpp.

void ModelTest::rowsInserted ( const QModelIndex &  parent,
int  start,
int  end 
)
protectedslot

Confirm that what was said was going to happen actually did

See also
rowsAboutToBeInserted()

Definition at line 490 of file modeltest.cpp.

void ModelTest::rowsMoved ( const QModelIndex &  srcParent,
int  start,
int  end,
const QModelIndex &  destParent,
int  destinationRow 
)
protectedslot

Definition at line 559 of file modeltest.cpp.

void ModelTest::rowsRemoved ( const QModelIndex &  parent,
int  start,
int  end 
)
protectedslot

Confirm that what was said was going to happen actually did

See also
rowsAboutToBeRemoved()

Definition at line 627 of file modeltest.cpp.

void ModelTest::runAllTests ( )
protectedslot

Definition at line 86 of file modeltest.cpp.


The documentation for this class was generated from the following files:
  • modeltest.h
  • modeltest.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okteta

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

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal