Syndication::RDF::Image
#include <image.h>
Public Member Functions | |
Image () | |
Image (ResourcePtr resource) | |
~Image () override | |
QString | debugInfo () const |
QString | link () const |
QString | title () const |
QString | url () const |
Public Member Functions inherited from Syndication::RDF::ResourceWrapper | |
ResourceWrapper () | |
ResourceWrapper (const ResourceWrapper &other) | |
ResourceWrapper (ResourcePtr resource) | |
virtual | ~ResourceWrapper () |
bool | isNull () const |
ResourceWrapper & | operator= (const ResourceWrapper &other) |
bool | operator== (const ResourceWrapper &other) const |
ResourcePtr | resource () const |
Detailed Description
An image to be associated with an HTML rendering of the channel.
Definition at line 26 of file rdf/image.h.
Constructor & Destructor Documentation
◆ Image() [1/2]
Syndication::RDF::Image::Image | ( | ) |
creates a wrapper wrapping a null resource
Definition at line 16 of file rdf/image.cpp.
◆ Image() [2/2]
|
explicit |
creates an image object by wrapping an image resource
- Parameters
-
resource the image resource to wrap
Definition at line 21 of file rdf/image.cpp.
◆ ~Image()
|
override |
destructor
Definition at line 26 of file rdf/image.cpp.
Member Function Documentation
◆ debugInfo()
QString Syndication::RDF::Image::debugInfo | ( | ) | const |
Returns a description of the image for debugging purposes.
- Returns
- debug string
Definition at line 45 of file rdf/image.cpp.
◆ link()
QString Syndication::RDF::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 35 of file rdf/image.cpp.
◆ title()
QString Syndication::RDF::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 30 of file rdf/image.cpp.
◆ url()
QString Syndication::RDF::Image::url | ( | ) | const |
the URL of the image file
Definition at line 40 of file rdf/image.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.