KIO::SimpleJob Class Reference
A simple job (one url and one command).
More...
#include <jobclasses.h>
List of all members.
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.
Definition at line 321 of file jobclasses.h.
Constructor & Destructor Documentation
SimpleJob::~SimpleJob |
( |
|
) |
|
SimpleJob::SimpleJob |
( |
SimpleJobPrivate & |
dd |
) |
[protected] |
Creates a new simple job.
You don't need to use this constructor, unless you create a new job that inherits from SimpleJob.
Definition at line 293 of file job.cpp.
Member Function Documentation
bool SimpleJob::doKill |
( |
|
) |
[protected, virtual] |
Abort job.
This kills all subjobs and deletes the job.
Reimplemented from KIO::Job.
Definition at line 314 of file job.cpp.
bool SimpleJob::doResume |
( |
|
) |
[protected, virtual] |
bool SimpleJob::doSuspend |
( |
|
) |
[protected, virtual] |
void SimpleJob::putOnHold |
( |
|
) |
[virtual] |
Abort job.
Suspends slave to be reused by another job for the same request.
Definition at line 344 of file job.cpp.
void SimpleJob::removeOnHold |
( |
|
) |
[static] |
Discard suspended slave.
Definition at line 356 of file job.cpp.
void SimpleJob::slotError |
( |
int |
err, |
|
|
const QString & |
errorText | |
|
) |
| | [slot] |
For internal use only.
Called on a slave's error. Made public for the scheduler.
Definition at line 481 of file job.cpp.
void SimpleJob::slotFinished |
( |
|
) |
[protected, virtual, slot] |
void SimpleJob::slotMetaData |
( |
const KIO::MetaData & |
_metaData |
) |
[protected, virtual, slot] |
void SimpleJob::slotWarning |
( |
const QString & |
errorText |
) |
[protected, virtual, slot] |
For internal use only.
Called on a slave's warning.
Definition at line 492 of file job.cpp.
void SimpleJob::storeSSLSessionFromJob |
( |
const KUrl & |
m_redirectionURL |
) |
[protected] |
const KUrl & SimpleJob::url |
( |
|
) |
const |
Returns the SimpleJob's URL.
- Returns:
- the url
Definition at line 339 of file job.cpp.
The documentation for this class was generated from the following files: