Syndication
content.cpp
183 info += QLatin1String("binary length: #") + QString::number(asByteArray().size()) + QLatin1String("#\n");
The content element either contains or links the content of an entry.
Definition content.h:31
QString debugInfo() const
returns a description of the content object for debugging purposes
Definition content.cpp:173
bool isContained() const
returns whether the content is contained in the feed source, or not.
Definition content.cpp:138
bool isEscapedHTML() const
returns whether the content is escaped HTML or not Use asString() to access it
Definition content.cpp:148
bool isBinary() const
returns whether the content is binary content or not.
Definition content.cpp:133
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:66
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:79
QString text() const
Returns the wrapped element's text or an empty string.
Definition elementwrapper.cpp:254
QString completeURI(const QString &uri) const
completes relative URIs with a prefix specified via xml:base.
Definition elementwrapper.cpp:121
bool isNull() const
returns whether the wrapped element is a null element
Definition elementwrapper.cpp:68
QString childNodesAsXML() const
returns the child nodes of the wrapped element as XML.
Definition elementwrapper.cpp:199
ElementWrapper & operator=(const ElementWrapper &other)
Assigns another element wrapper to this one.
Definition elementwrapper.cpp:57
QString attribute(const QString &name, const QString &defValue=QString()) const
Returns the attribute called name.
Definition elementwrapper.cpp:259
PlainText
QByteArray fromBase64(const QByteArray &base64, Base64Options options)
void append(QList< T > &&value)
bool isEmpty() const const
void reserve(qsizetype size)
bool endsWith(QChar c, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
bool isNull() const const
QString number(double n, char format, int precision)
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
QString trimmed() const const
bool contains(QLatin1StringView str, Qt::CaseSensitivity cs) const const
CaseInsensitive
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.