• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

akregator

  • Akregator
  • ArticleModel
Public Types | Public Slots | Public Member Functions | List of all members
Akregator::ArticleModel Class Reference

#include <articlemodel.h>

Inheritance diagram for Akregator::ArticleModel:
Inheritance graph
[legend]

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

enum Akregator::ArticleModel::Column
Enumerator
ItemTitleColumn 
FeedTitleColumn 
AuthorColumn 
DateColumn 
DescriptionColumn 
ContentColumn 
ColumnCount 

Definition at line 50 of file articlemodel.h.

enum Akregator::ArticleModel::Role
Enumerator
SortRole 
LinkRole 
GuidRole 
ItemIdRole 
FeedIdRole 
StatusRole 
IsImportantRole 
IsDeletedRole 

Definition at line 60 of file articlemodel.h.

Constructor & Destructor Documentation

Akregator::ArticleModel::ArticleModel ( const QList< Article > &  articles,
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 263 of file articlemodel.cpp.

void ArticleModel::articlesAdded ( Akregator::TreeNode *  ,
const QList< Akregator::Article > &  l 
)
slot

Definition at line 193 of file articlemodel.cpp.

void ArticleModel::articlesRemoved ( Akregator::TreeNode *  ,
const QList< Akregator::Article > &  l 
)
slot

Definition at line 197 of file articlemodel.cpp.

void ArticleModel::articlesUpdated ( Akregator::TreeNode *  ,
const QList< Akregator::Article > &  l 
)
slot

Definition at line 200 of file articlemodel.cpp.

void ArticleModel::clear ( )
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:
  • articlemodel.h
  • articlemodel.cpp
This file is part of the KDE documentation.
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.

akregator

Skip menu "akregator"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal