PyKDE - Python Bindings for KDE
class KIO.TransferJob
Table of contents
Modules
kio Classes
All Classes
Module
kio
Class
KIO.TransferJob
Inherits
KIO.SimpleJob
methods
TransferJob
(url, command, packedArgs, _staticData, showProgressInfo)
returns
a TransferJob instance
Argument
Type
Default
url
KURL
command
int
packedArgs
QByteArray
_staticData
QByteArray
showProgressInfo
bool
canResume
(job, offset)
returns
nothing
Argument
Type
Default
job
KIO.Job
offset
KIO.filesize_t
data
(job, data)
returns
nothing
Argument
Type
Default
job
KIO.Job
data
QByteArray
dataReq
(job, data)
returns
nothing
Argument
Type
Default
job
KIO.Job
data
QByteArray
isErrorPage
()
returns
(bool)
isSuspended
()
returns
(bool)
mimetype
(job, type)
returns
nothing
Argument
Type
Default
job
KIO.Job
type
QString
permanentRedirection
(job, fromUrl, toUrl)
returns
nothing
In versions KDE 3.1.0 and above only
Argument
Type
Default
job
KIO.Job
fromUrl
KURL
toUrl
KURL
redirection
(job, url)
returns
nothing
Argument
Type
Default
job
KIO.Job
url
KURL
reportDataSent
()
returns
(bool)
In versions KDE 3.2.0 and above only
resume
()
returns
nothing
sendAsyncData
(data)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
data
QByteArray
setAsyncDataEnabled
(enabled)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
enabled
bool
setReportDataSent
(enabled)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
enabled
bool
slotCanResume
(offset)
returns
nothing
Argument
Type
Default
offset
KIO.filesize_t
slotData
(data)
returns
nothing
Argument
Type
Default
data
QByteArray
slotDataReq
()
returns
nothing
slotErrorPage
()
returns
nothing
slotFinished
()
returns
nothing
slotMetaData
(_metaData)
returns
nothing
In versions KDE 3.2.0 and above only
Argument
Type
Default
_metaData
KIO.MetaData
slotMimetype
(mimetype)
returns
nothing
Argument
Type
Default
mimetype
QString
slotNeedSubURLData
()
returns
nothing
slotPostRedirection
()
returns
nothing
In versions KDE 3.2.0 and above only
slotRedirection
(url)
returns
nothing
Argument
Type
Default
url
KURL
slotResult
(job)
returns
nothing
Argument
Type
Default
job
KIO.Job
slotSubURLData
(a0, a1)
returns
nothing
Argument
Type
Default
a0
KIO.Job
a1
QByteArray
start
(slave)
returns
nothing
Argument
Type
Default
slave
KIO.Slave
suspend
()
returns
nothing