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

Method deletePath

kdevplatform/debugger/util/pathmappings.cpp:227–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227void PathMappingsWidget::deletePath()
228{
229 const auto selectedRows = m_pathMappingTable->selectionModel()->selectedRows();
230 for (const QModelIndex& i : selectedRows) {
231 m_pathMappingTable->model()->removeRow(i.row(), i.parent());
232 }
233}
234void PathMappingsWidget::loadFromConfiguration(const KConfigGroup& cfg)
235{
236 static_cast<PathMappingModel*>(m_pathMappingTable->model())->loadFromConfiguration(cfg);

Callers

nothing calls this directly

Calls 4

removeRowMethod · 0.80
modelMethod · 0.45
rowMethod · 0.45
parentMethod · 0.45

Tested by

no test coverage detected