KIO::SlaveInterface Class Reference
There are two classes that specifies the protocol between application ( KIO::Job) and kioslave.
More...
#include <slaveinterface.h>
List of all members.
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 |
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 98 of file slaveinterface.h.
Constructor & Destructor Documentation
SlaveInterface::SlaveInterface |
( |
SlaveInterfacePrivate & |
dd, |
|
|
QObject * |
parent = 0 | |
|
) |
| | [protected] |
SlaveInterface::~SlaveInterface |
( |
|
) |
[virtual] |
Member Function Documentation
void SlaveInterface::calcSpeed |
( |
|
) |
[protected, slot] |
void KIO::SlaveInterface::connected |
( |
|
) |
[signal] |
Connection * SlaveInterface::connection |
( |
|
) |
const |
void KIO::SlaveInterface::data |
( |
const QByteArray & |
|
) |
[signal] |
void KIO::SlaveInterface::dataReq |
( |
|
) |
[signal] |
bool SlaveInterface::dispatch |
( |
int |
_cmd, |
|
|
const QByteArray & |
data | |
|
) |
| | [protected, virtual] |
bool SlaveInterface::dispatch |
( |
|
) |
[protected, virtual] |
void SlaveInterface::dropNetwork |
( |
const QString & |
host, |
|
|
const QString & |
slaveid | |
|
) |
| | [protected] |
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 SlaveInterface::messageBox |
( |
int |
type, |
|
|
const QString & |
text, |
|
|
const QString & |
caption, |
|
|
const QString & |
buttonYes, |
|
|
const QString & |
buttonNo, |
|
|
const QString & |
dontAskAgainName | |
|
) |
| | [protected] |
void SlaveInterface::messageBox |
( |
int |
type, |
|
|
const QString & |
text, |
|
|
const QString & |
caption, |
|
|
const QString & |
buttonYes, |
|
|
const QString & |
buttonNo | |
|
) |
| | [protected] |
void KIO::SlaveInterface::metaData |
( |
const KIO::MetaData & |
|
) |
[signal] |
void KIO::SlaveInterface::mimeType |
( |
const QString & |
|
) |
[signal] |
void KIO::SlaveInterface::needSubUrlData |
( |
|
) |
[signal] |
void KIO::SlaveInterface::open |
( |
|
) |
[signal] |
void KIO::SlaveInterface::redirection |
( |
const KUrl & |
|
) |
[signal] |
void SlaveInterface::requestNetwork |
( |
const QString & |
host, |
|
|
const QString & |
slaveid | |
|
) |
| | [protected] |
void SlaveInterface::sendResumeAnswer |
( |
bool |
resume |
) |
|
void SlaveInterface::setConnection |
( |
Connection * |
connection |
) |
|
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::warning |
( |
const QString & |
|
) |
[signal] |
Member Data Documentation
The documentation for this class was generated from the following files: