Classes |
Public Member Functions |
Protected Types |
Protected Slots |
Protected Member Functions |
Protected Attributes |
List of all members
KIO::DataSlave Class Referenceabstract
#include <dataslave.h>
Inheritance diagram for KIO::DataSlave:

Classes | |
struct | QueueStruct |
Public Member Functions | |
virtual void | setHost (const TQString &host, int port, const TQString &user, const TQString &passwd) |
virtual void | setConfig (const MetaData &config) |
virtual void | suspend () |
virtual void | resume () |
virtual bool | suspended () |
virtual void | send (int cmd, const TQByteArray &data=TQByteArray()) |
virtual void | hold (const KURL &url) |
virtual void | get (const KURL &url)=0 |
virtual void | mimetype (const KURL &url)=0 |
![]() | |
Slave (KServerSocket *unixdomain, const TQString &protocol, const TQString &socketname) | |
void | setPID (pid_t) |
int | slave_pid () |
void | kill () |
bool | isAlive () |
void | setHost (const TQString &host, int port, const TQString &user, const TQString &passwd) |
void | resetHost () |
void | setConfig (const MetaData &config) |
TQString | protocol () |
void | setProtocol (const TQString &protocol) |
TQString | slaveProtocol () |
TQString | host () |
int | port () |
TQString | user () |
TQString | passwd () |
void | suspend () |
void | resume () |
bool | suspended () |
void | send (int cmd, const TQByteArray &data=TQByteArray()) |
void | hold (const KURL &url) |
time_t | idleTime () |
void | setIdle () |
bool | isConnected () |
void | setConnected (bool c) |
KDE_DEPRECATED Connection * | connection () |
void | ref () |
void | deref () |
![]() | |
SlaveInterface (Connection *connection) | |
void | setConnection (Connection *connection) |
Connection * | connection () const |
void | setProgressId (int id) |
int | progressId () const |
void | sendResumeAnswer (bool resume) |
void | setOffset (KIO::filesize_t offset) |
KIO::filesize_t | offset () const |
Protected Types | |
enum | QueueType { Queue_mimeType = 1, Queue_totalSize, Queue_sendMetaData, Queue_data, Queue_finished } |
typedef TQValueList< QueueStruct > | DispatchQueue |
![]() | |
enum | { VIRTUAL_SUSPEND = 0x200, VIRTUAL_RESUME, VIRTUAL_SEND, VIRTUAL_HOLD, VIRTUAL_SUSPENDED, VIRTUAL_SET_HOST, VIRTUAL_SET_CONFIG } |
Protected Slots | |
void | dispatchNext () |
Protected Member Functions | |
void | setAllMetaData (const MetaData &) |
void | sendMetaData () |
virtual void | virtual_hook (int id, void *data) |
![]() | |
Slave (bool derived, KServerSocket *unixdomain, const TQString &protocol, const TQString &socketname) | |
void | unlinkSocket () |
![]() | |
virtual bool | dispatch () |
virtual bool | dispatch (int _cmd, const TQByteArray &data) |
void | openPassDlg (KIO::AuthInfo &info) |
void | openPassDlg (const TQString &prompt, const TQString &user, const TQString &caption, const TQString &comment, const TQString &label, bool readOnly) KDE_DEPRECATED |
void | openPassDlg (const TQString &prompt, const TQString &user, bool readOnly) KDE_DEPRECATED |
void | messageBox (int type, const TQString &text, const TQString &caption, const TQString &buttonYes, const TQString &buttonNo) |
void | messageBox (int type, const TQString &text, const TQString &caption, const TQString &buttonYes, const TQString &buttonNo, const TQString &dontAskAgainName) |
void | requestNetwork (const TQString &, const TQString &) |
void | dropNetwork (const TQString &, const TQString &) |
Protected Attributes | |
DispatchQueue | dispatchQueue |
Additional Inherited Members | |
![]() | |
void | accept (KSocket *socket) |
void | gotInput () |
void | timeout () |
![]() | |
void | slaveDied (KIO::Slave *slave) |
![]() | |
static Slave * | createSlave (const TQString &protocol, const KURL &url, int &error, TQString &error_text) |
static Slave * | holdSlave (const TQString &protocol, const KURL &url) |
![]() | |
static void | sigpipe_handler (int) |
Detailed Description
This class provides a high performance implementation for the data url scheme (rfc2397).
Definition at line 49 of file dataslave.h.
Member Enumeration Documentation
|
protected |
identifiers of functions to be queued
Definition at line 85 of file dataslave.h.
Member Function Documentation
|
protectedslot |
dispatches next queued method.
Does nothing if there are no queued methods.
Definition at line 99 of file dataslave.cpp.
|
protected |
Sends metadata set with setAllMetaData.
Definition at line 167 of file dataslave.cpp.
|
protected |
Sets metadata.
Definition at line 163 of file dataslave.cpp.
The documentation for this class was generated from the following files: