Syndication

imagerdfimpl.h
1 /*
2  This file is part of the syndication library
3  SPDX-FileCopyrightText: 2006 Frank Osterfeld <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7 
8 #ifndef SYNDICATION_MAPPER_IMAGERDFIMPL_H
9 #define SYNDICATION_MAPPER_IMAGERDFIMPL_H
10 
11 #include <QString>
12 #include <image.h>
13 #include <rdf/image.h>
14 
15 namespace Syndication
16 {
17 class ImageRDFImpl;
18 typedef QSharedPointer<ImageRDFImpl> ImageRDFImplPtr;
19 
20 /**
21  *
22  * @internal
23  * @author Frank Osterfeld
24  */
26 {
27 public:
28  explicit ImageRDFImpl(const Syndication::RDF::Image &image);
29 
30  bool isNull() const override;
31 
32  QString url() const override;
33 
34  QString title() const override;
35 
36  QString link() const override;
37 
38  QString description() const override;
39 
40  uint width() const override;
41 
42  uint height() const override;
43 
44 private:
46 };
47 
48 } // namespace Syndication
49 
50 #endif // SYNDICATION_MAPPER_IMAGERDFIMPL_H
QString url() const override
the URL of a GIF, JPEG or PNG image
QString title() const override
Describes the image, can be used in the ALT attribute of the HTML <img> tag when the channel is rende...
This class represents an image file on the web.
Definition: image.h:30
QString description() const override
optional text that can be included in the TITLE attribute of the link formed around the image in HTML...
QString link() const override
The URL of the site, when the channel is rendered, the image should be a link to the site.
An image to be associated with an HTML rendering of the channel.
Definition: rdf/image.h:26
uint height() const override
The height of the image in pixels.
uint width() const override
The width of the image in pixels.
bool isNull() const override
returns whether this image is a null object.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 2 2023 03:51:47 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.