#### PyKDE - Python Bindings for KDE

# class KFileTreeBranch |
Table of contents
Modules
tdefile Classes
All Classes

Module | tdefile
Class | KFileTreeBranch
Inherits | KDirLister

### methods

- KFileTreeBranch (a0, url, name, pix, showHidden = 0, branchRoot = 0)

  returns a KFileTreeBranch instance
  Argument | Type | Default
  --- | --- | ---
  a0 | KFileTreeView |
  url | KURL |
  name | TQString |
  pix | TQPixmap |
  showHidden | bool | 0
  branchRoot | KFileTreeViewItem | 0

- childRecurse ()

  returns (bool)

- createTreeViewItem (parent, fileItem)

  returns (KFileTreeViewItem)
  Argument | Type | Default
  --- | --- | ---
  parent | KFileTreeViewItem |
  fileItem | KFileItem |

- directoryChildCount (item, count)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  item | KFileTreeViewItem |
  count | int |

- findTVIByURL (a0)

  returns (KFileTreeViewItem)
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | KURL |

- findTVIByURL (a0)

  returns (KFileTreeViewItem)
  In versions less than KDE 3.1.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | KURL |

- name ()

  returns (TQString)

- newTreeViewItems (a0, a1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | KFileTreeBranch |
  a1 | KFileTreeViewItemList |

- openPixmap ()

  returns (TQPixmap)

- pixmap ()

  returns (TQPixmap)

- populate (url, currItem)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  url | KURL |
  currItem | KFileTreeViewItem |

- populateFinished (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | KFileTreeViewItem |

- root ()

  returns (KFileTreeViewItem)

- rootUrl ()

  returns (KURL)

- setChildRecurse (t = 1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  t | bool | 1

- setName (n)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  n | TQString |

- setOpen (setopen = 1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  setopen | bool | 1

- setOpenPixmap (pix)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  pix | TQPixmap |

- setRoot (r)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  r | KFileTreeViewItem |

- setShowExtensions (visible = 1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  visible | bool | 1

- showExtensions ()

  returns (bool)