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

Method itemForProject

plugins/testview/testview.cpp:222–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222QStandardItem* TestView::itemForProject(IProject* project)
223{
224 QList<QStandardItem*> itemsForProject = m_model->findItems(project->name());
225 if (!itemsForProject.isEmpty()) {
226 return itemsForProject.first();
227 }
228 return addProject(project);
229}
230
231
232void TestView::runSelectedTests()

Callers

nothing calls this directly

Calls 3

nameMethod · 0.45
isEmptyMethod · 0.45
firstMethod · 0.45

Tested by

no test coverage detected