KDEUI
Go to the documentation of this file.
21 #ifndef KDESCENDANTSPROXYMODEL_P_H
22 #define KDESCENDANTSPROXYMODEL_P_H
24 #include <QtGui/QAbstractProxyModel>
26 class KDescendantsProxyModelPrivate;
98 void setRootIndex(
const QModelIndex &index);
137 void setDisplayAncestorData(
bool display );
142 bool displayAncestorData()
const;
147 void setAncestorSeparator(
const QString &separator );
152 QString ancestorSeparator()
const;
157 int descendantCount(
const QModelIndex &index )
const;
159 QModelIndex mapFromSource (
const QModelIndex & sourceIndex )
const;
160 QModelIndex mapToSource (
const QModelIndex & proxyIndex )
const;
162 virtual Qt::ItemFlags flags(
const QModelIndex &index )
const;
163 QVariant data(
const QModelIndex & index,
int role = Qt::DisplayRole )
const;
164 virtual int rowCount(
const QModelIndex & parent = QModelIndex() )
const;
165 virtual QVariant headerData(
int section, Qt::Orientation orientation,
int role)
const;
167 virtual QMimeData* mimeData(
const QModelIndexList & indexes )
const;
170 virtual bool hasChildren (
const QModelIndex & parent = QModelIndex() )
const;
171 virtual QModelIndex index(
int,
int,
const QModelIndex &parent = QModelIndex() )
const;
172 virtual QModelIndex parent(
const QModelIndex&)
const;
173 virtual int columnCount(
const QModelIndex& index = QModelIndex())
const;
175 virtual Qt::DropActions supportedDropActions()
const;
180 virtual QModelIndexList match(
const QModelIndex& start,
int role,
const QVariant& value,
181 int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags( Qt::MatchStartsWith | Qt::MatchWrap ) )
const;
187 KDescendantsProxyModelPrivate *d_ptr;
189 Q_PRIVATE_SLOT(d_func(),
void sourceRowsAboutToBeInserted(
const QModelIndex &,
int,
int))
190 Q_PRIVATE_SLOT(d_func(),
void sourceRowsInserted(
const QModelIndex &,
int,
int))
191 Q_PRIVATE_SLOT(d_func(),
void sourceRowsAboutToBeRemoved(
const QModelIndex &,
int,
int))
192 Q_PRIVATE_SLOT(d_func(),
void sourceRowsRemoved(
const QModelIndex &,
int,
int))
193 Q_PRIVATE_SLOT(d_func(),
void sourceRowsAboutToBeMoved(
const QModelIndex &,
int,
int,
const QModelIndex &,
int))
194 Q_PRIVATE_SLOT(d_func(),
void sourceRowsMoved(
const QModelIndex &,
int,
int,
const QModelIndex &,
int))
195 Q_PRIVATE_SLOT(d_func(),
void sourceModelAboutToBeReset())
196 Q_PRIVATE_SLOT(d_func(),
void sourceModelReset())
197 Q_PRIVATE_SLOT(d_func(),
void sourceLayoutAboutToBeChanged())
198 Q_PRIVATE_SLOT(d_func(),
void sourceLayoutChanged())
199 Q_PRIVATE_SLOT(d_func(),
void sourceDataChanged(
const QModelIndex &,
const QModelIndex &))
200 Q_PRIVATE_SLOT(d_func(),
void sourceModelDestroyed())
202 Q_PRIVATE_SLOT(d_func(),
void processPendingParents())
Proxy Model for restructuring a Tree into a list.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:14 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.