Syndication::Atom::Source

Search for usage in LXR

Syndication::Atom::Source Class Reference

#include <source.h>

Inherits Syndication::ElementWrapper.

Public Member Functions

 Source ()
 
 Source (const QDomElement &element)
 
QList< Personauthors () const
 
QList< Categorycategories () const
 
QList< Personcontributors () const
 
QString debugInfo () const
 
Generator generator () const
 
QString icon () const
 
QString id () const
 
QList< Linklinks () const
 
QString logo () const
 
QString rights () const
 
QString subtitle () const
 
QString title () const
 
time_t updated () const
 

Detailed Description

If an entry was copied from another feed, this class contains a description of the source feed.

Author
Frank Osterfeld

Definition at line 36 of file atom/source.h.

Constructor & Destructor Documentation

◆ Source() [1/2]

Syndication::Atom::Source::Source ( )

creates a null source object

Definition at line 26 of file atom/source.cpp.

◆ Source() [2/2]

Syndication::Atom::Source::Source ( const QDomElement & element)
explicit

creates a Source object wrapping a atom:source element.

Parameters
elementa DOM element, should be a atom:source element (although not enforced), otherwise this object will not parse anything useful

Definition at line 31 of file atom/source.cpp.

Member Function Documentation

◆ authors()

QList< Person > Syndication::Atom::Source::authors ( ) const

authors of the original content (optional)

Definition at line 36 of file atom/source.cpp.

◆ categories()

QList< Category > Syndication::Atom::Source::categories ( ) const

categories the source feed is assigned to (optional)

Definition at line 63 of file atom/source.cpp.

◆ contributors()

QList< Person > Syndication::Atom::Source::contributors ( ) const

contributors to the original content (optional)

Definition at line 50 of file atom/source.cpp.

◆ debugInfo()

QString Syndication::Atom::Source::debugInfo ( ) const

description of this source object for debugging purposes

Returns
debug string

Definition at line 130 of file atom/source.cpp.

◆ generator()

Generator Syndication::Atom::Source::generator ( ) const

description of the software which generated the source feed (optional)

Definition at line 76 of file atom/source.cpp.

◆ icon()

QString Syndication::Atom::Source::icon ( ) const

URL of an image serving as a feed icon (optional)

Returns
icon URL, or a null string if not specified

Definition at line 81 of file atom/source.cpp.

◆ id()

QString Syndication::Atom::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.

Definition at line 86 of file atom/source.cpp.

◆ links()

QList< Link > Syndication::Atom::Source::links ( ) const

a list of links.

See Link for more information on link types.

Definition at line 91 of file atom/source.cpp.

◆ logo()

QString Syndication::Atom::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.

Definition at line 104 of file atom/source.cpp.

◆ rights()

QString Syndication::Atom::Source::rights ( ) const

copyright information (optional)

Returns
copyright information for the source, or a null string if not specified

Definition at line 109 of file atom/source.cpp.

◆ subtitle()

QString Syndication::Atom::Source::subtitle ( ) const

description or subtitle of the source feed (optional).

Returns
subtitle string as HTML, or a null string if not specified.

Definition at line 114 of file atom/source.cpp.

◆ title()

QString Syndication::Atom::Source::title ( ) const

source feed title (optional).

Returns
title string as HTML, or a null string if not specified

Definition at line 119 of file atom/source.cpp.

◆ updated()

time_t Syndication::Atom::Source::updated ( ) const

The datetime of the last modification of the source feed content.

(optional)

Returns
the modification date in seconds since epoch

Definition at line 124 of file atom/source.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:14:15 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.