$search

Aseba::ModelAggregator Class Reference

#include <ModelAggregator.h>

List of all members.

Classes

struct  ModelDescription

Public Member Functions

void addModel (QAbstractItemModel *model, unsigned int column=0)
int columnCount (const QModelIndex &parent=QModelIndex()) const
QVariant data (const QModelIndex &index, int role) const
bool hasIndex (int row, int column, const QModelIndex &parent) const
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
 ModelAggregator (QObject *parent=0)
QModelIndex parent (const QModelIndex &child) const
int rowCount (const QModelIndex &parent=QModelIndex()) const

Protected Types

typedef QList< ModelDescriptionModelList

Protected Attributes

ModelList models

Detailed Description

Definition at line 11 of file ModelAggregator.h.


Member Typedef Documentation

Definition at line 34 of file ModelAggregator.h.


Constructor & Destructor Documentation

Aseba::ModelAggregator::ModelAggregator ( QObject *  parent = 0  ) 

Definition at line 7 of file ModelAggregator.cpp.


Member Function Documentation

void Aseba::ModelAggregator::addModel ( QAbstractItemModel *  model,
unsigned int  column = 0 
)

Definition at line 13 of file ModelAggregator.cpp.

int Aseba::ModelAggregator::columnCount ( const QModelIndex &  parent = QModelIndex()  )  const

Definition at line 21 of file ModelAggregator.cpp.

QVariant Aseba::ModelAggregator::data ( const QModelIndex &  index,
int  role 
) const

Definition at line 34 of file ModelAggregator.cpp.

bool Aseba::ModelAggregator::hasIndex ( int  row,
int  column,
const QModelIndex &  parent 
) const

Definition at line 58 of file ModelAggregator.cpp.

QModelIndex Aseba::ModelAggregator::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const

Definition at line 69 of file ModelAggregator.cpp.

QModelIndex Aseba::ModelAggregator::parent ( const QModelIndex &  child  )  const

Definition at line 74 of file ModelAggregator.cpp.

int Aseba::ModelAggregator::rowCount ( const QModelIndex &  parent = QModelIndex()  )  const

Definition at line 26 of file ModelAggregator.cpp.


Member Data Documentation

Definition at line 35 of file ModelAggregator.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


aseba
Author(s): Stéphane Magnenat
autogenerated on Sat Mar 2 12:31:54 2013