MCPcopy Create free account
hub / github.com/KDE/kdevelop / mapToSource

Method mapToSource

plugins/quickopen/expandingtree/expandingwidgetmodel.cpp:108–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108QModelIndex ExpandingWidgetModel::mapToSource(const QModelIndex& index) const
109{
110 const auto proxyModel = qobject_cast<QAbstractProxyModel*>(treeView()->model());
111 Q_ASSERT(proxyModel);
112 Q_ASSERT(!index.isValid() || index.model() == proxyModel);
113 return proxyModel->mapToSource(index);
114}
115
116void ExpandingWidgetModel::clearMatchQualities()
117{

Callers 15

indexFromViewMethod · 0.45
activateProjectMethod · 0.45
callRowSelectedMethod · 0.45
acceptMethod · 0.45
eventFilterMethod · 0.45
drawRowMethod · 0.45
paintMethod · 0.45
sizeHintMethod · 0.45
adjustRectMethod · 0.45
drawDecorationMethod · 0.45
editorEventMethod · 0.45
itemForIndexMethod · 0.45

Calls 2

modelMethod · 0.45
isValidMethod · 0.45

Tested by 2

runSelectedTestsMethod · 0.36
showSourceMethod · 0.36