PyKDE - Python Bindings for KDE
class KIO.Job
Table of contents
Modules
kio Classes
All Classes
Module
kio
Class
KIO.Job
Inherits
QObject
methods
Job
(showProgressInfo)
returns
a Job instance
Argument
Type
Default
showProgressInfo
bool
addMetaData
(key, value)
returns
nothing
Argument
Type
Default
key
QString
value
QString
addMetaData
(values)
returns
nothing
Argument
Type
Default
values
QMap
addSubjob
(job, inheritMetaData = 1)
returns
nothing
Argument
Type
Default
job
KIO.Job
inheritMetaData
bool
1
canceled
(job)
returns
nothing
Argument
Type
Default
job
KIO.Job
connected
(job)
returns
nothing
Argument
Type
Default
job
KIO.Job
detailedErrorStrings
(reqUrl = 0, method = -1)
returns
(QStringList)
Argument
Type
Default
reqUrl
KURL
0
method
int
-1
emitPercent
(processedSize, totalSize)
returns
nothing
Argument
Type
Default
processedSize
KIO.filesize_t
totalSize
KIO.filesize_t
emitResult
()
returns
nothing
emitSpeed
(speed)
returns
nothing
Argument
Type
Default
speed
ulong
error
()
returns
(int)
errorString
()
returns
(QString)
errorText
()
returns
(QString)
extraFlags
()
Not Implemented
extraFlags
()
returns
(int),
In versions KDE 3.2.0 and above, but
less than
KDE 3.2.2
getProcessedSize
()
returns
(KIO.filesize_t)
In versions KDE 3.2.0 and above only
infoMessage
(job, msg)
returns
nothing
Argument
Type
Default
job
KIO.Job
msg
QString
isAutoErrorHandlingEnabled
()
returns
(bool)
isAutoWarningHandlingEnabled
()
returns
(bool)
In versions KDE 3.5.0 and above only
isInteractive
()
returns
(bool)
In versions KDE 3.4.3 and above only
kill
(quietly = 1)
returns
nothing
Argument
Type
Default
quietly
bool
1
mergeMetaData
(values)
returns
nothing
Argument
Type
Default
values
QMap
metaData
()
returns
(KIO.MetaData)
outgoingMetaData
()
returns
(KIO.MetaData)
parentJob
()
returns
(KIO.Job)
In versions KDE 3.1.0 and above only
percent
(job, percent)
returns
nothing
Argument
Type
Default
job
KIO.Job
percent
ulong
processedSize
(job, size)
returns
nothing
Argument
Type
Default
job
KIO.Job
size
KIO.filesize_t
progressId
()
returns
(int)
queryMetaData
(key)
returns
(QString)
Argument
Type
Default
key
QString
removeSubjob
(job)
returns
nothing
Argument
Type
Default
job
KIO.Job
removeSubjob
(job, mergeMetaData, emitResultIfLast)
returns
nothing
In versions KDE 3.4.0 and above only
Argument
Type
Default
job
KIO.Job
mergeMetaData
bool
emitResultIfLast
bool
result
(job)
returns
nothing
Argument
Type
Default
job
KIO.Job
setAutoErrorHandlingEnabled
(enable, parentWidget = 0)
returns
nothing
Argument
Type
Default
enable
bool
parentWidget
QWidget
0
setAutoWarningHandlingEnabled
(enable)
returns
nothing
In versions KDE 3.5.0 and above only
Argument
Type
Default
enable
bool
setInteractive
(enable)
returns
nothing
In versions KDE 3.4.3 and above only
Argument
Type
Default
enable
bool
setMetaData
(metaData)
returns
nothing
Argument
Type
Default
metaData
KIO.MetaData
setParentJob
(parentJob)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
parentJob
KIO.Job
setProcessedSize
(size)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
size
KIO.filesize_t
setWindow
(window)
returns
nothing
Argument
Type
Default
window
QWidget
showErrorDialog
(parent = 0)
returns
nothing
Argument
Type
Default
parent
QWidget
0
slotInfoMessage
(job, msg)
returns
nothing
Argument
Type
Default
job
KIO.Job
msg
QString
slotResult
(job)
returns
nothing
Argument
Type
Default
job
KIO.Job
slotSpeed
(job, speed)
returns
nothing
Argument
Type
Default
job
KIO.Job
speed
ulong
slotSpeedTimeout
()
returns
nothing
speed
(job, speed)
returns
nothing
Argument
Type
Default
job
KIO.Job
speed
ulong
totalSize
(job, size)
returns
nothing
Argument
Type
Default
job
KIO.Job
size
KIO.filesize_t
warning
(job, msg)
returns
nothing
In versions KDE 3.5.0 and above only
Argument
Type
Default
job
KIO.Job
msg
QString
window
()
returns
(QWidget)