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

Method addItemForLaunchConfig

kdevplatform/shell/launchconfigurationdialog.cpp:498–512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496}
497
498void LaunchConfigurationsModel::addItemForLaunchConfig( LaunchConfiguration* l )
499{
500 auto* t = new LaunchItem;
501 t->launch = l;
502 TreeItem* parent;
503 if( l->project() ) {
504 parent = findItemForProject( l->project() );
505 } else {
506 parent = topItems.at(0);
507 }
508 t->parent = parent;
509 t->row = parent->children.count();
510 parent->children.append( t );
511 addLaunchModeItemsForLaunchConfig ( t );
512}
513
514void LaunchConfigurationsModel::addLaunchModeItemsForLaunchConfig ( LaunchItem* t )
515{

Callers

nothing calls this directly

Calls 4

projectMethod · 0.45
atMethod · 0.45
countMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected