KItemModels
kdescendantsproxymodel_qml.cpp
Proxy Model for restructuring a Tree into a list.
Definition kdescendantsproxymodel.h:61
void collapseSourceIndex(const QModelIndex &sourceIndex)
Maps a source index as collapsed in the proxy, all its children will be hidden.
Definition kdescendantsproxymodel.cpp:287
bool isSourceIndexExpanded(const QModelIndex &sourceIndex) const
Definition kdescendantsproxymodel.cpp:237
void expandSourceIndex(const QModelIndex &sourceIndex)
Maps a source index as expanded in the proxy, all its children will become visible.
Definition kdescendantsproxymodel.cpp:267
virtual bool hasChildren(const QModelIndex &parent) const const
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const=0
virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const const=0
sourceModel
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:51:41 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:51:41 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.