akregator
#include <subscriptionlistmodel.h>
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
Enumerator | |
---|---|
TitleColumn | |
UnreadCountColumn | |
TotalCountColumn | |
ColumnCount |
Definition at line 56 of file subscriptionlistmodel.h.
Enumerator | |
---|---|
SubscriptionIdRole | |
IsFetchableRole | |
IsGroupRole | |
IsAggregationRole | |
LinkRole | |
IdRole | |
IsOpenRole | |
HasUnreadRole |
Definition at line 45 of file subscriptionlistmodel.h.
Constructor & Destructor Documentation
|
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:
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.