Syndication

itematomimpl.h
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 */
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
61
62private:
64};
65
66} // namespace Syndication
67
68#endif // SYNDICATION_MAPPER_ITEMATOMIMPL_H
an Atom entry, equivalent to the "items" in the RSS world.
Definition entry.h:39
QString commentsFeed() const override
URL of feed syndicating comments belonging to this item.
QString commentsLink() const override
Link to an HTML site which contains the comments belonging to this item.
SpecificItemPtr specificItem() const override
returns the format-specific item this object abstracts from.
QList< EnclosurePtr > enclosures() const override
returns a list of enclosures describing files available on the net.
int commentsCount() const override
The number of comments posted for this item.
QString commentPostUri() const override
URI that can be used to post comments via an HTTP POST request using the Comment API.
QList< PersonPtr > authors() const override
returns a list of persons who created the item content.
time_t dateUpdated() const override
returns the date when the item was modified the last time.
time_t datePublished() const override
returns the date when the item was initially published.
QString link() const override
returns a link to the (web) resource described by this item.
QList< CategoryPtr > categories() const override
returns a list of categories this item is filed in.
QMultiMap< QString, QDomElement > additionalProperties() const override
returns a list of item metadata not covered by this class.
QString id() const override
returns an identifier that identifies the item within its feed.
QString content() const override
returns the content of the item.
QString description() const override
returns the description of the item.
QString title() const override
The title of the item.
QString language() const override
returns the language used in the item's content
An item from a news feed.
Definition item.h:45
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:02:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.