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

Method findProjectByName

kdevplatform/shell/projectcontroller.cpp:1108–1116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1106}
1107
1108IProject* ProjectController::findProjectByName( const QString& name )
1109{
1110 Q_D(ProjectController);
1111
1112 auto it = std::find_if(d->m_projects.constBegin(), d->m_projects.constEnd(), [&](IProject* proj) {
1113 return (proj->name() == name);
1114 });
1115 return (it != d->m_projects.constEnd()) ? *it : nullptr;
1116}
1117
1118
1119void ProjectController::configureProject( IProject* project )

Callers 14

closeProjectMethod · 0.80
assertProjectOpenedMethod · 0.80
assertProjectClosedMethod · 0.80
loadProjectFunction · 0.80
activeProjectMethod · 0.80
popupContextMenuMethod · 0.80
onMesonInfoChangedMethod · 0.80
testBuildDirectoryMethod · 0.80
runSelectedTestsMethod · 0.80
showSourceMethod · 0.80
projectRelPathFunction · 0.80
loadProjectFunction · 0.80

Calls 3

constBeginMethod · 0.80
constEndMethod · 0.80
nameMethod · 0.45

Tested by 9

closeProjectMethod · 0.64
assertProjectOpenedMethod · 0.64
assertProjectClosedMethod · 0.64
loadProjectFunction · 0.64
testBuildDirectoryMethod · 0.64
runSelectedTestsMethod · 0.64
showSourceMethod · 0.64
loadProjectFunction · 0.64
~TestProjectMethod · 0.64