Syndication::Atom::Generator

Search for usage in LXR

Syndication::Atom::Generator Class Reference

#include <generator.h>

Inherits Syndication::ElementWrapper.

Public Member Functions

 Generator ()
 
 Generator (const QDomElement &element)
 
QString debugInfo () const
 
QString name () const
 
QString uri () const
 
QString version () const
 

Detailed Description

Description of the agent used to generate the feed.

Author
Frank Osterfeld

Definition at line 25 of file generator.h.

Constructor & Destructor Documentation

◆ Generator() [1/2]

Syndication::Atom::Generator::Generator ( )

default constructor, creates a null generator

Definition at line 17 of file generator.cpp.

◆ Generator() [2/2]

Syndication::Atom::Generator::Generator ( const QDomElement element)
explicit

creates a Generator wrapping an atom:generator element.

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

Definition at line 22 of file generator.cpp.

Member Function Documentation

◆ debugInfo()

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

a description of this generator for debugging purposes.

Returns
debug info

Definition at line 42 of file generator.cpp.

◆ name()

QString Syndication::Atom::Generator::name ( ) const

human-readable name of the generator.

(optional)

Returns
generator name as plain text

Definition at line 32 of file generator.cpp.

◆ uri()

QString Syndication::Atom::Generator::uri ( ) const

A URI for the generator (e.g.

its homepage) (optional)

Definition at line 27 of file generator.cpp.

◆ version()

QString Syndication::Atom::Generator::version ( ) const

version of the agent (optional)

Definition at line 37 of file generator.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Jun 5 2023 03:55:57 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.