# class SlaveInterface

###

Module | kio
Namespace | KIO
Class | SlaveInterface
Inherits | QObject

There are two classes that specifies the protocol between application ( KIO.Job) and kioslave. SlaveInterface is the class to use on the application end, SlaveBase is the one to use on the slave end.

A call to foo() results in a call to slotFoo() on the other end.

### methods

- SlaveInterface (dd, parent)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  dd | SlaveInterfacePrivate |
  parent | QObject | 0

- SlaveInterface ( )

  returns ctor
  Not implemented
  before KDE 4.1.0 only

- calcSpeed ( )

  returns Nothing

- canResume (a0)

  returns Nothing
  SIGNAL ("canResume (filesize_t)")

  Argument | Type | Default
  --- | --- | ---
  a0 | KIO.filesize_t |

- connected ( )

  returns Nothing
  SIGNAL ("connected ()")

- connection ( )

  returns KIO.Connection

- data (a0)

  returns Nothing
  SIGNAL ("data (const QByteArray&)")

  Argument | Type | Default
  --- | --- | ---
  a0 | QByteArray |

- dataReq ( )

  returns Nothing
  SIGNAL ("dataReq ()")

- dispatch ( )

  returns bool

- dispatch (_cmd, data)

  returns bool

  Argument | Type | Default
  --- | --- | ---
  _cmd | int |
  data | QByteArray |

- dropNetwork (a0, a1)

  returns Nothing

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

- error (a0, a1)

  returns Nothing
  SIGNAL ("error (int, const QString&)")

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

- errorPage ( )

  returns Nothing
  SIGNAL ("errorPage ()")

- finished ( )

  returns Nothing
  SIGNAL ("finished ()")

- infoMessage (a0)

  returns Nothing
  SIGNAL ("infoMessage (const QString&)")

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

- listEntries (a0)

  returns Nothing
  SIGNAL ("listEntries (const UDSEntryList&)")

  Argument | Type | Default
  --- | --- | ---
  a0 | KIO.UDSEntryList |

- messageBox (type, text, caption, buttonYes, buttonNo)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  type | int |
  text | QString |
  caption | QString |
  buttonYes | QString |
  buttonNo | QString |

- messageBox (type, text, caption, buttonYes, buttonNo, dontAskAgainName)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  type | int |
  text | QString |
  caption | QString |
  buttonYes | QString |
  buttonNo | QString |
  dontAskAgainName | QString |

- metaData (a0)

  returns Nothing
  SIGNAL ("metaData (const MetaData&)")

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

- mimeType (a0)

  returns Nothing
  SIGNAL ("mimeType (const QString&)")

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

- needSubUrlData ( )

  returns Nothing
  SIGNAL ("needSubUrlData ()")

- offset ( )

  returns KIO.filesize_t

- open ( )

  returns Nothing
  SIGNAL ("open ()")

- position (a0)

  returns Nothing
  SIGNAL ("position (filesize_t)")

  Argument | Type | Default
  --- | --- | ---
  a0 | KIO.filesize_t |

- processedSize (a0)

  returns Nothing
  SIGNAL ("processedSize (filesize_t)")

  Argument | Type | Default
  --- | --- | ---
  a0 | KIO.filesize_t |

- redirection (a0)

  returns Nothing
  SIGNAL ("redirection (const KUrl&)")

  Argument | Type | Default
  --- | --- | ---
  a0 | KUrl |

- requestNetwork (a0, a1)

  returns Nothing

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

- sendResumeAnswer (resume)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  resume | bool |

- setConnection (connection)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  connection | KIO.Connection |

- setOffset (offset)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  offset | KIO.filesize_t |

- slaveStatus (a0, a1, a2, a3)

  returns Nothing
  SIGNAL ("slaveStatus (pid_t, const QByteArray&, const QString&, bool)")

  Argument | Type | Default
  --- | --- | ---
  a0 | pid_t |
  a1 | QByteArray |
  a2 | QString |
  a3 | bool |

- speed (a0)

  returns Nothing
  SIGNAL ("speed (unsigned long)")

  Argument | Type | Default
  --- | --- | ---
  a0 | unsigned long |

- statEntry (a0)

  returns Nothing
  SIGNAL ("statEntry (const UDSEntry&)")

  Argument | Type | Default
  --- | --- | ---
  a0 | KIO.UDSEntry |

- totalSize (a0)

  returns Nothing
  SIGNAL ("totalSize (filesize_t)")

  Argument | Type | Default
  --- | --- | ---
  a0 | KIO.filesize_t |

- warning (a0)

  returns Nothing
  SIGNAL ("warning (const QString&)")

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

- written (a0)

  returns Nothing
  SIGNAL ("written (filesize_t)")

  Argument | Type | Default
  --- | --- | ---
  a0 | KIO.filesize_t |