Logo Search packages:      
Sourcecode: kmess version File versions  Download package

ContactListModelItem * ContactListModelItem::child ( int  row )

Return the row-th child of this item

Parameters:
rowRequested row
Returns:
Item at the requested position, or a null pointer

Definition at line 131 of file contactlistmodelitem.cpp.

Referenced by ContactList::dump(), ContactList::index(), and ContactList::reset().

{
  if( row < 0 || row >= childItems_.count() )
  {
    return 0;
  }

  return childItems_.at( row );
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index