Syndication

imagerss2impl.h
1/*
2 This file is part of the syndication library
3 SPDX-FileCopyrightText: 2006 Frank Osterfeld <osterfeld@kde.org>
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
14namespace Syndication
15{
16class ImageRSS2Impl;
17typedef QSharedPointer<ImageRSS2Impl> ImageRSS2ImplPtr;
18
19/**
20 *
21 * @internal
22 * @author Frank Osterfeld
23 */
25{
26public:
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
43private:
45};
46
47} // namespace Syndication
48
49#endif // SYNDICATION_MAPPER_IMAGERSS2IMPL_H
bool isNull() const override
returns whether this image is a null object.
QString url() const override
the URL of a GIF, JPEG or PNG image
QString description() const override
optional text that can be included in the TITLE attribute of the link formed around the image in HTML...
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.
QString title() const override
Describes the image, can be used in the ALT attribute of the HTML <img> tag when the channel is rende...
uint width() const override
The width of the image in pixels.
This class represents an image file on the web.
Definition image.h:31
An RSS2 image, used to describe feed logos.
Definition rss2/image.h:24
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.