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
◆ SlaveInterface()
|
protected |
Definition at line 48 of file slaveinterface.cpp.
◆ ~SlaveInterface()
|
virtual |
Definition at line 54 of file slaveinterface.cpp.
Member Function Documentation
◆ calcSpeed
|
protectedslot |
Definition at line 95 of file slaveinterface.cpp.
◆ canResume
|
signal |
◆ connected
|
signal |
◆ connection()
Connection * SlaveInterface::connection | ( | ) | const |
Definition at line 67 of file slaveinterface.cpp.
◆ data
|
signal |
◆ dataReq
|
signal |
◆ dispatch() [1/2]
|
protectedvirtual |
Definition at line 80 of file slaveinterface.cpp.
◆ dispatch() [2/2]
|
protectedvirtual |
Definition at line 150 of file slaveinterface.cpp.
◆ dropNetwork()
|
protected |
Definition at line 369 of file slaveinterface.cpp.
◆ error
|
signal |
◆ errorPage
|
signal |
◆ finished
|
signal |
◆ infoMessage
|
signal |
◆ listEntries
|
signal |
◆ messageBox() [1/2]
|
protected |
Definition at line 398 of file slaveinterface.cpp.
◆ messageBox() [2/2]
|
protected |
Definition at line 404 of file slaveinterface.cpp.
◆ metaData
|
signal |
◆ mimeType
|
signal |
◆ needSubUrlData
|
signal |
◆ offset()
KIO::filesize_t SlaveInterface::offset | ( | ) | const |
Definition at line 353 of file slaveinterface.cpp.
◆ open
|
signal |
◆ position
|
signal |
◆ processedSize
|
signal |
◆ redirection
|
signal |
◆ requestNetwork()
|
protected |
Definition at line 359 of file slaveinterface.cpp.
◆ sendMessageBoxAnswer()
void SlaveInterface::sendMessageBoxAnswer | ( | int | result | ) |
Sends our answer for the INF_MESSAGEBOX request.
- Since
- 4.11
Definition at line 381 of file slaveinterface.cpp.
◆ sendResumeAnswer()
void SlaveInterface::sendResumeAnswer | ( | bool | resume | ) |
Definition at line 374 of file slaveinterface.cpp.
◆ setConnection()
void SlaveInterface::setConnection | ( | Connection * | connection | ) |
Definition at line 61 of file slaveinterface.cpp.
◆ setOffset()
void SlaveInterface::setOffset | ( | KIO::filesize_t | offset | ) |
Definition at line 347 of file slaveinterface.cpp.
◆ setWindow()
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.
◆ slaveStatus
|
signal |
◆ speed
|
signal |
◆ statEntry
|
signal |
◆ totalSize
|
signal |
◆ warning
|
signal |
◆ window()
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.
◆ written
|
signal |
Member Data Documentation
◆ d_ptr
|
protected |
Definition at line 202 of file slaveinterface.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.