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
Akonadi::SubscriptionChangeProxyModel::SubscriptionChangeProxyModel | ( | bool | subscribed, | |
QObject * | parent = 0 | |||
) | [explicit] |
Create a new subscription change proxy model.
- Parameters:
-
subscribed true
to list only newly subscribed collections,false
to list only newly unsubscribed collections.parent The parent object.
Akonadi::SubscriptionChangeProxyModel::~SubscriptionChangeProxyModel | ( | ) |
Destructor.
The documentation for this class was generated from the following file: