KIO
KIO::DataProtocol Class Reference
#include <dataprotocol.h>
Inheritance diagram for KIO::DataProtocol:

Public Member Functions | |
| DataProtocol () | |
| virtual | ~DataProtocol () |
| virtual void | get (const KUrl &url) |
| virtual void | mimetype (const KUrl &url) |
Public Member Functions inherited from KIO::DataSlave | |
| DataSlave () | |
| virtual | ~DataSlave () |
| virtual void | hold (const KUrl &url) |
| virtual void | resume () |
| virtual void | send (int cmd, const QByteArray &arr=QByteArray()) |
| virtual void | setConfig (const MetaData &config) |
| virtual void | setHost (const QString &host, quint16 port, const QString &user, const QString &passwd) |
| virtual void | suspend () |
| virtual bool | suspended () |
Public Member Functions inherited from KIO::Slave | |
| Slave (const QString &protocol, QObject *parent=0) | |
| virtual | ~Slave () |
| void | deref () |
| QString | host () |
| time_t | idleTime () |
| bool | isAlive () |
| bool | isConnected () |
| KIO::SimpleJob * | job () const |
| void | kill () |
| QString | passwd () |
| quint16 | port () |
| QString | protocol () |
| void | ref () |
| void | resetHost () |
| void | setConnected (bool c) |
| void | setIdle () |
| void | setJob (KIO::SimpleJob *job) |
| void | setPID (pid_t) |
| void | setProtocol (const QString &protocol) |
| int | slave_pid () |
| QString | slaveProtocol () |
| QString | user () |
Public Member Functions inherited from KIO::SlaveInterface | |
| 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 |
Public Member Functions inherited from QObject | |
| QObject (QObject *parent) | |
| QObject (QObject *parent, const char *name) | |
| virtual | ~QObject () |
| bool | blockSignals (bool block) |
| QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
| const QObjectList & | children () const |
| const char * | className () const |
| bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
| void | deleteLater () |
| void | destroyed (QObject *obj) |
| bool | disconnect (const QObject *receiver, const char *method) |
| bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
| void | dumpObjectInfo () |
| void | dumpObjectTree () |
| QList< QByteArray > | dynamicPropertyNames () const |
| virtual bool | event (QEvent *e) |
| virtual bool | eventFilter (QObject *watched, QEvent *event) |
| T | findChild (const QString &name) const |
| QList< T > | findChildren (const QRegExp ®Exp) const |
| QList< T > | findChildren (const QString &name) const |
| bool | inherits (const char *className) const |
| void | insertChild (QObject *object) |
| void | installEventFilter (QObject *filterObj) |
| bool | isA (const char *className) const |
| bool | isWidgetType () const |
| void | killTimer (int id) |
| virtual const QMetaObject * | metaObject () const |
| void | moveToThread (QThread *targetThread) |
| const char * | name () const |
| const char * | name (const char *defaultName) const |
| QString | objectName () const |
| QObject * | parent () const |
| QVariant | property (const char *name) const |
| void | removeChild (QObject *object) |
| void | removeEventFilter (QObject *obj) |
| void | setName (const char *name) |
| void | setObjectName (const QString &name) |
| void | setParent (QObject *parent) |
| bool | setProperty (const char *name, const QVariant &value) |
| bool | signalsBlocked () const |
| int | startTimer (int interval) |
| QThread * | thread () const |
Additional Inherited Members | |
Public Slots inherited from KIO::Slave | |
| void | accept () |
| void | gotInput () |
| void | timeout () |
Signals inherited from KIO::Slave | |
| void | slaveDied (KIO::Slave *slave) |
Signals inherited from KIO::SlaveInterface | |
| 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) |
Static Public Member Functions inherited from KIO::Slave | |
| static bool | checkForHeldSlave (const KUrl &url) |
| static Slave * | createSlave (const QString &protocol, const KUrl &url, int &error, QString &error_text) |
| static Slave * | holdSlave (const QString &protocol, const KUrl &url) |
Static Public Member Functions inherited from QObject | |
| bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
| bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
| bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
| bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
| QString | tr (const char *sourceText, const char *disambiguation, int n) |
| QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Protected Types inherited from KIO::DataSlave | |
| typedef QList< QueueStruct > | DispatchQueue |
| enum | QueueType { Queue_mimeType = 1, Queue_totalSize, Queue_sendMetaData, Queue_data, Queue_finished } |
Protected Slots inherited from KIO::DataSlave | |
| void | dispatchNext () |
Protected Slots inherited from KIO::SlaveInterface | |
| void | calcSpeed () |
Protected Member Functions inherited from KIO::DataSlave | |
| void | sendMetaData () |
| void | setAllMetaData (const MetaData &) |
Protected Member Functions inherited from KIO::SlaveInterface | |
| 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 Member Functions inherited from QObject | |
| bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
| virtual void | childEvent (QChildEvent *event) |
| virtual void | connectNotify (const char *signal) |
| virtual void | customEvent (QEvent *event) |
| virtual void | disconnectNotify (const char *signal) |
| int | receivers (const char *signal) const |
| QObject * | sender () const |
| int | senderSignalIndex () const |
| virtual void | timerEvent (QTimerEvent *event) |
Static Protected Member Functions inherited from QObject | |
| QByteArray | normalizeSignalSlot (const char *signalSlot) |
Protected Attributes inherited from KIO::DataSlave | |
| DispatchQueue | dispatchQueue |
Protected Attributes inherited from KIO::SlaveInterface | |
| SlaveInterfacePrivate *const | d_ptr |
Properties inherited from QObject | |
| objectName | |
Detailed Description
This kioslave provides support of data urls as specified by rfc 2397.
Definition at line 63 of file dataprotocol.h.
Constructor & Destructor Documentation
| DataProtocol::DataProtocol | ( | ) |
Definition at line 242 of file dataprotocol.cpp.
|
virtual |
Definition at line 249 of file dataprotocol.cpp.
Member Function Documentation
|
virtual |
Implements KIO::DataSlave.
Definition at line 255 of file dataprotocol.cpp.
|
virtual |
Implements KIO::DataSlave.
Definition at line 310 of file dataprotocol.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Member Functions inherited from