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

Method callRowSelected

plugins/quickopen/quickopenwidget.cpp:335–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335void QuickOpenWidget::callRowSelected()
336{
337 const QModelIndex currentIndex = ui.list->currentIndex();
338 if (currentIndex.isValid()) {
339 m_model->rowSelected(m_proxy->mapToSource(currentIndex));
340 } else {
341 qCDebug(PLUGIN_QUICKOPEN) << "current index is not valid";
342 }
343}
344
345void QuickOpenWidget::accept()
346{

Callers

nothing calls this directly

Calls 4

rowSelectedMethod · 0.80
currentIndexMethod · 0.45
isValidMethod · 0.45
mapToSourceMethod · 0.45

Tested by

no test coverage detected