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

Function launcherNameExists

kdevplatform/shell/runcontroller.cpp:958–965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

956}
957
958bool launcherNameExists(const QString& name)
959{
960 const auto configs = Core::self()->runControllerInternal()->launchConfigurations();
961
962 return std::any_of(configs.begin(), configs.end(), [&](ILaunchConfiguration* config) {
963 return (config->name() == name);
964 });
965}
966
967QString makeUnique(const QString& name)
968{

Callers 1

makeUniqueFunction · 0.85

Calls 5

launchConfigurationsMethod · 0.80
runControllerInternalMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected