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

Method targetList

kdevplatform/project/projectmodel.cpp:527–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525}
526
527QList<ProjectTargetItem*> ProjectBaseItem::targetList() const
528{
529 QList<ProjectTargetItem*> lst;
530 for ( int i = 0; i < rowCount(); ++i )
531 {
532 ProjectBaseItem* item = child( i );
533
534 if ( item->type() == Target || item->type() == LibraryTarget || item->type() == ExecutableTarget )
535 {
536 auto *kdevitem = dynamic_cast<ProjectTargetItem*>( item );
537 if ( kdevitem )
538 lst.append( kdevitem );
539 }
540 }
541
542 return lst;
543}
544
545QList<ProjectFileItem*> ProjectBaseItem::fileList() const
546{

Callers 13

formatFilesMethod · 0.80
visitMethod · 0.80
populateTargetsMethod · 0.80
targetsMethod · 0.80
targetsInFolderFunction · 0.80
addFilesToTargetMethod · 0.80
findCompiledTargetFunction · 0.80
targetsInFolderFunction · 0.80
targetsMethod · 0.80
populateTargetsFunction · 0.80
testReloadMethod · 0.80

Calls 3

childFunction · 0.85
typeMethod · 0.45
appendMethod · 0.45

Tested by 2

testReloadMethod · 0.64