Syndication::RDF::Image

Search for usage in LXR

Syndication::RDF::Image Class Reference

#include <image.h>

Inheritance diagram for Syndication::RDF::Image:

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
 
ResourceWrapperoperator= (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

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

creates a wrapper wrapping a null resource

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

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

creates an image object by wrapping an image resource

Parameters
resourcethe image resource to wrap

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

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

destructor

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

Member Function Documentation

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.

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.

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.

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-2021 The KDE developers.
Generated on Mon Nov 29 2021 22:54:36 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.