Nepomuk-Core
#include <abstract-grouping-proxy-model.h>
Public Member Functions | |
AbstractGroupingProxyModel (QAbstractItemModel *source) | |
virtual | ~AbstractGroupingProxyModel () |
virtual QVariant | dataForGroup (const QString &group, int role) const =0 |
void | forceGroup (const QString &group) |
void | groupChanged (const QString &group) |
virtual QSet< QString > | groupsForIndex (const QModelIndex &sourceIndex) const =0 |
void | unforceGroup (const QString &group) |
Detailed Description
Definition at line 35 of file abstract-grouping-proxy-model.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 130 of file abstract-grouping-proxy-model.cpp.
|
virtual |
Definition at line 142 of file abstract-grouping-proxy-model.cpp.
Member Function Documentation
|
pure virtual |
Equivalent of QAbstractItemModel::data() called for a specific group header.
Implemented in KTp::GroupsTreeProxyModel, and KTp::AccountsTreeProxyModel.
void KTp::AbstractGroupingProxyModel::forceGroup | ( | const QString & | group | ) |
Definition at line 148 of file abstract-grouping-proxy-model.cpp.
void KTp::AbstractGroupingProxyModel::groupChanged | ( | const QString & | group | ) |
Definition at line 171 of file abstract-grouping-proxy-model.cpp.
|
pure virtual |
Return a list of all groups this items belongs to.
Subclasses must override this
Implemented in KTp::GroupsTreeProxyModel, and KTp::AccountsTreeProxyModel.
void KTp::AbstractGroupingProxyModel::unforceGroup | ( | const QString & | group | ) |
Definition at line 154 of file abstract-grouping-proxy-model.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.