# class ListJob

###

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

A ListJob is allows you to get the get the content of a directory. Don't create the job directly, but use KIO.listRecursive() or KIO.listDir() instead.

See also KIO.listRecursive()

See also KIO.listDir()

### methods

- ListJob (dd)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  dd | ListJobPrivate |

- ListJob ( )

  returns ctor
  Not implemented
  before KDE 4.1.0 only

- entries (job, list)

  returns Nothing
  SIGNAL ("entries (Job*, const UDSEntryList&)")

  Argument | Type | Default
  --- | --- | ---
  job | KIO.Job |
  list | KIO.UDSEntryList |

  This signal emits the entry found by the job while listing. The progress signals aren't specific to ListJob. It simply uses SimpleJob's processedSize (number of entries listed) and totalSize (total number of entries, if known), as well as percent.

  job - the job that emitted this signal

  list - the list of UDSEntries

- permanentRedirection (job, fromUrl, toUrl)

  returns Nothing
  SIGNAL ("permanentRedirection (Job*, const KUrl&, const KUrl&)")

  Argument | Type | Default
  --- | --- | ---
  job | KIO.Job |
  fromUrl | KUrl |
  toUrl | KUrl |

  Signals a permanent redirection. The redirection itself is handled internally.

  job - the job that emitted this signal

  fromUrl - the original URL

  toUrl - the new URL

- redirection (job, url)

  returns Nothing
  SIGNAL ("redirection (Job*, const KUrl&)")

  Argument | Type | Default
  --- | --- | ---
  job | KIO.Job |
  url | KUrl |

  Signals a redirection. Use to update the URL shown to the user. The redirection itself is handled internally.

  job - the job that is redirected

  url - the new url

- redirectionUrl ( )

  returns KUrl

  Returns the ListJob's redirection URL. This will be invalid if there was no redirection. Returns the redirection url

- setUnrestricted (unrestricted)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  unrestricted | bool |

  Do not apply any KIOSK restrictions to this job.

- slotFinished ( )

  returns Nothing

- slotMetaData (_metaData)

  returns Nothing

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

- slotResult (job)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  job | KJob |