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_ITEMRSS2IMPL_H
9#define SYNDICATION_MAPPER_ITEMRSS2IMPL_H
10
11#include <item.h>
12#include <rss2/item.h>
13
14namespace Syndication
15{
16class ItemRSS2Impl;
17typedef QSharedPointer<ItemRSS2Impl> ItemRSS2ImplPtr;
18
19class ItemRSS2Impl : public Syndication::Item
20{
21public:
22 explicit ItemRSS2Impl(const Syndication::RSS2::Item &item);
23
24 QString title() const override;
25
26 QString link() const override;
27
28 QString description() const override;
29
30 QString content() const override;
31
32 QList<PersonPtr> authors() const override;
33
34 QString language() const override;
35
36 QString id() const override;
37
38 time_t datePublished() const override;
39
40 time_t dateUpdated() const override;
41
42 QList<EnclosurePtr> enclosures() const override;
43
44 QList<CategoryPtr> categories() const override;
45
46 SpecificItemPtr specificItem() const override;
47
48 int commentsCount() const override;
49
50 QString commentsLink() const override;
51
52 QString commentsFeed() const override;
53
54 QString commentPostUri() const override;
55
56 QMultiMap<QString, QDomElement> additionalProperties() const override;
57
58private:
59 Syndication::RSS2::Item m_item;
60};
61
62} // namespace Syndication
63
64#endif // SYNDICATION_MAPPER_ITEMRSS2IMPL_H
65

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