Syndication

itemrdfimpl.h
1 /*
2  This file is part of the syndication library
3  SPDX-FileCopyrightText: 2006 Frank Osterfeld <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7 
8 #ifndef SYNDICATION_MAPPER_ITEMRDFIMPL_H
9 #define SYNDICATION_MAPPER_ITEMRDFIMPL_H
10 
11 #include <item.h>
12 #include <rdf/item.h>
13 
14 #include <QString>
15 
16 namespace Syndication
17 {
18 class ItemRDFImpl;
19 typedef QSharedPointer<ItemRDFImpl> ItemRDFImplPtr;
20 
21 /**
22  * @internal
23  */
25 {
26 public:
27  explicit ItemRDFImpl(const Syndication::RDF::Item &item);
28 
29  QString title() const override;
30 
31  QString link() const override;
32 
33  QString description() const override;
34 
35  QString content() const override;
36 
37  QList<PersonPtr> authors() const override;
38 
39  QString language() const override;
40 
41  QString id() const override;
42 
43  time_t datePublished() const override;
44 
45  time_t dateUpdated() const override;
46 
47  QList<EnclosurePtr> enclosures() const override;
48 
49  QList<CategoryPtr> categories() const override;
50 
51  SpecificItemPtr specificItem() const override;
52 
53  int commentsCount() const override;
54 
55  QString commentsLink() const override;
56 
57  QString commentsFeed() const override;
58 
59  QString commentPostUri() const override;
60 
62 
63 private:
65 };
66 
67 } // namespace Syndication
68 
69 #endif // SYNDICATION_MAPPER_ITEMRDFIMPL_H
QMultiMap< QString, QDomElement > additionalProperties() const override
returns a list of item metadata not covered by this class.
An item from a news feed.
Definition: item.h:44
int commentsCount() const override
The number of comments posted for this item.
QString description() const override
returns the description of the item.
Definition: itemrdfimpl.cpp:46
QString link() const override
returns a link to the (web) resource described by this item.
Definition: itemrdfimpl.cpp:41
QString title() const override
The title of the item.
Definition: itemrdfimpl.cpp:36
QList< EnclosurePtr > enclosures() const override
returns a list of enclosures describing files available on the net.
Definition: itemrdfimpl.cpp:99
QList< CategoryPtr > categories() const override
returns a list of categories this item is filed in.
SpecificItemPtr specificItem() const override
returns the format-specific item this object abstracts from.
QString content() const override
returns the content of the item.
Definition: itemrdfimpl.cpp:51
QString commentsFeed() const override
URL of feed syndicating comments belonging to this item.
QList< PersonPtr > authors() const override
returns a list of persons who created the item content.
Definition: itemrdfimpl.cpp:56
QString id() const override
returns an identifier that identifies the item within its feed.
Definition: itemrdfimpl.cpp:80
QString commentPostUri() const override
URI that can be used to post comments via an HTTP POST request using the Comment API.
An RSS 1.0 item.
Definition: rdf/item.h:34
Definition: feed.h:20
time_t dateUpdated() const override
returns the date when the item was modified the last time.
Definition: itemrdfimpl.cpp:94
QString language() const override
returns the language used in the item&#39;s content
Definition: itemrdfimpl.cpp:75
time_t datePublished() const override
returns the date when the item was initially published.
Definition: itemrdfimpl.cpp:89
QString commentsLink() const override
Link to an HTML site which contains the comments belonging to this item.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Nov 26 2021 23:04:17 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.