$search
#include <ModelAggregator.h>
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< ModelDescription > | ModelList |
Protected Attributes | |
ModelList | models |
Definition at line 11 of file ModelAggregator.h.
typedef QList<ModelDescription> Aseba::ModelAggregator::ModelList [protected] |
Definition at line 34 of file ModelAggregator.h.
Aseba::ModelAggregator::ModelAggregator | ( | QObject * | parent = 0 |
) |
Definition at line 7 of file ModelAggregator.cpp.
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.
ModelList Aseba::ModelAggregator::models [protected] |
Definition at line 35 of file ModelAggregator.h.