akregator
articlemodel.cpp
Go to the documentation of this file.
80 Akregator::ArticleModel::ArticleModel(const QList<Article>& articles, QObject* parent) : QAbstractTableModel( parent ), d( new Private( articles, this ) )
258 bool ArticleModel::rowMatches( int row, const boost::shared_ptr<const Akregator::Filters::AbstractMatcher>& matcher ) const
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
QMimeData * mimeData(const QModelIndexList &indexes) const
Definition: articlemodel.cpp:276
void push_back(const T &value)
QString simplified() const
int rowCount(const QModelIndex &parent=QModelIndex()) const
Definition: articlemodel.cpp:94
T value() const
Qt::ItemFlags flags(const QModelIndex &idx) const
Definition: articlemodel.cpp:294
ArticleModel(const QList< Article > &articles, QObject *parent=0)
Definition: articlemodel.cpp:80
QString & remove(int position, int n)
int size() const
void reset()
QVariant headerData(int section, Qt::Orientation, int role) const
Definition: articlemodel.cpp:99
bool isValid() const
bool isEmpty() const
int row() const
QString xmlUrl() const
returns the url of the actual feed source (rss/rdf/atom file)
Definition: feed.cpp:372
Definition: article.h:41
bool rowMatches(int row, const boost::shared_ptr< const Akregator::Filters::AbstractMatcher > &matcher) const
Definition: articlemodel.cpp:258
int columnCount(const QModelIndex &parent=QModelIndex()) const
Definition: articlemodel.cpp:89
void articlesAdded(Akregator::TreeNode *, const QList< Akregator::Article > &)
Definition: articlemodel.cpp:194
bool isValid() const
QVariant data(int role) const
int column() const
void articlesUpdated(Akregator::TreeNode *, const QList< Akregator::Article > &)
Definition: articlemodel.cpp:201
A proxy class for Syndication::ItemPtr with some additional methods to assist sorting.
Definition: article.h:63
QString fromLatin1(const char *str, int size)
virtual Qt::ItemFlags flags(const QModelIndex &index) const
Abstract base class for all kind of elements in the feed tree, like feeds and feed groups (and search...
Definition: treenode.h:58
QString toString() const
Definition: articlemodel.h:46
void articlesRemoved(Akregator::TreeNode *, const QList< Akregator::Article > &)
Definition: articlemodel.cpp:198
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: articlemodel.cpp:123
typedef ItemFlags
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.