• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

syndication/rss2

Syndication::RSS2::Source

Syndication::RSS2::Source Class Reference

#include <source.h>

Inherits ElementWrapper.

List of all members.


Detailed Description

Class representing the <source> element in RSS2.

"The purpose of this element is to propagate credit for links, to publicize the sources of news items. It's used in the post command in the Radio UserLand aggregator. It should be generated automatically when forwarding an item from an aggregator to a weblog authoring tool."

Author:
Frank Osterfeld

Definition at line 43 of file source.h.


Public Member Functions

QString debugInfo () const
QString source () const
 Source (const QDomElement &element)
 Source ()
QString url () const

Constructor & Destructor Documentation

Syndication::RSS2::Source::Source (  ) 

Default constructor, creates a null object, for which isNull() is true.

Definition at line 31 of file source.cpp.

Syndication::RSS2::Source::Source ( const QDomElement &  element  )  [explicit]

Creates a source object wrapping a <source> XML element.

Parameters:
element The <source> element to wrap

Definition at line 35 of file source.cpp.


Member Function Documentation

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

Returns a description of the object for debugging purposes.

Returns:
debug string

Definition at line 49 of file source.cpp.

QString Syndication::RSS2::Source::source (  )  const

The name of the RSS channel that the item came from, derived from its <title>.

Example: "Tomalak's Realm"

Returns:
A string containing the source, or a null string if not set (and for null objects)

Definition at line 39 of file source.cpp.

QString Syndication::RSS2::Source::url (  )  const

Required attribute, links to the XMLization of the source.

Returns:
A URL, or a null string if not set (though required from the spec), and for null objects

Definition at line 44 of file source.cpp.


The documentation for this class was generated from the following files:
  • source.h
  • source.cpp

syndication/rss2

Skip menu "syndication/rss2"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.6
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal