1/*
2 This file is part of the syndication library
3
4 SPDX-FileCopyrightText: 2006 Frank Osterfeld <osterfeld@kde.org>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8
9#ifndef SYNDICATION_MAPPER_ITEMATOMIMPL_H
10#define SYNDICATION_MAPPER_ITEMATOMIMPL_H
11
12#include <atom/entry.h>
13#include <item.h>
14
15namespace Syndication
16{
17class ItemAtomImpl;
18typedef QSharedPointer<ItemAtomImpl> ItemAtomImplPtr;
19
20/**
21 * @internal
22 */
23class ItemAtomImpl : public Syndication::Item
24{
25public:
26 explicit ItemAtomImpl(const Syndication::Atom::Entry &entry);
27
28 QString title() const override;
29
30 QString link() const override;
31
32 QString description() const override;
33
34 QString content() const override;
35
36 QList<PersonPtr> authors() const override;
37
38 QString language() const override;
39
40 QString id() const override;
41
42 time_t datePublished() const override;
43
44 time_t dateUpdated() const override;
45
46 QList<EnclosurePtr> enclosures() const override;
47
48 QList<CategoryPtr> categories() const override;
49
50 SpecificItemPtr specificItem() const override;
51
52 int commentsCount() const override;
53
54 QString commentsLink() const override;
55
56 QString commentsFeed() const override;
57
58 QString commentPostUri() const override;
59
60 QMultiMap<QString, QDomElement> additionalProperties() const override;
61
62private:
63 Syndication::Atom::Entry m_entry;
64};
65
66} // namespace Syndication
67
68#endif // SYNDICATION_MAPPER_ITEMATOMIMPL_H
69

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