# class SpecialJob

###

Module | kio
Namespace | KIO
Class | SpecialJob
Inherits | KIO::TransferJob

A class that sends a special command to an ioslave. This allows you to send a binary blob to an ioslave and handle its responses. The ioslave will receive the binary data as an argument to the "special" function (inherited from SlaveBase.special()).

Use this only on ioslaves that belong to your application. Sending special commands to other ioslaves may cause unexpected behaviour.

See also KIO.special

### methods

- SpecialJob (url, data)

  returns ctor
  KDE 4.1.0 and later only

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |
  data | QByteArray | QByteArray()

  Creates a KIO.SpecialJob.

  url - the URL to be passed to the ioslave

  data - the data to be sent to the SlaveBase.special() function.

- SpecialJob (a0, a1)

  returns ctor
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | KUrl |
  a1 | QByteArray | QByteArray()

- SpecialJob ( )

  returns ctor
  Not implemented
  before KDE 4.1.0 only

- arguments ( )

  returns QByteArray

  Returns the QByteArray data that will be sent (or has been sent) to the ioslave.

- setArguments (data)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  data | QByteArray |

  Sets the QByteArray that is passed to SlaveBase.special() on the ioslave.