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

void KDirTreeViewItem::setOpen ( bool  open ) [virtual]

Perform any necessary pending updates when a branch is opened. Reimplemented from QListViewItem.

Definition at line 1532 of file kdirtreeview.cpp.

References deferredClone(), KDirStat::KDirTreeView::doLazyClone(), openNotify(), setIcon(), and updateSummary().

Referenced by closeAllExceptThis(), closeSubtree(), init(), openSubtree(), and KDirStat::KDirTreeView::selectItem().

{
    if ( open && _view->doLazyClone() )
    {
      // kdDebug() << "Opening " << this << endl;
      deferredClone();
    }

    if ( isOpen() != open )
    {
      openNotify( open );
    }

    Q3ListViewItem::setOpen( open );
    setIcon();

    if ( open )
      updateSummary();

    // kdDebug() << _openCount << " open in " << this << endl;

    // _view->logActivity( 1 );
}

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