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

Method removeConfigurationType

kdevplatform/shell/runcontroller.cpp:828–840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

826}
827
828void RunController::removeConfigurationType( LaunchConfigurationType* type )
829{
830 Q_D(RunController);
831
832 const auto oldLaunchConfigurations = d->launchConfigurations;
833 for (LaunchConfiguration* l : oldLaunchConfigurations) {
834 if( l->type() == type )
835 {
836 removeLaunchConfigurationInternal( l );
837 }
838 }
839 d->launchConfigurationTypes.remove( type->id() );
840}
841
842void KDevelop::RunController::addLaunchMode(KDevelop::ILaunchMode* mode)
843{

Callers 3

unloadMethod · 0.80
unloadMethod · 0.80
unloadMethod · 0.80

Calls 3

typeMethod · 0.45
removeMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected