SimpleJob Class Reference
from PyKDE4.kio import *
Inherits: KIO.Job → KCompositeJob → KJob → QObject
Subclasses: KIO.FileJob, KIO.ListJob, KIO.StatJob, KIO.TransferJob
Namespace: KIO
Detailed Description
A simple job (one url and one command).
This is the base class for all jobs that are scheduled.
Other jobs are high-level jobs (CopyJob, DeleteJob, FileCopyJob...)
that manage subjobs but aren't scheduled directly.
Method Documentation
__init__ |
( |
self, |
|
|
|
SimpleJobPrivate |
dd |
|
) |
|
|
|
Creates a new simple job. You don't need to use this constructor,
unless you create a new job that inherits from SimpleJob.
Abort job.
This kills all subjobs and deletes the job.
Resume this job
- See also:
- suspend
Suspend this job
- See also:
- resume
Abort job.
Suspends slave to be reused by another job for the same request.
slotError |
( |
self, |
|
|
|
int |
a0, |
|
|
QString |
a1 |
|
) |
|
|
|
- Internal:
-
Called on a slave's error.
Made public for the scheduler.
Called when the slave marks the job
as finished.
MetaData from the slave is received.
- Parameters:
-
- See also:
- metaData()
- Internal:
-
Called on a slave's warning.
storeSSLSessionFromJob |
( |
self, |
|
|
|
KUrl |
m_redirectionURL |
|
) |
|
|
|
Returns the SimpleJob's URL
- Returns:
- the url