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
QWidget
name
char
0
acceptDrag
(event)
returns
(bool)
Argument
Type
Default
event
QDropEvent
addBranch
(path, name, showHidden = 0)
returns
(KFileTreeBranch)
Argument
Type
Default
path
KURL
name
QString
showHidden
bool
0
addBranch
(path, name, pix, showHidden = 0)
returns
(KFileTreeBranch)
Argument
Type
Default
path
KURL
name
QString
pix
QPixmap
showHidden
bool
0
addBranch
(a0)
returns
(KFileTreeBranch)
Argument
Type
Default
a0
KFileTreeBranch
branch
(searchName)
returns
(KFileTreeBranch)
Argument
Type
Default
searchName
QString
branches
()
returns
(KFileTreeBranchList)
contentsDragEnterEvent
(e)
returns
nothing
Argument
Type
Default
e
QDragEnterEvent
contentsDragLeaveEvent
(e)
returns
nothing
Argument
Type
Default
e
QDragLeaveEvent
contentsDragMoveEvent
(e)
returns
nothing
Argument
Type
Default
e
QDragMoveEvent
contentsDropEvent
(ev)
returns
nothing
Argument
Type
Default
ev
QDropEvent
currentKFileTreeViewItem
()
returns
(KFileTreeViewItem)
currentURL
()
returns
(KURL)
dragObject
()
returns
(QDragObject)
dropped
(a0, a1)
returns
nothing
Argument
Type
Default
a0
QWidget
a1
QDropEvent
dropped
(a0, a1, a2)
returns
nothing
Argument
Type
Default
a0
QWidget
a1
QDropEvent
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
QWidget
a1
QDropEvent
a2
KURL.List
a3
KURL
dropped
(a0, a1)
returns
nothing
Argument
Type
Default
a0
QDropEvent
a1
QListViewItem
dropped
(a0, a1, a2)
returns
nothing
Argument
Type
Default
a0
KFileTreeView
a1
QDropEvent
a2
QListViewItem
dropped
(a0, a1, a2)
returns
nothing
Argument
Type
Default
a0
QDropEvent
a1
QListViewItem
a2
QListViewItem
dropped
(a0, a1, a2, a3)
returns
nothing
Argument
Type
Default
a0
KFileTreeView
a1
QDropEvent
a2
QListViewItem
a3
QListViewItem
findItem
(brnch, relUrl)
returns
(KFileTreeViewItem)
Argument
Type
Default
brnch
KFileTreeBranch
relUrl
QString
findItem
(branchName, relUrl)
returns
(KFileTreeViewItem)
Argument
Type
Default
branchName
QString
relUrl
QString
itemIcon
(a0, gap = 0)
returns
(QPixmap)
Argument
Type
Default
a0
KFileTreeViewItem
gap
int
0
onItem
(a0)
returns
nothing
Argument
Type
Default
a0
QString
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
QListViewItem
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