akregator
Akregator::ArticleModel Class Reference
#include <articlemodel.h>
Inheritance diagram for Akregator::ArticleModel:

Detailed Description
Definition at line 43 of file 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 Member Functions | |
| Article | article (int row) const |
| ArticleModel (Akregator::TreeNode *node, QObject *parent=0) | |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| QVariant | headerData (int section, Qt::Orientation, int role) const |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| bool | rowMatches (int row, const boost::shared_ptr< const Akregator::Filters::AbstractMatcher > &matcher) const |
| ~ArticleModel () | |
Member Enumeration Documentation
- Enumerator:
-
ItemTitleColumn FeedTitleColumn AuthorColumn DateColumn DescriptionColumn ContentColumn ColumnCount
Definition at line 49 of file articlemodel.h.
- Enumerator:
-
SortRole LinkRole GuidRole ItemIdRole FeedIdRole StatusRole IsImportantRole IsDeletedRole
Definition at line 59 of file articlemodel.h.
Constructor & Destructor Documentation
| Akregator::ArticleModel::ArticleModel | ( | Akregator::TreeNode * | node, | |
| QObject * | parent = 0 | |||
| ) | [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 255 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.
| QVariant Akregator::ArticleModel::headerData | ( | int | section, | |
| Qt::Orientation | , | |||
| int | role | |||
| ) | const |
Definition at line 98 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 249 of file articlemodel.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference