KIO
KIO::SpecialJob Class Reference
#include <jobclasses.h>
Inheritance diagram for KIO::SpecialJob:

Detailed Description
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
Definition at line 948 of file jobclasses.h.
Public Member Functions | |
QByteArray | arguments () const |
void | setArguments (const QByteArray &data) |
SpecialJob (const KUrl &url, const QByteArray &data=QByteArray()) | |
~SpecialJob () |
Constructor & Destructor Documentation
SpecialJob::SpecialJob | ( | const KUrl & | url, | |
const QByteArray & | data = QByteArray() | |||
) | [explicit] |
Creates a KIO::SpecialJob.
- Parameters:
-
url the URL to be passed to the ioslave data the data to be sent to the SlaveBase::special() function.
Member Function Documentation
QByteArray SpecialJob::arguments | ( | ) | const |
Returns the QByteArray data that will be sent (or has been sent) to the ioslave.
void SpecialJob::setArguments | ( | const QByteArray & | data | ) |
Sets the QByteArray that is passed to SlaveBase::special() on the ioslave.
The documentation for this class was generated from the following files: