KItemModels
kcheckableproxymodel.h
51 * @image html kcheckableproxymodel.png "A KCheckableProxyModel and KSelectionProxyModel showing checked items"
78 virtual bool select(const QItemSelection &selection, QItemSelectionModel::SelectionFlags command);
QAbstractItemModel(QObject *parent)
virtual QVariant data(const QModelIndex &proxyIndex, int role) const const override
virtual Qt::ItemFlags flags(const QModelIndex &index) const const override
virtual QHash< int, QByteArray > roleNames() const const override
virtual bool setData(const QModelIndex &index, const QVariant &value, int role) override
sourceModel
QIdentityProxyModel(QObject *parent)
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const override
virtual QModelIndex parent(const QModelIndex &child) const const override
virtual void setSourceModel(QAbstractItemModel *newSourceModel) override
typedef SelectionFlags
Q_OBJECTQ_OBJECT
DisplayRole
typedef ItemFlags
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.