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_IMAGERDFIMPL_H
9#define SYNDICATION_MAPPER_IMAGERDFIMPL_H
10
11#include <QString>
12#include <image.h>
13#include <rdf/image.h>
14
15namespace Syndication
16{
17class ImageRDFImpl;
18typedef QSharedPointer<ImageRDFImpl> ImageRDFImplPtr;
19
20/**
21 *
22 * @internal
23 * @author Frank Osterfeld
24 */
25class ImageRDFImpl : public Syndication::Image
26{
27public:
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
44private:
45 Syndication::RDF::Image m_image;
46};
47
48} // namespace Syndication
49
50#endif // SYNDICATION_MAPPER_IMAGERDFIMPL_H
51

source code of syndication/src/mapper/imagerdfimpl.h