Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QModelIndex QModelIndex::child ( int  row,
int  column 
) const [inline]

Returns the child of the model index that is stored in the given row and column.

See also:
parent() sibling()

Definition at line 362 of file qabstractitemmodel.h.

References QAbstractItemModel::index(), and QModelIndex().

Referenced by QPersistentModelIndex::child().

{ return m ? m->index(arow, acolumn, *this) : QModelIndex(); }


Generated by  Doxygen 1.6.0   Back to index