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

Function isChildItem

kdevplatform/project/filemanagerlistjob.cpp:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22namespace {
23bool isChildItem(ProjectBaseItem* parent, ProjectBaseItem* child)
24{
25 do {
26 if (child == parent) {
27 return true;
28 }
29 child = child->parent();
30 } while(child);
31 return false;
32}
33}
34
35FileManagerListJob::FileManagerListJob(ProjectFolderItem* item)

Callers 1

handleRemovedItemMethod · 0.85

Calls 1

parentMethod · 0.45

Tested by

no test coverage detected