Syndication::Atom::Source Class
If an entry was copied from another feed, this class contains a description of the source feed. More...
- Header:
#include <Syndication/Atom/Source> - CMake:
find_package(KF6 REQUIRED COMPONENTS Syndication)
target_link_libraries(mytarget PRIVATE KF6::Syndication) - Inherits: Syndication::ElementWrapper
List of all members, including inherited members
Public Functions
- Source()
- Source(const QDomElement &element)
- QList<Syndication::Atom::Person> authors() const
- QList<Syndication::Atom::Category> categories() const
- QList<Syndication::Atom::Person> contributors() const
- QString debugInfo() const
- Syndication::Atom::Generator generator() const
- QString icon() const
- QString id() const
- QList<Syndication::Atom::Link> links() const
- QString logo() const
- QString rights() const
- QString subtitle() const
- QString title() const
- time_t updated() const
Detailed Description
Member Function Documentation
Source::Source()
creates a null source object
[explicit] Source::Source(const QDomElement &element)
creates a Source object wrapping a atom:source element.
element a DOM element, should be a atom:source element (although not enforced), otherwise this object will not parse anything useful
QList<Syndication::Atom::Person> Source::authors() const
authors of the original content (optional)
QList<Syndication::Atom::Category> Source::categories() const
categories the source feed is assigned to (optional)
QList<Syndication::Atom::Person> Source::contributors() const
contributors to the original content (optional)
QString Source::debugInfo() const
description of this source object for debugging purposes
Returns debug string
Syndication::Atom::Generator Source::generator() const
description of the software which generated the source feed (optional)
QString Source::icon() const
URL of an image serving as a feed icon (optional)
Returns icon URL, or a null string if not specified
QString Source::id() const
a string that unambiguously identifies the source feed (optional)
Returns the ID of the source feed, or a null string if not specified.
QList<Syndication::Atom::Link> Source::links() const
a list of links. See Link for more information on link types.
QString Source::logo() const
URL of an image, the logo of the source feed (optional)
Returns image URL, or a null string if not specified in the feed.
QString Source::rights() const
copyright information (optional)
Returns copyright information for the source, or a null string if not specified
QString Source::subtitle() const
description or subtitle of the source feed (optional).
Returns subtitle string as HTML, or a null string if not specified.
QString Source::title() const
source feed title (optional).
Returns title string as HTML, or a null string if not specified
time_t Source::updated() const
The datetime of the last modification of the source feed content. (optional)
Returns the modification date in seconds since epoch