C++ (Qt)bool managerModel::hasChildren( const QModelIndex & parent ) const{ return rowCount(parent) > 0;}
C++ (Qt)bool managerModel::hasChildren( const QModelIndex & parent ) const{ if(fileInfo(parent).isDir()) { QDirIterator it(filePath(parent)); it.next(); it.next(); return it.hasNext(); } return false;}
C++ (Qt)bool managerModel::hasChildren( const QModelIndex & parent ) const{ QDirIterator it(filePath(parent)); it.next(); it.next(); return it.hasNext();}
C++ (Qt)bool managerModel::hasChildren( const QModelIndex & parent ) const{ return QDir(filePath(parent)).count() > 2;}