KItemModels
kbreadcrumbselectionmodel.h
74 KBreadcrumbSelectionModel *breadcrumbProxySelector = new KBreadcrumbSelectionModel(breadcrumbSelectionModel, rootModel, this);
78 KSelectionProxyModel *breadcrumbSelectionProxyModel = new KSelectionProxyModel( breadcrumbSelectionModel, this);
87 This can work in two directions. One option is for a single selection in the KBreadcrumbSelectionModel to invoke
90 The other is for a selection in the itemselectionmodel in the constructor argument to cause a breadcrumb selection
105 explicit KBreadcrumbSelectionModel(QItemSelectionModel *selectionModel, QObject *parent = nullptr);
106 KBreadcrumbSelectionModel(QItemSelectionModel *selectionModel, BreadcrumbTarget target, QObject *parent = nullptr);
136 void select(const QItemSelection &selection, QItemSelectionModel::SelectionFlags command) override;
Selects the parents of selected items to create breadcrumbs.
SelectionFlags
virtual void select(const QItemSelection &selection, QItemSelectionModel::SelectionFlags command)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.