KIOSlave
parsinghelpers.cpp
Go to the documentation of this file.
432 const QString strDisposition = extractUntil(disposition, QLatin1Char(';'), pos, typeSpecials).toLower();
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
QString toNativeSeparators(const QString &pathName)
iterator insert(const Key &key, const T &value)
void clear()
iterator erase(iterator pos)
bool contains(const Key &key) const
char at(int i) const
static QString extractMaybeQuotedUntil(const QString &str, int &pos)
Definition: parsinghelpers.cpp:370
static bool nextLine(const char input[], int *pos, int end)
Definition: parsinghelpers.cpp:44
#define isxdigit(c)
static QMap< QString, QString > contentDispositionParserInternal(const QString &disposition)
Definition: parsinghelpers.cpp:428
bool isEmpty() const
QByteArray fromPercentEncoding(const QByteArray &input, char percent)
QByteArray fromRawData(const char *data, int size)
int length() const
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void chop(int n)
QChar separator()
int lastIndexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
void clear()
bool isPrint() const
int indexOf(char ch, int from) const
QString number(int n, int base)
int count(const T &value) const
void append(const T &value)
bool isEmpty() const
const char * constData() const
iterator begin()
static bool isValidPercentEncoding(const QByteArray &data)
Definition: parsinghelpers.cpp:71
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
static void skipSpace(const char input[], int *pos, int end)
Definition: parsinghelpers.cpp:32
iterator end()
Definition: parsinghelpers.h:39
iterator begin()
QString toLower() const
const T value(const Key &key) const
bool contains(QChar ch, Qt::CaseSensitivity cs) const
const Key key(const T &value) const
QByteArray toLatin1() const
QString mid(int position, int n) const
static QMap< QString, QString > contentDispositionParser(const QString &disposition)
Definition: parsinghelpers.cpp:581
const QChar at(int position) const
QTextCodec * codecForName(const QByteArray &name)
int length() const
Definition: parsinghelpers.h:27
QString left(int n) const
QString fromLatin1(const char *str, int size)
iterator insert(const Key &key, const T &value)
bool contains(const Key &key) const
static QString extractUntil(const QString &str, QChar term, int &pos, const char *specials)
read and parse the input until the given terminator
Definition: parsinghelpers.cpp:336
T & operator[](const Key &key)
iterator find(const Key &key)
QString toUnicode(const QByteArray &a) const
static bool specialChar(const QChar &ch, const char *specials)
Definition: parsinghelpers.cpp:301
const T value(const Key &key) const
int remove(const Key &key)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25: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:25:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.