Syndication
content.cpp
182 info += QLatin1String("binary length: #") + QString::number(asByteArray().size()) + QLatin1String("#\n");
void append(const T &value)
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const const
bool isNull() const const
QString number(int n, int base)
CaseInsensitive
bool contains(const QString &str, Qt::CaseSensitivity cs) const const
bool isContained() const
returns whether the content is contained in the feed source, or not.
Definition: content.cpp:137
QString trimmed() const const
ElementWrapper & operator=(const ElementWrapper &other)
Assigns another element wrapper to this one.
Definition: elementwrapper.cpp:57
void reserve(int alloc)
bool isEmpty() const const
QString attribute(const QString &name, const QString &defValue=QString()) const
Returns the attribute called name.
Definition: elementwrapper.cpp:259
static Format mapTypeToFormat(const QString &type, const QString &src=QString())
maps a mimetype to Format enum according to the Atom 1.0 specification
Definition: content.cpp:78
The content element either contains or links the content of an entry.
Definition: content.h:30
bool isNull() const
returns whether the wrapped element is a null element
Definition: elementwrapper.cpp:68
QByteArray fromBase64(const QByteArray &base64, QByteArray::Base64Options options)
QString debugInfo() const
returns a description of the content object for debugging purposes
Definition: content.cpp:172
bool isEmpty() const const
QString text() const
Returns the wrapped element's text or an empty string.
Definition: elementwrapper.cpp:254
QString childNodesAsXML() const
returns the child nodes of the wrapped element as XML.
Definition: elementwrapper.cpp:199
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const const
bool isEscapedHTML() const
returns whether the content is escaped HTML or not Use asString() to access it
Definition: content.cpp:147
bool isBinary() const
returns whether the content is binary content or not.
Definition: content.cpp:132
bool isPlainText() const
returns whether the content is plain text or not.
Definition: content.cpp:142
QString src() const
If src() is set, the content of this entry is not contained in the feed source, but available on the ...
Definition: content.cpp:65
QString completeURI(const QString &uri) const
completes relative URIs with a prefix specified via xml:base.
Definition: elementwrapper.cpp:121
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Aug 9 2022 03:52:40 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Aug 9 2022 03:52:40 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.