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()) {
bool accept(SpecificItemVisitor *visitor) override
Used by visitors for double dispatch.
Definition: entry.cpp:242
void append(const T &value)
bool isNull() const const
QDomElement toElement() const const
int count(const T &value) const const
bool isNull() const const
Visitor interface, following the Visitor design pattern.
Definition: specificitemvisitor.h:41
Definition: atom/document.h:17
QDomNode at(int index) const const
int size() const const
QString namespaceURI() const const
void reserve(int alloc)
QString localName() const const
time_t published() const
The datetime of the publication of this entry (optional).
Definition: entry.cpp:116
Content content() const
content of the entry (optional) See Content for details
Definition: entry.cpp:138
bool isEmpty() const const
QList::const_iterator cend() const const
QList< Category > categories() const
a list of categories this entry is filed to (optional)
Definition: entry.cpp:75
QString debugInfo() const
returns a description of this entry for debugging purposes
Definition: entry.cpp:178
KCALUTILS_EXPORT QString dateTimeToString(const QDateTime &date, bool dateOnly=false, bool shortfmt=true)
QList< Person > authors() const
authors of the original content (optional)
Definition: atom/source.cpp:36
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
QList< Person > authors() const
list of persons who are authors of this entry.
Definition: entry.cpp:44
QList< QDomElement > unhandledElements() const
returns all child elements of this entry not covered by this class.
Definition: entry.cpp:143
QList::const_iterator cbegin() const const
QList< Person > contributors() const
list of persons contributing to this entry (optional)
Definition: entry.cpp:62
QList< Link > links() const
links pointing to associated web sites and other resources.
Definition: entry.cpp:93
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
time_t updated() const
The datetime of the last modification of this entry (required).
Definition: entry.cpp:122
QString debugInfo() const
description of this source object for debugging purposes
Definition: atom/source.cpp:130
If an entry was copied from another feed, this class contains a description of the source feed.
Definition: atom/source.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 3 2023 03:52:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 3 2023 03:52:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.