KIO
#include <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 | |
| virtual | ~SlaveInterface () |
| Connection * | connection () const |
| KIO::filesize_t | offset () const |
| void | sendMessageBoxAnswer (int result) |
| void | sendResumeAnswer (bool resume) |
| void | setConnection (Connection *connection) |
| void | setOffset (KIO::filesize_t offset) |
| void | setWindow (QWidget *window) |
| QWidget * | window () const |
Protected Slots | |
| void | calcSpeed () |
Protected Member Functions | |
| SlaveInterface (SlaveInterfacePrivate &dd, QObject *parent=0) | |
| virtual bool | dispatch () |
| virtual bool | dispatch (int _cmd, const QByteArray &data) |
| void | dropNetwork (const QString &, const QString &) |
| void | messageBox (int type, const QString &text, const QString &caption, const QString &buttonYes, const QString &buttonNo) |
| void | messageBox (int type, const QString &text, const QString &caption, const QString &buttonYes, const QString &buttonNo, const QString &dontAskAgainName) |
| void | requestNetwork (const QString &, const QString &) |
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
|
protected |
Definition at line 48 of file slaveinterface.cpp.
|
virtual |
Definition at line 54 of file slaveinterface.cpp.
Member Function Documentation
|
protectedslot |
Definition at line 95 of file slaveinterface.cpp.
|
signal |
|
signal |
| Connection * SlaveInterface::connection | ( | ) | const |
Definition at line 67 of file slaveinterface.cpp.
|
signal |
|
signal |
|
protectedvirtual |
Definition at line 80 of file slaveinterface.cpp.
|
protectedvirtual |
Definition at line 150 of file slaveinterface.cpp.
Definition at line 369 of file slaveinterface.cpp.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
protected |
Definition at line 398 of file slaveinterface.cpp.
|
protected |
Definition at line 404 of file slaveinterface.cpp.
|
signal |
|
signal |
|
signal |
| KIO::filesize_t SlaveInterface::offset | ( | ) | const |
Definition at line 353 of file slaveinterface.cpp.
|
signal |
|
signal |
|
signal |
|
signal |
Definition at line 359 of file slaveinterface.cpp.
| void SlaveInterface::sendMessageBoxAnswer | ( | int | result | ) |
Sends our answer for the INF_MESSAGEBOX request.
- Since
- 4.11
Definition at line 381 of file slaveinterface.cpp.
| void SlaveInterface::sendResumeAnswer | ( | bool | resume | ) |
Definition at line 374 of file slaveinterface.cpp.
| void SlaveInterface::setConnection | ( | Connection * | connection | ) |
Definition at line 61 of file slaveinterface.cpp.
| void SlaveInterface::setOffset | ( | KIO::filesize_t | offset | ) |
Definition at line 347 of file slaveinterface.cpp.
| void SlaveInterface::setWindow | ( | QWidget * | window | ) |
Sets the top level window used as a parent when displaying dialogs.
- See also
- window
- Since
- 4.8.2
Definition at line 441 of file slaveinterface.cpp.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
| QWidget * SlaveInterface::window | ( | ) | const |
Returns the top level window used as parent when displaying dialogs.
- See also
- setWindow
- Since
- 4.8.2
Definition at line 447 of file slaveinterface.cpp.
|
signal |
Member Data Documentation
|
protected |
Definition at line 202 of file slaveinterface.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference