Syndication
entry.cpp
64 const QList<QDomElement> a = elementsByTagNameNS(atom1Namespace(), QStringLiteral("contributor"));
146 static std::vector<ElementType> handled; // QVector would require a default ctor, and ElementType is too big for QList
170 && std::find(handled.cbegin(), handled.cend(), ElementType(el.localName(), el.namespaceURI())) == handled.cend()) {
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
QList< Person > contributors() const
list of persons contributing to this entry (optional)
Definition entry.cpp:62
bool accept(SpecificItemVisitor *visitor) override
Used by visitors for double dispatch.
Definition entry.cpp:242
time_t published() const
The datetime of the publication of this entry (optional).
Definition entry.cpp:116
void setFeedAuthors(const QList< Person > &feedAuthors)
Sets the list of the containing feed's authors, which will be used as a fallback in authors() in case...
Definition entry.cpp:39
Content content() const
content of the entry (optional) See Content for details
Definition entry.cpp:138
QList< QDomElement > unhandledElements() const
returns all child elements of this entry not covered by this class.
Definition entry.cpp:143
QString debugInfo() const
returns a description of this entry for debugging purposes
Definition entry.cpp:178
QList< Person > authors() const
list of persons who are authors of this entry.
Definition entry.cpp:44
time_t updated() const
The datetime of the last modification of this entry (required).
Definition entry.cpp:122
QList< Category > categories() const
a list of categories this entry is filed to (optional)
Definition entry.cpp:75
QList< Link > links() const
links pointing to associated web sites and other resources.
Definition entry.cpp:93
If an entry was copied from another feed, this class contains a description of the source feed.
Definition atom/source.h:37
QList< Person > authors() const
authors of the original content (optional)
Definition atom/source.cpp:36
QString debugInfo() const
description of this source object for debugging purposes
Definition atom/source.cpp:130
QDomElement firstElementByTagNameNS(const QString &nsURI, const QString &tagName) const
searches the direct children of the wrapped element for an element with a given namespace and tag nam...
Definition elementwrapper.cpp:218
bool isNull() const
returns whether the wrapped element is a null element
Definition elementwrapper.cpp:68
QList< QDomElement > elementsByTagNameNS(const QString &nsURI, const QString &tagName) const
returns all child elements with tag name tagname and namespace URI nsURI.
Definition elementwrapper.cpp:236
QString extractElementTextNS(const QString &namespaceURI, const QString &localName) const
extracts the text from a child element, respecting namespaces.
Definition elementwrapper.cpp:162
Visitor interface, following the Visitor design pattern.
Definition specificitemvisitor.h:42
virtual bool visitAtomEntry(Syndication::Atom::Entry *item)
reimplement this method to handle Atom entries.
Definition specificitemvisitor.cpp:32
QString extractAtomText(const Syndication::ElementWrapper &parent, const QString &tagname)
extracts the content of an atomTextConstruct.
Definition atomtools.cpp:21
QDomNodeList childNodes() const const
bool isNull() const const
QString localName() const const
QString namespaceURI() const const
QDomElement toElement() const const
QDomNode at(int index) const const
int size() const const
void append(QList< T > &&value)
const_iterator cbegin() const const
const_iterator cend() const const
qsizetype count() const const
bool isEmpty() const const
void reserve(qsizetype size)
bool isNull() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.