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 374 of file qabstractitemmodel.h.

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

Referenced by QPersistentModelIndex::child().

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

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index