akregator
#include <article.h>
| Public Types | |
| enum | ContentOption { ContentAndOnlyContent, DescriptionAsFallback } | 
| Public Member Functions | |
| Article () | |
| Article (const QString &guid, Feed *feed) | |
| Article (const Syndication::ItemPtr &article, Feed *feed) | |
| Article (const Syndication::ItemPtr &article, Backend::FeedStorage *archive) | |
| Article (const Article &other) | |
| ~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 | 
| boost::shared_ptr< const Syndication::Enclosure > | enclosure () 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 | 
| QDateTime | pubDate () const | 
| int | status () const | 
| void | swap (Article &other) | 
| QString | title () const | 
Detailed Description
A proxy class for Syndication::ItemPtr with some additional methods to assist sorting.
Member Enumeration Documentation
Constructor & Destructor Documentation
| Akregator::Article::Article | ( | ) | 
Definition at line 237 of file article.cpp.
| Akregator::Article::Article | ( | const QString & | guid, | 
| Feed * | feed | ||
| ) | 
creates am article object for an existing article.
The constructor accesses the archive to load it's data
Definition at line 241 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
Definition at line 245 of file article.cpp.
| Akregator::Article::Article | ( | const Syndication::ItemPtr & | article, | 
| Backend::FeedStorage * | archive | ||
| ) | 
Definition at line 249 of file article.cpp.
| Akregator::Article::Article | ( | const Article & | other | ) | 
Definition at line 284 of file article.cpp.
| Akregator::Article::~Article | ( | ) | 
Definition at line 289 of file article.cpp.
Member Function Documentation
| QString Akregator::Article::authorAsHtml | ( | ) | const | 
Definition at line 423 of file article.cpp.
| QString Akregator::Article::authorEMail | ( | ) | const | 
Definition at line 392 of file article.cpp.
| QString Akregator::Article::authorName | ( | ) | const | 
Definition at line 383 of file article.cpp.
| QString Akregator::Article::authorShort | ( | ) | const | 
Definition at line 410 of file article.cpp.
| QString Akregator::Article::authorUri | ( | ) | const | 
Definition at line 401 of file article.cpp.
| int Akregator::Article::comments | ( | ) | const | 
Definition at line 474 of file article.cpp.
| KUrl Akregator::Article::commentsLink | ( | ) | const | 
Definition at line 468 of file article.cpp.
| QString Akregator::Article::content | ( | ContentOption | opt = ContentAndOnlyContent | ) | const | 
Definition at line 457 of file article.cpp.
| QString Akregator::Article::description | ( | ) | const | 
Definition at line 452 of file article.cpp.
| shared_ptr< const Enclosure > Akregator::Article::enclosure | ( | ) | const | 
Definition at line 516 of file article.cpp.
| Feed * Akregator::Article::feed | ( | ) | const | 
Definition at line 508 of file article.cpp.
| QString Akregator::Article::guid | ( | ) | const | 
Definition at line 463 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 485 of file article.cpp.
| bool Akregator::Article::guidIsPermaLink | ( | ) | const | 
Definition at line 480 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 490 of file article.cpp.
| bool Akregator::Article::isDeleted | ( | ) | const | 
Definition at line 279 of file article.cpp.
| bool Akregator::Article::isNull | ( | ) | const | 
Definition at line 253 of file article.cpp.
| bool Akregator::Article::keep | ( | ) | const | 
if true, the article should be kept even when expired
Definition at line 495 of file article.cpp.
| KUrl Akregator::Article::link | ( | ) | const | 
Definition at line 447 of file article.cpp.
| void Akregator::Article::offsetPubDate | ( | int | secs | ) | 
Definition at line 258 of file article.cpp.
| bool Akregator::Article::operator!= | ( | const Article & | other | ) | const | 
Definition at line 333 of file article.cpp.
| bool Akregator::Article::operator< | ( | const Article & | other | ) | const | 
Definition at line 306 of file article.cpp.
| bool Akregator::Article::operator<= | ( | const Article & | other | ) | const | 
Definition at line 312 of file article.cpp.
Definition at line 298 of file article.cpp.
| bool Akregator::Article::operator== | ( | const Article & | other | ) | const | 
Definition at line 328 of file article.cpp.
| bool Akregator::Article::operator> | ( | const Article & | other | ) | const | 
Definition at line 317 of file article.cpp.
| bool Akregator::Article::operator>= | ( | const Article & | other | ) | const | 
Definition at line 323 of file article.cpp.
| QDateTime Akregator::Article::pubDate | ( | ) | const | 
Definition at line 511 of file article.cpp.
| int Akregator::Article::status | ( | ) | const | 
Definition at line 338 of file article.cpp.
| QString Akregator::Article::title | ( | ) | const | 
Definition at line 374 of file article.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
 KDE API Reference
    KDE API Reference