class SimpleJob

A simple job (one url and one command) This is the base class for all jobs that are scheduled. More...

Full nameKIO::SimpleJob
Definition#include <jobclasses.h>
InheritsKIO::Job
Inherited byListJob, MimetypeJob, StatJob, TransferJob
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Public Static Methods

Protected Slots

Protected 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.

 SimpleJob (const KURL& url, int command, const QByteArray &packedArgs, bool showProgressInfo)

SimpleJob ()

const KURL&  url ()

[const]

void  kill ( bool quietly = true )

[virtual]

Abort job This kills all subjobs and deletes the job

Parameters:
quietlyif 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 Job.

void  putOnHold ()

[virtual]

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

void  removeOnHold ()

[static]

Discard suspended slave

void  start ( Slave *slave )

[virtual]

Called by the scheduler when a slave gets to work on this job.

void  slaveDone ()

Called to detach a slave from a job.

Slave * slave ()

Slave in use by this job

void  slotFinished ( )

[protected virtual slot]

Called when the slave marks the job as finished.

void  slotWarning ( const QString & )

[protected slot]

Called on a slave's warning

void  slotInfoMessage ( const QString & )

[protected slot]

Called on a slave's info message

Reimplemented from Job.

void  slotTotalSize ( unsigned long data_size )

[protected slot]

Forward signal from the slave

void  slotProcessedSize ( unsigned long data_size )

[protected slot]

Forward signal from the slave

void  slotSpeed ( unsigned long bytes_per_second )

[protected slot]

Forward signal from the slave

Reimplemented from Job.

void  slotError ( int , const QString & )

[virtual slot]

Called on a slave's error Made public for the scheduler

Slave * m_slave

[protected]

QByteArray m_packedArgs

[protected]

KURL m_url

[protected]

KURL m_subUrl

[protected]

int m_command

[protected]

unsigned long m_totalSize

[protected]


Generated by: prospector@porky.devel.redhat.com on Thu Aug 24 05:36:06 2000, using kdoc 2.0a36.