akregator
article.cpp
Go to the documentation of this file.
120 EnclosureImpl( const QString& url, const QString& type, uint length ) : m_url( url ), m_type( type ), m_length( length ) {}
154 Article::Private::Private( const ItemPtr& article, Feed* feed_, Backend::FeedStorage* archive_ )
167 hash = Utils::calcHash(article->title() + article->description() + article->content() + article->link() + author);
237 Article::Article() : d( new Private )
241 Article::Article( const QString& guid, Feed* feed ) : d( new Private( guid, feed, feed->storage()->archiveFor( feed->xmlUrl() ) ) )
245 Article::Article( const ItemPtr& article, Feed* feed ) : d( new Private( article, feed, feed->storage()->archiveFor( feed->xmlUrl() ) ) )
249 Article::Article( const ItemPtr& article, Backend::FeedStorage* archive ) : d( new Private( article, 0, archive ) )
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
bool guidIsHash() const
returns if the guid is a hash or an ID taken from the source
Definition: article.cpp:485
QString simplified() const
article was fetched in the last fetch of it's feed and not read yet.
Definition: types.h:33
bool isNull() const
QString content(ContentOption opt=ContentAndOnlyContent) const
Definition: article.cpp:457
bool isEmpty() const
bool isEmpty() const
QString trimmed() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
Definition: feedstorage.h:66
T & first()
Definition: article.h:41
uint hash() const
returns a hash value used to detect changes in articles with non-hash GUIDs.
Definition: article.cpp:490
bool operator>=(const Article &other) const
Definition: article.cpp:323
bool operator==(const Article &other) const
Definition: article.cpp:328
QString & replace(int position, int n, QChar after)
QDateTime currentDateTime()
boost::shared_ptr< const Syndication::Enclosure > enclosure() const
Definition: article.cpp:516
int length() const
QString left(int n) const
A proxy class for Syndication::ItemPtr with some additional methods to assist sorting.
Definition: article.h:63
QString fromLatin1(const char *str, int size)
bool operator!=(const Article &other) const
Definition: article.cpp:333
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
bool operator<=(const Article &other) const
Definition: article.cpp:312
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.