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

akregator

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

#include <subscriptionlistmodel.h>

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

Public Types

enum  Column { TitleColumn =0, UnreadCountColumn =1, TotalCountColumn =2, ColumnCount =3 }
 
enum  Role {
  SubscriptionIdRole =Qt::UserRole, IsFetchableRole, IsGroupRole, IsAggregationRole,
  LinkRole, IdRole, IsOpenRole, HasUnreadRole
}
 

Public Member Functions

 SubscriptionListModel (const boost::shared_ptr< const FeedList > &feedList, QObject *parent=0)
 
int columnCount (const QModelIndex &parent=QModelIndex()) const
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 
bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
 
Qt::ItemFlags flags (const QModelIndex &index) const
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
 
QMimeData * mimeData (const QModelIndexList &indexes) const
 
QStringList mimeTypes () const
 
uint nodeIdForIndex (const QModelIndex &index) const
 
QModelIndex parent (const QModelIndex &index) const
 
int rowCount (const QModelIndex &parent=QModelIndex()) const
 
bool setData (const QModelIndex &idx, const QVariant &value, int role=Qt::EditRole)
 

Detailed Description

Definition at line 40 of file subscriptionlistmodel.h.

Member Enumeration Documentation

enum Akregator::SubscriptionListModel::Column
Enumerator
TitleColumn 
UnreadCountColumn 
TotalCountColumn 
ColumnCount 

Definition at line 56 of file subscriptionlistmodel.h.

enum Akregator::SubscriptionListModel::Role
Enumerator
SubscriptionIdRole 
IsFetchableRole 
IsGroupRole 
IsAggregationRole 
LinkRole 
IdRole 
IsOpenRole 
HasUnreadRole 

Definition at line 45 of file subscriptionlistmodel.h.

Constructor & Destructor Documentation

Akregator::SubscriptionListModel::SubscriptionListModel ( const boost::shared_ptr< const FeedList > &  feedList,
QObject *  parent = 0 
)
explicit

Definition at line 85 of file subscriptionlistmodel.cpp.

Member Function Documentation

int Akregator::SubscriptionListModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 105 of file subscriptionlistmodel.cpp.

QVariant Akregator::SubscriptionListModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

Definition at line 124 of file subscriptionlistmodel.cpp.

bool SubscriptionListModel::dropMimeData ( const QMimeData *  data,
Qt::DropAction  action,
int  row,
int  column,
const QModelIndex &  parent 
)

Definition at line 423 of file subscriptionlistmodel.cpp.

Qt::ItemFlags SubscriptionListModel::flags ( const QModelIndex &  index) const

Definition at line 366 of file subscriptionlistmodel.cpp.

QVariant Akregator::SubscriptionListModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const

Definition at line 205 of file subscriptionlistmodel.cpp.

QModelIndex Akregator::SubscriptionListModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const

Definition at line 244 of file subscriptionlistmodel.cpp.

QMimeData * SubscriptionListModel::mimeData ( const QModelIndexList &  indexes) const

Definition at line 383 of file subscriptionlistmodel.cpp.

QStringList SubscriptionListModel::mimeTypes ( ) const

Definition at line 376 of file subscriptionlistmodel.cpp.

uint Akregator::SubscriptionListModel::nodeIdForIndex ( const QModelIndex &  index) const

Definition at line 119 of file subscriptionlistmodel.cpp.

QModelIndex Akregator::SubscriptionListModel::parent ( const QModelIndex &  index) const

Definition at line 223 of file subscriptionlistmodel.cpp.

int Akregator::SubscriptionListModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 110 of file subscriptionlistmodel.cpp.

bool SubscriptionListModel::setData ( const QModelIndex &  idx,
const QVariant &  value,
int  role = Qt::EditRole 
)

Definition at line 409 of file subscriptionlistmodel.cpp.


The documentation for this class was generated from the following files:
  • subscriptionlistmodel.h
  • subscriptionlistmodel.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:15 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