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_FEEDRDFIMPL_H
9#define SYNDICATION_MAPPER_FEEDRDFIMPL_H
10
11#include <feed.h>
12#include <rdf/document.h>
13
14namespace Syndication
15{
16class FeedRDFImpl;
17typedef QSharedPointer<FeedRDFImpl> FeedRDFImplPtr;
18class Image;
19typedef QSharedPointer<Image> ImagePtr;
20
21/**
22 * @internal
23 */
24class FeedRDFImpl : public Syndication::Feed
25{
26public:
27 explicit FeedRDFImpl(Syndication::RDF::DocumentPtr doc);
28
29 Syndication::SpecificDocumentPtr specificDocument() const override;
30
31 QList<ItemPtr> items() const override;
32
33 QList<CategoryPtr> categories() const override;
34
35 QString title() const override;
36
37 QString link() const override;
38
39 QString description() const override;
40
41 QList<PersonPtr> authors() const override;
42
43 QString language() const override;
44
45 QString copyright() const override;
46
47 ImagePtr image() const override;
48
49 QMultiMap<QString, QDomElement> additionalProperties() const override;
50
51 ImagePtr icon() const override;
52
53private:
54 Syndication::RDF::DocumentPtr m_doc;
55};
56
57} // namespace Syndication
58
59#endif // SYNDICATION_MAPPER_FEEDRDFIMPL_H
60

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