11 #ifndef LIBRSS_ARTICLE_H
12 #define LIBRSS_ARTICLE_H
20 template <
class>
class TQValueList;
43 typedef TQValueList<Article>
List;
61 Article(
const TQDomNode &node, Format format, Version version);
77 bool operator==(
const Article &other)
const;
96 TQString title()
const;
105 const KURL &link()
const;
112 TQString description()
const;
117 TQString author()
const;
123 TQString guid()
const;
129 bool guidIsPermaLink()
const;
135 const TQDateTime &pubDate()
const;
137 const KURL &commentsLink()
const;
138 int comments()
const;
140 Enclosure enclosure()
const;
143 TQValueList<Category> categories()
const;
145 TQString meta(
const TQString &key)
const;
161 KURLLabel *widget(TQWidget *parent = 0,
const char *name = 0)
const;
163 typedef TQMap<TQString, TQString> MetaInfoMap;
171 #endif // LIBRSS_ARTICLE_H
TQValueList< Article > List
A list of articles.
bool operator!=(const Article &other) const
Convenience method.
Represents an article as stored in a RSS file.