akregator
#include <articlemodel.h>

Public Types | |
| enum | Column {  ItemTitleColumn =0, FeedTitleColumn, AuthorColumn, DateColumn, DescriptionColumn, ContentColumn, ColumnCount }  | 
| enum | Role {  SortRole =Qt::UserRole, LinkRole, GuidRole, ItemIdRole, FeedIdRole, StatusRole, IsImportantRole, IsDeletedRole }  | 
Public Slots | |
| void | articlesAdded (Akregator::TreeNode *, const QList< Akregator::Article > &) | 
| void | articlesRemoved (Akregator::TreeNode *, const QList< Akregator::Article > &) | 
| void | articlesUpdated (Akregator::TreeNode *, const QList< Akregator::Article > &) | 
| void | clear () | 
Public Member Functions | |
| ArticleModel (const QList< Article > &articles, QObject *parent=0) | |
| ~ArticleModel () | |
| Article | article (int row) const | 
| int | columnCount (const QModelIndex &parent=QModelIndex()) const | 
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const | 
| Qt::ItemFlags | flags (const QModelIndex &idx) const | 
| QVariant | headerData (int section, Qt::Orientation, int role) const | 
| QMimeData * | mimeData (const QModelIndexList &indexes) const | 
| QStringList | mimeTypes () const | 
| int | rowCount (const QModelIndex &parent=QModelIndex()) const | 
| bool | rowMatches (int row, const boost::shared_ptr< const Akregator::Filters::AbstractMatcher > &matcher) const | 
Detailed Description
Definition at line 44 of file articlemodel.h.
Member Enumeration Documentation
| Enumerator | |
|---|---|
| ItemTitleColumn | |
| FeedTitleColumn | |
| AuthorColumn | |
| DateColumn | |
| DescriptionColumn | |
| ContentColumn | |
| ColumnCount | |
Definition at line 50 of file articlemodel.h.
| Enumerator | |
|---|---|
| SortRole | |
| LinkRole | |
| GuidRole | |
| ItemIdRole | |
| FeedIdRole | |
| StatusRole | |
| IsImportantRole | |
| IsDeletedRole | |
Definition at line 60 of file articlemodel.h.
Constructor & Destructor Documentation
      
  | 
  explicit | 
Definition at line 79 of file articlemodel.cpp.
| Akregator::ArticleModel::~ArticleModel | ( | ) | 
Definition at line 83 of file articlemodel.cpp.
Member Function Documentation
| Article ArticleModel::article | ( | int | row | ) | const | 
Definition at line 263 of file articlemodel.cpp.
      
  | 
  slot | 
Definition at line 193 of file articlemodel.cpp.
      
  | 
  slot | 
Definition at line 197 of file articlemodel.cpp.
      
  | 
  slot | 
Definition at line 200 of file articlemodel.cpp.
      
  | 
  slot | 
Definition at line 186 of file articlemodel.cpp.
| int Akregator::ArticleModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const | 
Definition at line 88 of file articlemodel.cpp.
| QVariant Akregator::ArticleModel::data | ( | const QModelIndex & | index, | 
| int | role = Qt::DisplayRole  | 
        ||
| ) | const | 
Definition at line 122 of file articlemodel.cpp.
| Qt::ItemFlags ArticleModel::flags | ( | const QModelIndex & | idx | ) | const | 
Definition at line 293 of file articlemodel.cpp.
| QVariant Akregator::ArticleModel::headerData | ( | int | section, | 
| Qt::Orientation | , | ||
| int | role | ||
| ) | const | 
Definition at line 98 of file articlemodel.cpp.
| QMimeData * ArticleModel::mimeData | ( | const QModelIndexList & | indexes | ) | const | 
Definition at line 275 of file articlemodel.cpp.
| QStringList ArticleModel::mimeTypes | ( | ) | const | 
Definition at line 270 of file articlemodel.cpp.
| int Akregator::ArticleModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const | 
Definition at line 93 of file articlemodel.cpp.
| bool ArticleModel::rowMatches | ( | int | row, | 
| const boost::shared_ptr< const Akregator::Filters::AbstractMatcher > & | matcher | ||
| ) | const | 
Definition at line 257 of file articlemodel.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