# class SimpleJob

###

Module | kio
Namespace | KIO
Class | SimpleJob
Inherits | KIO::Job

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.

### methods

- SimpleJob (dd)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  dd | SimpleJobPrivate |

  Creates a new simple job. You don't need to use this constructor, unless you create a new job that inherits from SimpleJob.

- SimpleJob ( )

  returns ctor
  Not implemented
  before KDE 4.1.0 only

- doKill ( )

  returns bool

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

- doResume ( )

  returns bool

  Resume this job

  See also suspend

- doSuspend ( )

  returns bool

  Suspend this job

  See also resume

- putOnHold ( )

  returns Nothing

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

- removeOnHold ( )

  returns Nothing
  static

  Discard suspended slave.

- slotError (a0, a1)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | int |
  a1 | QString |

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

- slotFinished ( )

  returns Nothing

  Called when the slave marks the job as finished.

- slotMetaData (_metaData)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  _metaData | KIO.MetaData |

  MetaData from the slave is received.

  _metaData - the meta data

  See also metaData()

- slotWarning (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

  Internal Called on a slave's warning.

- storeSSLSessionFromJob (m_redirectionURL)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  m_redirectionURL | KUrl |

- url ( )

  returns KUrl

  Returns the SimpleJob's URL Returns the url