Syndication Library
23 #ifndef SYNDICATION_ITEM_H
24 #define SYNDICATION_ITEM_H
26 #include <QtCore/QString>
27 #include <boost/shared_ptr.hpp>
29 #include "ksyndication_export.h"
34 template <
class T>
class QList;
35 template <
class K,
class T>
class QMultiMap;
37 namespace Syndication {
41 typedef boost::shared_ptr<Category> CategoryPtr;
43 typedef boost::shared_ptr<Enclosure> EnclosurePtr;
45 typedef boost::shared_ptr<Item> ItemPtr;
47 typedef boost::shared_ptr<Person> PersonPtr;
49 typedef boost::shared_ptr<SpecificItem> SpecificItemPtr;
57 class SYNDICATION_EXPORT
Item
73 virtual SpecificItemPtr specificItem()
const = 0;
84 virtual QString title()
const = 0;
93 virtual QString link()
const = 0;
105 virtual QString description()
const = 0;
118 virtual QString content()
const = 0;
126 virtual time_t datePublished()
const = 0;
135 virtual time_t dateUpdated()
const = 0;
144 virtual QString id()
const = 0;
160 virtual QString language()
const = 0;
184 virtual int commentsCount()
const = 0;
192 virtual QString commentsLink()
const = 0;
199 virtual QString commentsFeed()
const = 0;
209 virtual QString commentPostUri()
const = 0;
234 virtual QString debugInfo()
const;
239 #endif // SYNDICATION_ITEM_H
An item from a news feed.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:32 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.