Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KIO::SimpleJob Class Reference

#include <jobclasses.h>

Inheritance diagram for KIO::SimpleJob:

KIO::Job KIO::TransferJob KIO::DavJob List of all members.

Public Slots

void slotTotalSize (KIO::filesize_t data_size)

Public Methods

virtual void kill (bool quietly=true)
virtual void putOnHold ()

Static Public Methods

void removeOnHold ()

Protected Slots

virtual void slotFinished ()
void slotInfoMessage (const QString &)
void slotConnected ()
void slotProcessedSize (KIO::filesize_t data_size)
void slotSpeed (unsigned long bytes_per_second)
virtual void slotMetaData (const KIO::MetaData &_metaData)

Protected Methods

virtual void virtual_hook (int id, void *data)

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 364 of file jobclasses.h.


Member Function Documentation

virtual void KIO::SimpleJob::kill bool    quietly = true [virtual]
 

Abort job. This kills all subjobs and deletes the job.

Parameters:
quietly  if true, Job will emit signal result Should only be set to false when the user kills the job (from kio_uiserver), not when you want to abort a job.

Reimplemented from KIO::Job.

virtual void KIO::SimpleJob::putOnHold   [virtual]
 

Abort job. Suspends slave to be reused by another job for the same request.

void KIO::SimpleJob::removeOnHold   [static]
 

Discard suspended slave.

void KIO::SimpleJob::slotConnected   [protected, slot]
 

Called on a slave's connected signal.

virtual void KIO::SimpleJob::slotFinished   [protected, virtual, slot]
 

Called when the slave marks the job as finished.

Reimplemented in KIO::DavJob, and KIO::TransferJob.

void KIO::SimpleJob::slotInfoMessage const QString &    [protected, slot]
 

Called on a slave's info message.

virtual void KIO::SimpleJob::slotMetaData const KIO::MetaData &    _metaData [protected, virtual, slot]
 

MetaData from the slave is received.

void KIO::SimpleJob::slotProcessedSize KIO::filesize_t    data_size [protected, slot]
 

Forward signal from the slave

void KIO::SimpleJob::slotSpeed unsigned long    bytes_per_second [protected, slot]
 

Forward signal from the slave

void KIO::SimpleJob::slotTotalSize KIO::filesize_t    data_size [slot]
 

Forward signal from the slave Can also be called by the parent job, when it knows the size


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:33 2003 for kdelibs by doxygen1.2.18