• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.8.3 API Reference
  • KDE Home
  • Contact Us
 

Syndication Library

  • Syndication
  • Image
Public Member Functions
Syndication::Image Class Reference

#include <image.h>

List of all members.

Public Member Functions

virtual ~Image ()
virtual QString debugInfo () const
virtual QString description () const =0
virtual uint height () const =0
virtual bool isNull () const =0
virtual QString link () const =0
virtual QString title () const =0
virtual QString url () const =0
virtual uint width () const =0

Detailed Description

This class represents an image file on the web.

It is usually some kind of feed logo which can be displayed when showing the feed description.

Author:
Frank Osterfeld

Definition at line 45 of file image.h.


Constructor & Destructor Documentation

Syndication::Image::~Image ( ) [virtual]

destructor

Definition at line 29 of file image.cpp.


Member Function Documentation

QString Syndication::Image::debugInfo ( ) const [virtual]

returns a description of the image for debugging purposes

Returns:
debug string

Definition at line 33 of file image.cpp.

virtual QString Syndication::Image::description ( ) const [pure virtual]

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.)
virtual uint Syndication::Image::height ( ) const [pure virtual]

The height of the image in pixels.

Returns:
image height in pixels or 0 of not specified in the feed.
virtual bool Syndication::Image::isNull ( ) const [pure virtual]

returns whether this image is a null object.

virtual QString Syndication::Image::link ( ) const [pure virtual]

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

If not set, use Feed::link().

Returns:
the url the rendered image should link to, or a null string if not specified in the feed.
virtual QString Syndication::Image::title ( ) const [pure virtual]

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
virtual QString Syndication::Image::url ( ) const [pure virtual]

the URL of a GIF, JPEG or PNG image

virtual uint Syndication::Image::width ( ) const [pure virtual]

The width of the image in pixels.

Returns:
image width in pixels or 0 if not specified in the feed.

The documentation for this class was generated from the following files:
  • image.h
  • image.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 22:17:47 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Syndication Library

Skip menu "Syndication Library"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.8.3 API Reference

Skip menu "kdepimlibs-4.8.3 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal