akregator
Akregator::Article Class Reference
#include <article.h>
Detailed Description
A proxy class for Syndication::ItemPtr with some additional methods to assist sorting.
Definition at line 59 of file article.h.
Public Types | |
| enum | ContentOption { ContentAndOnlyContent, DescriptionAsFallback } |
Public Member Functions | |
| Article (const Article &other) | |
| Article (const Syndication::ItemPtr &article, Backend::FeedStorage *archive) | |
| Article (const Syndication::ItemPtr &article, Feed *feed) | |
| Article (const QString &guid, Feed *feed) | |
| Article () | |
| QString | authorAsHtml () const |
| QString | authorEMail () const |
| QString | authorName () const |
| QString | authorShort () const |
| QString | authorUri () const |
| int | comments () const |
| KUrl | commentsLink () const |
| QString | content (ContentOption opt=ContentAndOnlyContent) const |
| QString | description () const |
| Feed * | feed () const |
| QString | guid () const |
| bool | guidIsHash () const |
| bool | guidIsPermaLink () const |
| uint | hash () const |
| bool | isDeleted () const |
| bool | isNull () const |
| bool | keep () const |
| KUrl | link () const |
| void | offsetPubDate (int secs) |
| bool | operator!= (const Article &other) const |
| bool | operator< (const Article &other) const |
| bool | operator<= (const Article &other) const |
| Article & | operator= (const Article &other) |
| bool | operator== (const Article &other) const |
| bool | operator> (const Article &other) const |
| bool | operator>= (const Article &other) const |
| const QDateTime & | pubDate () const |
| int | status () const |
| void | swap (Article &other) |
| QString | title () const |
| ~Article () | |
Member Enumeration Documentation
Constructor & Destructor Documentation
| Akregator::Article::Article | ( | ) |
Definition at line 205 of file article.cpp.
creates am article object for an existing article.
The constructor accesses the archive to load it's data
Definition at line 209 of file article.cpp.
| Akregator::Article::Article | ( | const Syndication::ItemPtr & | article, | |
| Feed * | feed | |||
| ) |
creates an article object from a parsed librss Article the article is added to the archive if not yet stored, or updated if stored but modified
| Akregator::Article::Article | ( | const Syndication::ItemPtr & | article, | |
| Backend::FeedStorage * | archive | |||
| ) |
| Akregator::Article::Article | ( | const Article & | other | ) |
Definition at line 252 of file article.cpp.
| Akregator::Article::~Article | ( | ) |
Definition at line 257 of file article.cpp.
Member Function Documentation
| QString Akregator::Article::authorAsHtml | ( | ) | const |
Definition at line 373 of file article.cpp.
| QString Akregator::Article::authorEMail | ( | ) | const |
Definition at line 351 of file article.cpp.
| QString Akregator::Article::authorName | ( | ) | const |
Definition at line 346 of file article.cpp.
| QString Akregator::Article::authorShort | ( | ) | const |
Definition at line 360 of file article.cpp.
| QString Akregator::Article::authorUri | ( | ) | const |
Definition at line 356 of file article.cpp.
| int Akregator::Article::comments | ( | ) | const |
Definition at line 421 of file article.cpp.
| KUrl Akregator::Article::commentsLink | ( | ) | const |
Definition at line 415 of file article.cpp.
| QString Akregator::Article::content | ( | ContentOption | opt = ContentAndOnlyContent |
) | const |
Definition at line 404 of file article.cpp.
| QString Akregator::Article::description | ( | ) | const |
Definition at line 399 of file article.cpp.
| Feed * Akregator::Article::feed | ( | ) | const |
Definition at line 455 of file article.cpp.
| QString Akregator::Article::guid | ( | ) | const |
Definition at line 410 of file article.cpp.
| bool Akregator::Article::guidIsHash | ( | ) | const |
returns if the guid is a hash or an ID taken from the source
Definition at line 432 of file article.cpp.
| bool Akregator::Article::guidIsPermaLink | ( | ) | const |
Definition at line 427 of file article.cpp.
| uint Akregator::Article::hash | ( | ) | const |
returns a hash value used to detect changes in articles with non-hash GUIDs.
If the guid is a hash itself, it returns 0
Definition at line 437 of file article.cpp.
| bool Akregator::Article::isDeleted | ( | ) | const |
Definition at line 247 of file article.cpp.
| bool Akregator::Article::isNull | ( | ) | const |
Definition at line 221 of file article.cpp.
| bool Akregator::Article::keep | ( | ) | const |
| KUrl Akregator::Article::link | ( | ) | const |
Definition at line 394 of file article.cpp.
| void Akregator::Article::offsetPubDate | ( | int | secs | ) |
Definition at line 226 of file article.cpp.
| bool Akregator::Article::operator!= | ( | const Article & | other | ) | const |
Definition at line 301 of file article.cpp.
| bool Akregator::Article::operator< | ( | const Article & | other | ) | const |
Definition at line 274 of file article.cpp.
| bool Akregator::Article::operator<= | ( | const Article & | other | ) | const |
Definition at line 280 of file article.cpp.
Definition at line 266 of file article.cpp.
| bool Akregator::Article::operator== | ( | const Article & | other | ) | const |
Definition at line 296 of file article.cpp.
| bool Akregator::Article::operator> | ( | const Article & | other | ) | const |
Definition at line 285 of file article.cpp.
| bool Akregator::Article::operator>= | ( | const Article & | other | ) | const |
Definition at line 291 of file article.cpp.
| const QDateTime & Akregator::Article::pubDate | ( | ) | const |
Definition at line 458 of file article.cpp.
| int Akregator::Article::status | ( | ) | const |
Definition at line 306 of file article.cpp.
| QString Akregator::Article::title | ( | ) | const |
Definition at line 341 of file article.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference