akonadi
Akonadi::SubscriptionChangeProxyModel Class Reference
#include <subscriptionchangeproxymodel_p.h>
Inherits QSortFilterProxyModel.
Public Member Functions | |
| SubscriptionChangeProxyModel (bool subscribed, QObject *parent=0) | |
| ~SubscriptionChangeProxyModel () | |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
Protected Member Functions | |
| bool | filterAcceptsRow (int row, const QModelIndex &parent) const |
Detailed Description
For internal use only.
Proxy model that can be used on top of a SubscriptionModel to filter out only the actual changes.
Definition at line 33 of file subscriptionchangeproxymodel_p.h.
Constructor & Destructor Documentation
| SubscriptionChangeProxyModel::SubscriptionChangeProxyModel | ( | bool | subscribed, | |
| QObject * | parent = 0 | |||
| ) | [explicit] |
Create a new subscription change proxy model.
- Parameters:
-
subscribed trueto list only newly subscribed collections,falseto list only newly unsubscribed collections.parent The parent object.
Definition at line 37 of file subscriptionchangeproxymodel.cpp.
| SubscriptionChangeProxyModel::~SubscriptionChangeProxyModel | ( | ) |
Destructor.
Definition at line 45 of file subscriptionchangeproxymodel.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference