KIO::DataSlave Class Reference
This class provides a high performance implementation for the data url scheme (rfc2397). More...
#include <dataslave.h>
Inheritance diagram for KIO::DataSlave:

Public Member Functions | |
virtual void | setHost (const QString &host, int port, const QString &user, const QString &passwd) |
virtual void | setConfig (const MetaData &config) |
virtual void | suspend () |
virtual void | resume () |
virtual bool | suspended () |
virtual void | send (int cmd, const QByteArray &arr=QByteArray()) |
virtual void | hold (const KURL &url) |
virtual void | get (const KURL &url)=0 |
virtual void | mimetype (const KURL &url)=0 |
Protected Types | |
typedef QValueList< QueueStruct > | DispatchQueue |
enum | QueueType { QueueMimeType = 1, QueueTotalSize, QueueSendMetaData, QueueData, QueueFinished } |
Protected Slots | |
void | dispatchNext () |
Protected Member Functions | |
void | setAllMetaData (const MetaData &) |
void | sendMetaData () |
void | dispatch_mimeType (const QString &s) |
void | dispatch_totalSize (KIO::filesize_t size) |
void | dispatch_sendMetaData () |
void | dispatch_data (const QByteArray &ba) |
void | dispatch_finished () |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
DispatchQueue | dispatchQueue |
Detailed Description
This class provides a high performance implementation for the data url scheme (rfc2397).
Definition at line 41 of file dataslave.h.
Member Enumeration Documentation
|
identifiers of functions to be queued
Definition at line 77 of file dataslave.h. |
Member Function Documentation
|
Sets metadata.
Definition at line 127 of file dataslave.cpp. |
|
Sends metadata set with setAllMetaData.
Definition at line 131 of file dataslave.cpp. Referenced by dispatchNext(). |
|
dispatches next queued method. Does nothing if there are no queued methods. Definition at line 66 of file dataslave.cpp. References KIO::DataSlave::QueueStruct::ba, KIO::DataSlave::QueueStruct::s, sendMetaData(), KIO::DataSlave::QueueStruct::size, and KIO::DataSlave::QueueStruct::type. |
The documentation for this class was generated from the following files: