Pages
API Documentation
On this page

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

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.

a list of links. See Link for more information on link types.

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

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.