KIO::SimpleJob Class Reference
#include <jobclasses.h>
Inheritance diagram for KIO::SimpleJob:

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 516 of file jobclasses.h.
Public Slots | |
void | slotTotalSize (KIO::filesize_t data_size) |
virtual void | slotError (int, const QString &) |
Public Member Functions | |
SimpleJob (const KURL &url, int command, const QByteArray &packedArgs, bool showProgressInfo) | |
~SimpleJob () | |
const KURL & | url () const |
virtual void | kill (bool quietly=true) |
virtual void | putOnHold () |
virtual void | start (Slave *slave) |
void | slaveDone () |
Slave * | slave () const |
int | command () const |
Static Public Member Functions | |
static void | removeOnHold () |
Protected Slots | |
virtual void | slotFinished () |
void | slotWarning (const QString &) |
void | slotInfoMessage (const QString &s) |
void | slotConnected () |
void | slotProcessedSize (KIO::filesize_t data_size) |
void | slotSpeed (unsigned long speed) |
virtual void | slotMetaData (const KIO::MetaData &_metaData) |
void | slotNeedProgressId () |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
void | storeSSLSessionFromJob (const KURL &m_redirectionURL) |
Protected Attributes | |
Slave * | m_slave |
QByteArray | m_packedArgs |
KURL | m_url |
KURL | m_subUrl |
int | m_command |
KIO::filesize_t | m_totalSize |
Constructor & Destructor Documentation
|
Creates a new simple job. You don't need to use this constructor, unless you create a new job that inherits from SimpleJob.
|
Member Function Documentation
|
Abort job. This kills all subjobs and deletes the job.
Reimplemented from KIO::Job. |
|
Abort job. Suspends slave to be reused by another job for the same request. |
|
Discard suspended slave.
|
|
Called on a slave's connected signal.
|
|
Called when the slave marks the job as finished.
Reimplemented in KIO::DavJob, KIO::StatJob, KIO::MkdirJob, KIO::TransferJob, KIO::MultiGetJob, KIO::MimetypeJob, and KIO::ListJob. |
|
Called on a slave's info message.
|
|
MetaData from the slave is received.
Reimplemented in KIO::StatJob, KIO::TransferJob, and KIO::ListJob. |
|
Forward signal from the slave.
|
|
Forward signal from the slave.
|
|
Forward signal from the slave Can also be called by the parent job, when it knows the size.
|
|
Returns the SimpleJob's URL.
Definition at line 537 of file jobclasses.h. |
The documentation for this class was generated from the following files: