Syndication::ImageAtomImpl

Search for usage in LXR

Syndication::ImageAtomImpl Class Reference

#include <imageatomimpl.h>

Inheritance diagram for Syndication::ImageAtomImpl:

Public Member Functions

 ImageAtomImpl (const QString &logoURI)
 
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 imageatomimpl.h.

Constructor & Destructor Documentation

◆ ImageAtomImpl()

Syndication::ImageAtomImpl::ImageAtomImpl ( const QString & logoURI)
inlineexplicit

Definition at line 28 of file imageatomimpl.h.

Member Function Documentation

◆ description()

QString Syndication::ImageAtomImpl::description ( ) const
inlineoverridevirtual

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 53 of file imageatomimpl.h.

◆ height()

uint Syndication::ImageAtomImpl::height ( ) const
inlineoverridevirtual

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 63 of file imageatomimpl.h.

◆ isNull()

bool Syndication::ImageAtomImpl::isNull ( ) const
inlineoverridevirtual

returns whether this image is a null object.

Implements Syndication::Image.

Definition at line 33 of file imageatomimpl.h.

◆ link()

QString Syndication::ImageAtomImpl::link ( ) const
inlineoverridevirtual

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 48 of file imageatomimpl.h.

◆ title()

QString Syndication::ImageAtomImpl::title ( ) const
inlineoverridevirtual

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 43 of file imageatomimpl.h.

◆ url()

QString Syndication::ImageAtomImpl::url ( ) const
inlineoverridevirtual

the URL of a GIF, JPEG or PNG image

Implements Syndication::Image.

Definition at line 38 of file imageatomimpl.h.

◆ width()

uint Syndication::ImageAtomImpl::width ( ) const
inlineoverridevirtual

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 58 of file imageatomimpl.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.