Syndication

imagerss2impl.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_IMAGERSS2IMPL_H
9 #define SYNDICATION_MAPPER_IMAGERSS2IMPL_H
10 
11 #include <image.h>
12 #include <rss2/image.h>
13 
14 namespace Syndication
15 {
16 class ImageRSS2Impl;
17 typedef QSharedPointer<ImageRSS2Impl> ImageRSS2ImplPtr;
18 
19 /**
20  *
21  * @internal
22  * @author Frank Osterfeld
23  */
25 {
26 public:
27  explicit ImageRSS2Impl(const Syndication::RSS2::Image &image);
28 
29  bool isNull() const override;
30 
31  QString url() const override;
32 
33  QString title() const override;
34 
35  QString link() const override;
36 
37  QString description() const override;
38 
39  uint width() const override;
40 
41  uint height() const override;
42 
43 private:
45 };
46 
47 } // namespace Syndication
48 
49 #endif // SYNDICATION_MAPPER_IMAGERSS2IMPL_H
uint width() const override
The width of the image in pixels.
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
bool isNull() const override
returns whether this image is a null object.
QString description() const override
optional text that can be included in the TITLE attribute of the link formed around the image in HTML...
QString url() const override
the URL of a GIF, JPEG or PNG image
An RSS2 image, used to describe feed logos.
Definition: rss2/image.h:23
uint height() const override
The height of the image in pixels.
QString link() const override
The URL of the site, when the channel is rendered, the image should be a link to the site...
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Dec 2 2021 22:55:35 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.