Syndication::Image
#include <image.h>
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.
Constructor & Destructor Documentation
◆ ~Image()
Member Function Documentation
◆ debugInfo()
|
virtual |
◆ description()
|
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.)
Implemented in Syndication::ImageAtomImpl, Syndication::ImageRDFImpl, and Syndication::ImageRSS2Impl.
◆ height()
|
pure virtual |
The height of the image in pixels.
- Returns
- image height in pixels or 0 of not specified in the feed.
Implemented in Syndication::ImageAtomImpl, Syndication::ImageRDFImpl, and Syndication::ImageRSS2Impl.
◆ isNull()
|
pure virtual |
returns whether this image is a null object.
Implemented in Syndication::ImageAtomImpl, Syndication::ImageRDFImpl, and Syndication::ImageRSS2Impl.
◆ link()
|
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.
Implemented in Syndication::ImageAtomImpl, Syndication::ImageRDFImpl, and Syndication::ImageRSS2Impl.
◆ title()
|
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
Implemented in Syndication::ImageAtomImpl, Syndication::ImageRDFImpl, and Syndication::ImageRSS2Impl.
◆ url()
|
pure virtual |
the URL of a GIF, JPEG or PNG image
Implemented in Syndication::ImageAtomImpl, Syndication::ImageRDFImpl, and Syndication::ImageRSS2Impl.
◆ width()
|
pure virtual |
The width of the image in pixels.
- Returns
- image width in pixels or 0 if not specified in the feed.
Implemented in Syndication::ImageAtomImpl, Syndication::ImageRDFImpl, and Syndication::ImageRSS2Impl.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.