Search for usage in LXR

Syndication::RDF::Image Class Reference

#include <image.h>

Inherits Syndication::RDF::ResourceWrapper.

Public Member Functions

 Image ()
 Image (ResourcePtr resource)
 ~Image () override
QString debugInfo () const
QString link () const
QString title () const
QString url () 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]

Syndication::RDF::Image::Image ( ResourcePtr  resource)

creates an image object by wrapping an image resource

resourcethe image resource to wrap

Definition at line 21 of file rdf/image.cpp.

◆ ~Image()

Syndication::RDF::Image::~Image ( )


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.

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.

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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 03:57:11 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.