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

Method ProjectFile

plugins/quickopen/projectfilequickopen.cpp:68–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68ProjectFile::ProjectFile(const ProjectFileItem* fileItem)
69 : path{fileItem->path()}
70 , projectPath{fileItem->project()->path()}
71 , indexedPath{fileItem->indexedPathView()}
72 , outsideOfProject{!projectPath.isParentOf(path)}
73{
74}
75
76ProjectFileData::ProjectFileData(const ProjectFile& file)
77 : m_file(file)

Callers

nothing calls this directly

Calls 4

indexedPathViewMethod · 0.80
isParentOfMethod · 0.80
pathMethod · 0.45
projectMethod · 0.45

Tested by

no test coverage detected