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

syndication/rss2

Syndication::RSS2::Image

Syndication::RSS2::Image Class Reference

An RSS2 image, used to describe feed logos. More...

#include <image.h>

Inherits ElementWrapper.

List of all members.

Public Member Functions

QString debugInfo () const
QString description () const
uint height () const
 Image (const QDomElement &element)
 Image ()
QString link () const
QString title () const
QString url () const
uint width () const

Detailed Description

An RSS2 image, used to describe feed logos.

Definition at line 37 of file image.h.


Constructor & Destructor Documentation

Syndication::RSS2::Image::Image (  ) 

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

Definition at line 30 of file image.cpp.

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

Creates an Image object wrapping an <image> XML element.

Parameters:
element The <image> element to wrap

Definition at line 34 of file image.cpp.


Member Function Documentation

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

Returns a description of the object for debugging purposes.

Returns:
debug string

Definition at line 82 of file image.cpp.

QString Syndication::RSS2::Image::description (  )  const

optional text that can be included in the TITLE attribute of the link formed around the image in HTML rendering.

Returns:
TODO: specify format (HTML etc.)

Definition at line 77 of file image.cpp.

uint Syndication::RSS2::Image::height (  )  const

The height of the image.

If the feed itself doesn't specify a height, this method returns 31, the default value.

Returns:
image height in pixels.

Definition at line 66 of file image.cpp.

QString Syndication::RSS2::Image::link (  )  const

The URL of the site, when the channel is rendered, the image should be a link to the site.

Definition at line 49 of file image.cpp.

QString Syndication::RSS2::Image::title (  )  const

Describes the image, can be used in the ALT attribute of the HTML <img> tag when the channel is rendered in HTML.

Returns:
TODO: specify format

Definition at line 43 of file image.cpp.

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

the URL of a GIF, JPEG or PNG image

Definition at line 38 of file image.cpp.

uint Syndication::RSS2::Image::width (  )  const

The width of the image.

If the feed itself doesn't specify a width, this method returns 88, the default value.

Returns:
image width in pixels.

Definition at line 55 of file image.cpp.


The documentation for this class was generated from the following files:
  • image.h
  • image.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
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.6.1
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