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

Method removeFromFileSet

kdevplatform/shell/project.cpp:677–688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

675}
676
677void Project::removeFromFileSet( ProjectFileItem* file )
678{
679 Q_D(Project);
680
681 QSet<IndexedString>::iterator it = d->fileSet.find(file->indexedPath());
682 if (it == d->fileSet.end()) {
683 return;
684 }
685
686 d->fileSet.erase( it );
687 emit fileRemovedFromSet( file );
688}
689
690QSet<IndexedString> Project::fileSet() const
691{

Callers 2

~ProjectFileItemMethod · 0.45
setPathMethod · 0.45

Calls 3

indexedPathMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected