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

Method setRootIndex

kdevplatform/util/multilevellistview.cpp:437–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435}
436
437void MultiLevelListView::setRootIndex(const QModelIndex& index)
438{
439 Q_D(MultiLevelListView);
440
441 Q_ASSERT(!index.isValid() || index.model() == d->model);
442 d->views.first()->setRootIndex(index);
443}
444
445void MultiLevelListView::setHeaderLabels(const QStringList& labels)
446{

Callers 1

currentThreadChangedMethod · 0.80

Calls 3

isValidMethod · 0.45
modelMethod · 0.45
firstMethod · 0.45

Tested by

no test coverage detected