KIO
KIO::SlaveInterface Class Reference
#include <slaveinterface.h>

Detailed Description
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.
Definition at line 96 of file slaveinterface.h.
Signals | |
void | canResume (KIO::filesize_t) |
void | connected () |
void | data (const QByteArray &) |
void | dataReq () |
void | error (int, const QString &) |
void | errorPage () |
void | finished () |
void | infoMessage (const QString &) |
void | listEntries (const KIO::UDSEntryList &) |
void | metaData (const KIO::MetaData &) |
void | mimeType (const QString &) |
void | needSubUrlData () |
void | open () |
void | position (KIO::filesize_t) |
void | processedSize (KIO::filesize_t) |
void | redirection (const KUrl &) |
void | slaveStatus (pid_t, const QByteArray &, const QString &, bool) |
void | speed (unsigned long) |
void | statEntry (const KIO::UDSEntry &) |
void | totalSize (KIO::filesize_t) |
void | warning (const QString &) |
void | written (KIO::filesize_t) |
Public Member Functions | |
Connection * | connection () const |
KIO::filesize_t | offset () const |
void | sendResumeAnswer (bool resume) |
void | setConnection (Connection *connection) |
void | setOffset (KIO::filesize_t offset) |
virtual | ~SlaveInterface () |
Protected Slots | |
void | calcSpeed () |
Protected Member Functions | |
virtual bool | dispatch (int _cmd, const QByteArray &data) |
virtual bool | dispatch () |
void | dropNetwork (const QString &, const QString &) |
void | messageBox (int type, const QString &text, const QString &caption, const QString &buttonYes, const QString &buttonNo, const QString &dontAskAgainName) |
void | messageBox (int type, const QString &text, const QString &caption, const QString &buttonYes, const QString &buttonNo) |
void | requestNetwork (const QString &, const QString &) |
SlaveInterface (SlaveInterfacePrivate &dd, QObject *parent=0) | |
Protected Attributes | |
SlaveInterfacePrivate *const | d_ptr |
Constructor & Destructor Documentation
SlaveInterface::SlaveInterface | ( | SlaveInterfacePrivate & | dd, | |
QObject * | parent = 0 | |||
) | [protected] |
Definition at line 46 of file slaveinterface.cpp.
SlaveInterface::~SlaveInterface | ( | ) | [virtual] |
Definition at line 52 of file slaveinterface.cpp.
Member Function Documentation
void SlaveInterface::calcSpeed | ( | ) | [protected, slot] |
Definition at line 93 of file slaveinterface.cpp.
void KIO::SlaveInterface::canResume | ( | KIO::filesize_t | ) | [signal] |
void KIO::SlaveInterface::connected | ( | ) | [signal] |
Connection * SlaveInterface::connection | ( | ) | const |
Definition at line 65 of file slaveinterface.cpp.
void KIO::SlaveInterface::data | ( | const QByteArray & | ) | [signal] |
void KIO::SlaveInterface::dataReq | ( | ) | [signal] |
bool SlaveInterface::dispatch | ( | int | _cmd, | |
const QByteArray & | data | |||
) | [protected, virtual] |
Definition at line 148 of file slaveinterface.cpp.
bool SlaveInterface::dispatch | ( | ) | [protected, virtual] |
Definition at line 78 of file slaveinterface.cpp.
Definition at line 368 of file slaveinterface.cpp.
void KIO::SlaveInterface::error | ( | int | , | |
const QString & | ||||
) | [signal] |
void KIO::SlaveInterface::errorPage | ( | ) | [signal] |
void KIO::SlaveInterface::finished | ( | ) | [signal] |
void KIO::SlaveInterface::infoMessage | ( | const QString & | ) | [signal] |
void KIO::SlaveInterface::listEntries | ( | const KIO::UDSEntryList & | ) | [signal] |
void SlaveInterface::messageBox | ( | int | type, | |
const QString & | text, | |||
const QString & | caption, | |||
const QString & | buttonYes, | |||
const QString & | buttonNo, | |||
const QString & | dontAskAgainName | |||
) | [protected] |
Definition at line 386 of file slaveinterface.cpp.
void SlaveInterface::messageBox | ( | int | type, | |
const QString & | text, | |||
const QString & | caption, | |||
const QString & | buttonYes, | |||
const QString & | buttonNo | |||
) | [protected] |
Definition at line 380 of file slaveinterface.cpp.
void KIO::SlaveInterface::metaData | ( | const KIO::MetaData & | ) | [signal] |
void KIO::SlaveInterface::mimeType | ( | const QString & | ) | [signal] |
void KIO::SlaveInterface::needSubUrlData | ( | ) | [signal] |
KIO::filesize_t SlaveInterface::offset | ( | ) | const |
Definition at line 352 of file slaveinterface.cpp.
void KIO::SlaveInterface::open | ( | ) | [signal] |
void KIO::SlaveInterface::position | ( | KIO::filesize_t | ) | [signal] |
void KIO::SlaveInterface::processedSize | ( | KIO::filesize_t | ) | [signal] |
void KIO::SlaveInterface::redirection | ( | const KUrl & | ) | [signal] |
Definition at line 358 of file slaveinterface.cpp.
void SlaveInterface::sendResumeAnswer | ( | bool | resume | ) |
Definition at line 373 of file slaveinterface.cpp.
void SlaveInterface::setConnection | ( | Connection * | connection | ) |
Definition at line 59 of file slaveinterface.cpp.
void SlaveInterface::setOffset | ( | KIO::filesize_t | offset | ) |
Definition at line 346 of file slaveinterface.cpp.
void KIO::SlaveInterface::slaveStatus | ( | pid_t | , | |
const QByteArray & | , | |||
const QString & | , | |||
bool | ||||
) | [signal] |
void KIO::SlaveInterface::speed | ( | unsigned | long | ) | [signal] |
void KIO::SlaveInterface::statEntry | ( | const KIO::UDSEntry & | ) | [signal] |
void KIO::SlaveInterface::totalSize | ( | KIO::filesize_t | ) | [signal] |
void KIO::SlaveInterface::warning | ( | const QString & | ) | [signal] |
void KIO::SlaveInterface::written | ( | KIO::filesize_t | ) | [signal] |
Member Data Documentation
SlaveInterfacePrivate* const KIO::SlaveInterface::d_ptr [protected] |
Definition at line 174 of file slaveinterface.h.
The documentation for this class was generated from the following files: