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

ContactListModelItem::~ContactListModelItem (  ) 

Destructor

Since the objects associated to the items are directly managed by ContactList, their deletion is performed by the Contact List itself.

Definition at line 80 of file contactlistmodelitem.cpp.

References removeChild().

{
  qDeleteAll( childItems_ );
  childItems_.clear();

  // Delete this item from the parent's children
  if( parentNode_ )
  {
    parentNode_->removeChild( this );
  }
}


Generated by  Doxygen 1.6.0   Back to index