PyKDE - Python Bindings for KDE
class KDirLister
Table of contents
Modules
tdeio Classes
All Classes
Module
tdeio
Class
KDirLister
Inherits
TQObject
enums
WhichItems
= {AllItems, FilteredItems }
methods
KDirLister
(_delayedMimeTypes = 0)
returns
a KDirLister instance
Argument
Type
Default
_delayedMimeTypes
bool
0
autoErrorHandlingEnabled
()
returns
(bool)
autoUpdate
()
returns
(bool)
canceled
()
returns
nothing
canceled
(_url)
returns
nothing
Argument
Type
Default
_url
KURL
clear
()
returns
nothing
clear
(_url)
returns
nothing
Argument
Type
Default
_url
KURL
clearMimeFilter
()
returns
nothing
completed
()
returns
nothing
completed
(_url)
returns
nothing
Argument
Type
Default
_url
KURL
deleteItem
(_fileItem)
returns
nothing
Argument
Type
Default
_fileItem
KFileItem
dirOnlyMode
()
returns
(bool)
directories
()
returns
(KURL.List)
In versions KDE 3.4.0 and above only
doMimeExcludeFilter
(mimeExclude, filters)
returns
(bool)
In versions KDE 3.1.0 and above only
Argument
Type
Default
mimeExclude
TQString
filters
TQStringList
doMimeFilter
(mime, filters)
returns
(bool)
Argument
Type
Default
mime
TQString
filters
TQStringList
doNameFilter
(name, filters)
returns
(bool)
Argument
Type
Default
name
TQString
filters
TQPtrList
emitChanges
()
returns
nothing
find
(_url)
returns
(KFileItem)
Argument
Type
Default
_url
KURL
findByName
(name)
returns
(KFileItem)
Argument
Type
Default
name
TQString
findByURL
(_url)
returns
(KFileItem)
Argument
Type
Default
_url
KURL
handleError
(a0)
returns
nothing
Argument
Type
Default
a0
_TDEIO.Job
infoMessage
(msg)
returns
nothing
Argument
Type
Default
msg
TQString
isFinished
()
returns
(bool)
items
(which = FilteredItems)
returns
(KFileItemList)
In versions KDE 3.1.0 and above only
Argument
Type
Default
which
KDirLister.WhichItems
FilteredItems
itemsFilteredByMime
(items)
returns
nothing
Argument
Type
Default
items
KFileItemList
itemsForDir
(dir, which = FilteredItems)
returns
(KFileItemList)
In versions KDE 3.1.0 and above only
Argument
Type
Default
dir
KURL
which
KDirLister.WhichItems
FilteredItems
mainWindow
()
returns
(TQWidget)
In versions KDE 3.1.0 and above only
matchesFilter
(name)
returns
(bool)
Argument
Type
Default
name
TQString
matchesFilter
(a0)
returns
(bool)
Argument
Type
Default
a0
KFileItem
matchesMimeFilter
(mime)
returns
(bool)
Argument
Type
Default
mime
TQString
matchesMimeFilter
(a0)
returns
(bool)
Argument
Type
Default
a0
KFileItem
mimeFilters
()
returns
(TQStringList)
nameFilter
()
returns
(TQString)
newItems
(items)
returns
nothing
Argument
Type
Default
items
KFileItemList
openURL
(_url, _keep = 0, _reload = 0)
returns
(bool)
Argument
Type
Default
_url
KURL
_keep
bool
0
_reload
bool
0
percent
(percent)
returns
nothing
Argument
Type
Default
percent
int
processedSize
(size)
returns
nothing
Argument
Type
Default
size
_TDEIO.filesize_t
redirection
(_url)
returns
nothing
Argument
Type
Default
_url
KURL
redirection
(oldUrl, newUrl)
returns
nothing
Argument
Type
Default
oldUrl
KURL
newUrl
KURL
refreshItems
(items)
returns
nothing
Argument
Type
Default
items
KFileItemList
rootItem
()
returns
(KFileItem)
setAutoErrorHandlingEnabled
(enable, parent)
returns
nothing
Argument
Type
Default
enable
bool
parent
TQWidget
setAutoUpdate
(enable)
returns
nothing
Argument
Type
Default
enable
bool
setDirOnlyMode
(dirsOnly)
returns
nothing
Argument
Type
Default
dirsOnly
bool
setMainWindow
(window)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
window
TQWidget
setMimeExcludeFilter
(mimeList)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
mimeList
TQStringList
setMimeFilter
(mimeList)
returns
nothing
Argument
Type
Default
mimeList
TQStringList
setNameFilter
(filter)
returns
nothing
Argument
Type
Default
filter
TQString
setShowingDotFiles
(_showDotFiles)
returns
nothing
Argument
Type
Default
_showDotFiles
bool
showingDotFiles
()
returns
(bool)
speed
(bytes_per_second)
returns
nothing
Argument
Type
Default
bytes_per_second
int
started
(_url)
returns
nothing
Argument
Type
Default
_url
KURL
stop
()
returns
nothing
stop
(_url)
returns
nothing
Argument
Type
Default
_url
KURL
totalSize
(size)
returns
nothing
Argument
Type
Default
size
_TDEIO.filesize_t
updateDirectory
(_dir)
returns
nothing
Argument
Type
Default
_dir
KURL
url
()
returns
(KURL)
validURL
(a0)
returns
(bool)
Argument
Type
Default
a0
KURL