KIO
KIO::SpecialJob Class Reference
A class that sends a special command to an ioslave. More...
#include <jobclasses.h>
Inheritance diagram for KIO::SpecialJob:

Public Member Functions | |
QByteArray | arguments () const |
void | setArguments (const QByteArray &data) |
SpecialJob (const KUrl &url, const QByteArray &data=QByteArray()) | |
~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 970 of file jobclasses.h.
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 |
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: