Logo Search packages:      
Sourcecode: unity-2d version File versions  Download package

Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | Private Slots | Private Member Functions | Friends

ListAggregatorModel Class Reference

Inheritance diagram for ListAggregatorModel:
Inheritance graph

List of all members.

Public Slots

void move (int from, int to)

Public Member Functions

Q_INVOKABLE void appendModel (const QVariant &model)
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
Q_INVOKABLE QVariant get (int row) const
 ListAggregatorModel (QObject *parent=0)
virtual Q_INVOKABLE bool removeRows (int row, int count, const QModelIndex &parent=QModelIndex())
Q_INVOKABLE int rowCount (const QModelIndex &parent=QModelIndex()) const

Protected Member Functions

void aggregateListModel (QAbstractItemModel *model)
void removeListModel (QAbstractItemModel *model)

Protected Attributes

QList< QAbstractItemModel * > m_models

Private Slots

void onRowsInserted (const QModelIndex &parent, int first, int last)
void onRowsMoved (const QModelIndex &, int, int, const QModelIndex &, int)
void onRowsRemoved (const QModelIndex &parent, int first, int last)

Private Member Functions

int computeOffset (QAbstractItemModel *model) const
QAbstractItemModel * modelAtIndex (int index) const


class ListAggregatorModelTest

Detailed Description

Definition at line 36 of file listaggregatormodel.h.

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

Generated by  Doxygen 1.6.0   Back to index