PyKDE - Python Bindings for KDE
class KFileTreeView
Table of contents
Modules
kfile Classes
All Classes
Module
kfile
Class
KFileTreeView
Inherits
KListView
methods
KFileTreeView
(parent, name = 0)
returns
a KFileTreeView instance
Argument
Type
Default
parent
TQWidget
name
char
0
acceptDrag
(event)
returns
(bool)
Argument
Type
Default
event
TQDropEvent
addBranch
(path, name, showHidden = 0)
returns
(KFileTreeBranch)
Argument
Type
Default
path
KURL
name
TQString
showHidden
bool
0
addBranch
(path, name, pix, showHidden = 0)
returns
(KFileTreeBranch)
Argument
Type
Default
path
KURL
name
TQString
pix
TQPixmap
showHidden
bool
0
addBranch
(a0)
returns
(KFileTreeBranch)
Argument
Type
Default
a0
KFileTreeBranch
branch
(searchName)
returns
(KFileTreeBranch)
Argument
Type
Default
searchName
TQString
branches
()
returns
(KFileTreeBranchList)
contentsDragEnterEvent
(e)
returns
nothing
Argument
Type
Default
e
TQDragEnterEvent
contentsDragLeaveEvent
(e)
returns
nothing
Argument
Type
Default
e
TQDragLeaveEvent
contentsDragMoveEvent
(e)
returns
nothing
Argument
Type
Default
e
TQDragMoveEvent
contentsDropEvent
(ev)
returns
nothing
Argument
Type
Default
ev
TQDropEvent
currentKFileTreeViewItem
()
returns
(KFileTreeViewItem)
currentURL
()
returns
(KURL)
dragObject
()
returns
(TQDragObject)
dropped
(a0, a1)
returns
nothing
Argument
Type
Default
a0
TQWidget
a1
TQDropEvent
dropped
(a0, a1, a2)
returns
nothing
Argument
Type
Default
a0
TQWidget
a1
TQDropEvent
a2
KURL.List
dropped
(a0, a1)
returns
nothing
Argument
Type
Default
a0
KURL.List
a1
KURL
dropped
(a0, a1, a2, a3)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
a0
TQWidget
a1
TQDropEvent
a2
KURL.List
a3
KURL
dropped
(a0, a1)
returns
nothing
Argument
Type
Default
a0
TQDropEvent
a1
TQListViewItem
dropped
(a0, a1, a2)
returns
nothing
Argument
Type
Default
a0
KFileTreeView
a1
TQDropEvent
a2
TQListViewItem
dropped
(a0, a1, a2)
returns
nothing
Argument
Type
Default
a0
TQDropEvent
a1
TQListViewItem
a2
TQListViewItem
dropped
(a0, a1, a2, a3)
returns
nothing
Argument
Type
Default
a0
KFileTreeView
a1
TQDropEvent
a2
TQListViewItem
a3
TQListViewItem
findItem
(brnch, relUrl)
returns
(KFileTreeViewItem)
Argument
Type
Default
brnch
KFileTreeBranch
relUrl
TQString
findItem
(branchName, relUrl)
returns
(KFileTreeViewItem)
Argument
Type
Default
branchName
TQString
relUrl
TQString
itemIcon
(a0, gap = 0)
returns
(TQPixmap)
Argument
Type
Default
a0
KFileTreeViewItem
gap
int
0
onItem
(a0)
returns
nothing
Argument
Type
Default
a0
TQString
removeBranch
(branch)
returns
(bool)
Argument
Type
Default
branch
KFileTreeBranch
setDirOnlyMode
(branch, a0)
returns
nothing
Argument
Type
Default
branch
KFileTreeBranch
a0
bool
setShowFolderOpenPixmap
(showIt = 1)
returns
nothing
Argument
Type
Default
showIt
bool
1
showFolderOpenPixmap
()
returns
(bool)
slotNewTreeViewItems
(a0, a1)
returns
nothing
Argument
Type
Default
a0
KFileTreeBranch
a1
KFileTreeViewItemList
slotOnItem
(a0)
returns
nothing
Argument
Type
Default
a0
TQListViewItem
slotSetNextUrlToSelect
(url)
returns
nothing
Argument
Type
Default
url
KURL
startAnimation
(item, iconBaseName = "kde", iconCount = 6)
returns
nothing
Argument
Type
Default
item
KFileTreeViewItem
iconBaseName
char
"kde"
iconCount
uint
6
stopAnimation
(item)
returns
nothing
Argument
Type
Default
item
KFileTreeViewItem