akregator/src/librss
RSS::Article Class Reference
#include <article.h>
Detailed Description
Represents an article as stored in a RSS file.You don't have to instantiate one of these yourself, the common way to access instances is via Document::articles().
- See also:
- Document::articles()
Definition at line 37 of file article.h.
Public Types | |
typedef QValueList< Article > | List |
typedef QMap< QString, QString > | MetaInfoMap |
Public Member Functions | |
Article () | |
Article (const Article &other) | |
Article (const QDomNode &node, Format format, Version version) | |
Article & | operator= (const Article &other) |
bool | operator== (const Article &other) const |
bool | operator!= (const Article &other) const |
virtual | ~Article () |
QString | title () const |
const KURL & | link () const |
QString | description () const |
QString | author () const |
QString | guid () const |
bool | guidIsPermaLink () const |
const QDateTime & | pubDate () const |
const KURL & | commentsLink () const |
int | comments () const |
Enclosure | enclosure () const |
QValueList< Category > | categories () const |
QString | meta (const QString &key) const |
KURLLabel * | widget (QWidget *parent=0, const char *name=0) const |
Member Typedef Documentation
|
A list of articles.
|
Constructor & Destructor Documentation
|
Default constructor.
|
|
Copy constructor.
|
|
Constructs an Article from a piece of RSS markup.
|
|
Destructor.
|
Member Function Documentation
|
a string desribing the author of the item.
|
|
returns a list of categories this article is assigned to. (RSS2 only, Atom is not supported yet) |
|
RSS 0.91 and upwards.
|
|
RSS 2.0 and upwards.
|
|
RSS 2.0 and upwards.
|
|
RSS 0.90 and upwards.
|
|
Convenience method. Simply calls !operator==().
|
|
Assignment operator.
|
|
Compares two articles. Two articles are treated to be identical if all their properties (title, link, description etc.) are equal.
|
|
RSS 2.0 and upwards.
|
|
RSS 0.90 and upwards.
|
|
|
The documentation for this class was generated from the following file: