PyKDE - Python Bindings for KDE
class KFileTreeBranch
Table of contents
Modules
kfile Classes
All Classes
Module
kfile
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
QString
pix
QPixmap
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
(QString)
newTreeViewItems
(a0, a1)
returns
nothing
Argument
Type
Default
a0
KFileTreeBranch
a1
KFileTreeViewItemList
openPixmap
()
returns
(QPixmap)
pixmap
()
returns
(QPixmap)
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
QString
setOpen
(setopen = 1)
returns
nothing
Argument
Type
Default
setopen
bool
1
setOpenPixmap
(pix)
returns
nothing
Argument
Type
Default
pix
QPixmap
setRoot
(r)
returns
nothing
Argument
Type
Default
r
KFileTreeViewItem
setShowExtensions
(visible = 1)
returns
nothing
Argument
Type
Default
visible
bool
1
showExtensions
()
returns
(bool)