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

Method applyFilter

plugins/quickopen/quickopenwidget.cpp:324–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324void QuickOpenWidget::applyFilter()
325{
326 m_model->textChanged(m_filter);
327
328 QModelIndex currentIndex = m_model->index(0, 0, QModelIndex());
329
330 ui.list->selectionModel()->setCurrentIndex(m_proxy->mapFromSource(currentIndex), QItemSelectionModel::ClearAndSelect | QItemSelectionModel::Rows | QItemSelectionModel::Current);
331
332 callRowSelected();
333}
334
335void QuickOpenWidget::callRowSelected()
336{

Callers

nothing calls this directly

Calls 5

setCurrentIndexMethod · 0.80
QModelIndexClass · 0.50
textChangedMethod · 0.45
indexMethod · 0.45
mapFromSourceMethod · 0.45

Tested by

no test coverage detected