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

bool KFileInfo::hasChildren (  ) const [virtual]

Returns true if this entry has any children.

Definition at line 303 of file kfileinfo.cpp.

References dotEntry(), and firstChild().

Referenced by KDirStat::KTreemapTile::createSquarifiedChildren(), KDirStat::KDirTreeViewItem::deferredClone(), KDirStat::KDirTree::deleteSubtree(), KDirStat::KDirTreeViewItem::init(), and KDirStat::KDirTreeViewItem::locate().

{
    return firstChild() || dotEntry();
}

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