Get this item's position within the parent node
Definition at line 672 of file contactlistmodelitem.cpp. Referenced by ContactList::forwardDataChanged(), ContactList::parent(), and ContactList::slotContactMoved(). { if( itemType_ == ItemRoot || ! parentNode_ || parentNode_->childItems_.isEmpty() ) { kmWarning() << "Called row() on a root item or an item with invalid parent! Item:" << this; return 0; } return parentNode_->childItems_.indexOf( const_cast<ContactListModelItem*>( this ) ); }
Here is the caller graph for this function:
![]() |