TDEIO::DataProtocol Class Reference
#include <dataprotocol.h>
Inheritance diagram for TDEIO::DataProtocol:
Public Member Functions | |
| virtual void | mimetype (const KURL &url) |
| virtual void | get (const KURL &url) |
Public Member Functions inherited from TDEIO::DataSlave | |
| 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) |
Public Member Functions inherited from TDEIO::Slave | |
| Slave (TDEServerSocket *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) |
| TDE_DEPRECATED Connection * | connection () |
| void | ref () |
| void | deref () |
Public Member Functions inherited from TDEIO::SlaveInterface | |
| SlaveInterface (Connection *connection) | |
| void | setConnection (Connection *connection) |
| Connection * | connection () const |
| void | setProgressId (int id) |
| int | progressId () const |
| void | sendResumeAnswer (bool resume) |
| void | setOffset (TDEIO::filesize_t offset) |
| TDEIO::filesize_t | offset () const |
Additional Inherited Members | |
Public Slots inherited from TDEIO::Slave | |
| void | accept (TDESocket *socket) |
| void | gotInput () |
| void | timeout () |
Signals inherited from TDEIO::Slave | |
| void | slaveDied (TDEIO::Slave *slave) |
Signals inherited from TDEIO::SlaveInterface | |
| void | data (const TQByteArray &) |
| void | dataReq () |
| void | error (int, const TQString &) |
| void | connected () |
| void | finished () |
| void | slaveStatus (pid_t, const TQCString &, const TQString &, bool) |
| void | listEntries (const TDEIO::UDSEntryList &) |
| void | statEntry (const TDEIO::UDSEntry &) |
| void | needSubURLData () |
| void | needProgressId () |
| void | canResume (TDEIO::filesize_t) |
| void | metaData (const TDEIO::MetaData &) |
| void | totalSize (TDEIO::filesize_t) |
| void | processedSize (TDEIO::filesize_t) |
| void | redirection (const KURL &) |
| void | localURL (const KURL &, bool) |
| void | speed (unsigned long) |
| void | errorPage () |
| void | mimeType (const TQString &) |
| void | warning (const TQString &) |
| void | infoMessage (const TQString &) |
| void | connectFinished () |
| void | authorizationKey (const TQCString &, const TQCString &, bool) |
| void | delAuthorization (const TQCString &grpkey) |
Static Public Member Functions inherited from TDEIO::Slave | |
| static Slave * | createSlave (const TQString &protocol, const KURL &url, int &error, TQString &error_text) |
| static Slave * | holdSlave (const TQString &protocol, const KURL &url) |
Protected Types inherited from TDEIO::DataSlave | |
| enum | QueueType { Queue_mimeType = 1 , Queue_totalSize , Queue_sendMetaData , Queue_data , Queue_finished } |
| typedef TQValueList< QueueStruct > | DispatchQueue |
Protected Types inherited from TDEIO::Slave | |
| enum | { VIRTUAL_SUSPEND = 0x200 , VIRTUAL_RESUME , VIRTUAL_SEND , VIRTUAL_HOLD , VIRTUAL_SUSPENDED , VIRTUAL_SET_HOST , VIRTUAL_SET_CONFIG } |
Protected Slots inherited from TDEIO::DataSlave | |
| void | dispatchNext () |
Protected Slots inherited from TDEIO::SlaveInterface | |
| void | calcSpeed () |
Protected Member Functions inherited from TDEIO::DataSlave | |
| void | setAllMetaData (const MetaData &) |
| void | sendMetaData () |
| virtual void | virtual_hook (int id, void *data) |
Protected Member Functions inherited from TDEIO::Slave | |
| Slave (bool derived, TDEServerSocket *unixdomain, const TQString &protocol, const TQString &socketname) | |
| void | unlinkSocket () |
Protected Member Functions inherited from TDEIO::SlaveInterface | |
| virtual bool | dispatch () |
| virtual bool | dispatch (int _cmd, const TQByteArray &data) |
| void | openPassDlg (TDEIO::AuthInfo &info) |
| void | openPassDlg (const TQString &prompt, const TQString &user, const TQString &caption, const TQString &comment, const TQString &label, bool readOnly) TDE_DEPRECATED |
| void | openPassDlg (const TQString &prompt, const TQString &user, bool readOnly) TDE_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 &) |
Static Protected Member Functions inherited from TDEIO::SlaveInterface | |
| static void | sigpipe_handler (int) |
Protected Attributes inherited from TDEIO::DataSlave | |
| DispatchQueue | dispatchQueue |
Protected Attributes inherited from TDEIO::SlaveInterface | |
| Connection * | m_pConnection |
Detailed Description
This tdeioslave provides support of data urls as specified by rfc 2397.
Definition at line 51 of file dataprotocol.h.
Constructor & Destructor Documentation
◆ DataProtocol()
| DataProtocol::DataProtocol | ( | ) |
Definition at line 247 of file dataprotocol.cpp.
◆ ~DataProtocol()
|
virtual |
Definition at line 254 of file dataprotocol.cpp.
Member Function Documentation
◆ get()
|
virtual |
Implements TDEIO::DataSlave.
Definition at line 260 of file dataprotocol.cpp.
◆ mimetype()
|
virtual |
Implements TDEIO::DataSlave.
Definition at line 329 of file dataprotocol.cpp.
The documentation for this class was generated from the following files:
Trinity API Reference
Public Member Functions inherited from