KIO::Connection Class Reference
This class provides a simple means for IPC between two applications via a pipe. More...
#include <connection.h>
Inheritance diagram for KIO::Connection:

Public Methods | |
int | read (int *_cmd, QByteArray &) |
Receive data. | |
void | suspend () |
Don't handle incoming data until resumed. | |
void | resume () |
Resume handling of incoming data. | |
bool | suspended () const |
Returns status of connection. |
Detailed Description
This class provides a simple means for IPC between two applications via a pipe.It handles a queue of commands to be sent which makes it possible to queue data before an actual connection has been established.
Definition at line 46 of file connection.h.
Member Function Documentation
|
Receive data.
Definition at line 197 of file connection.cpp. Referenced by KIO::SlaveBase::mimeType(), and KIO::SlaveBase::waitForAnswer(). |
|
Don't handle incoming data until resumed.
Definition at line 64 of file connection.cpp. References QSocketNotifier::setEnabled(). Referenced by KIO::TransferJob::suspend(). |
|
Resume handling of incoming data.
Definition at line 71 of file connection.cpp. References QSocketNotifier::setEnabled(). Referenced by KIO::TransferJob::resume(). |
|
Returns status of connection.
Definition at line 90 of file connection.h. |
The documentation for this class was generated from the following files: