Nepomuk-Core
Go to the documentation of this file.
22 #ifndef KTP_ABSTRACT_GROUPING_PROXY_MODEL_H
23 #define KTP_ABSTRACT_GROUPING_PROXY_MODEL_H
25 #include <QStandardItemModel>
42 void forceGroup(
const QString &group);
43 void unforceGroup(
const QString &group);
45 void groupChanged(
const QString &group);
49 virtual QSet<QString> groupsForIndex(
const QModelIndex &sourceIndex)
const = 0;
51 virtual QVariant dataForGroup(
const QString &group,
int role)
const = 0;
54 void onRowsInserted(
const QModelIndex &sourceParent,
int start,
int end);
55 void onRowsRemoved(
const QModelIndex &sourceParent,
int start,
int end);
56 void onDataChanged(
const QModelIndex &sourceTopLeft,
const QModelIndex &sourceBottomRight);
67 void addProxyNode(
const QModelIndex &sourceIndex, QStandardItem *parent);
69 void removeProxyNodes(
const QModelIndex &sourceIndex,
const QList<ProxyNode *> &removedItems);
73 GroupNode *itemForGroup(
const QString &group);
This file is part of the KDE documentation.
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.