KIO
dataprotocol.cpp
Go to the documentation of this file.
This kioslave provides support of data urls as specified by rfc 2397.
Definition dataprotocol.h:63
There are two classes that specifies the protocol between application (job) and kioslave.
Definition slavebase.h:51
void totalSize(KIO::filesize_t)
void finished()
void data(const QByteArray &)
void mimeType(const QString &)
static QString extract(const QByteArray &buf, int &pos, const char c1='\0')
extracts the string between the current position pos and the first occurrence of either c1 or comma (...
Definition dataprotocol.cpp:108
static void ignoreWS(const QString &buf, int &pos)
ignores all whitespaces
Definition dataprotocol.cpp:122
static DataHeader parseDataHeader(const KUrl &url, const bool mimeOnly)
parses the header of a data url
Definition dataprotocol.cpp:166
static QString parseQuotedString(const QString &buf, int &pos)
parses a quoted string as per rfc 822.
Definition dataprotocol.cpp:137
static int find(const QByteArray &buf, int begin, const char c1)
returns the position of the first occurrence of any of the given characters c1 or comma (',...
Definition dataprotocol.cpp:85
#define kDebug
const QString & staticQString(const char *str)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Jul 20 2023 00:00:00 by doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Jul 20 2023 00:00:00 by doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.