Syndication::ImageRDFImpl

Search for usage in LXR

Syndication::ImageRDFImpl Class Reference

#include <imagerdfimpl.h>

Inheritance diagram for Syndication::ImageRDFImpl:

Public Member Functions

 ImageRDFImpl (const Syndication::RDF::Image &image)
 
QString description () const override
 
uint height () const override
 
bool isNull () const override
 
QString link () const override
 
QString title () const override
 
QString url () const override
 
uint width () const override
 
- Public Member Functions inherited from Syndication::Image
virtual ~Image ()
 
virtual QString debugInfo () const
 

Detailed Description

Author
Frank Osterfeld

Definition at line 25 of file imagerdfimpl.h.

Member Function Documentation

QString Syndication::ImageRDFImpl::description ( ) const
overridevirtual

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.)

Implements Syndication::Image.

Definition at line 37 of file imagerdfimpl.cpp.

uint Syndication::ImageRDFImpl::height ( ) const
overridevirtual

The height of the image in pixels.

Returns
image height in pixels or 0 of not specified in the feed.

Implements Syndication::Image.

Definition at line 42 of file imagerdfimpl.cpp.

bool Syndication::ImageRDFImpl::isNull ( ) const
overridevirtual

returns whether this image is a null object.

Implements Syndication::Image.

Definition at line 17 of file imagerdfimpl.cpp.

QString Syndication::ImageRDFImpl::link ( ) const
overridevirtual

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.

Implements Syndication::Image.

Definition at line 32 of file imagerdfimpl.cpp.

QString Syndication::ImageRDFImpl::title ( ) const
overridevirtual

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

Implements Syndication::Image.

Definition at line 27 of file imagerdfimpl.cpp.

QString Syndication::ImageRDFImpl::url ( ) const
overridevirtual

the URL of a GIF, JPEG or PNG image

Implements Syndication::Image.

Definition at line 22 of file imagerdfimpl.cpp.

uint Syndication::ImageRDFImpl::width ( ) const
overridevirtual

The width of the image in pixels.

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

Implements Syndication::Image.

Definition at line 47 of file imagerdfimpl.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Oct 15 2021 23:04:47 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.