• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

syndication/rdf

  • Syndication
  • RDF
  • Image
Public Member Functions | List of all members
Syndication::RDF::Image Class Reference

#include <image.h>

Inheritance diagram for Syndication::RDF::Image:
Inheritance graph
[legend]

Public Member Functions

 Image ()
 
 Image (ResourcePtr resource)
 
virtual ~Image ()
 
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 41 of file image.h.

Constructor & Destructor Documentation

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

creates a wrapper wrapping a null resource

Definition at line 32 of file 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 36 of file image.cpp.

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

destructor

Definition at line 40 of file 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 59 of file 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 49 of file 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 44 of file image.cpp.

QString Syndication::RDF::Image::url ( ) const

the URL of the image file

Definition at line 54 of file image.cpp.


The documentation for this class was generated from the following files:
  • image.h
  • image.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

syndication/rdf

Skip menu "syndication/rdf"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal