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

Method QMakeIncludeFile

plugins/qmakemanager/qmakeincludefile.cpp:11–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9#include <QString>
10
11QMakeIncludeFile::QMakeIncludeFile(const QString& incfile, QMakeFile* parent, const VariableMap& variables)
12 : QMakeProjectFile(incfile)
13 , m_parent(parent)
14{
15 m_variableValues = variables;
16
17 setProject(parent->project());
18
19 auto* pro = dynamic_cast<QMakeProjectFile*>(parent);
20 if (pro) {
21 setMkSpecs(pro->mkSpecs());
22 setQMakeCache(pro->qmakeCache());
23 } else {
24 auto* specs = dynamic_cast<QMakeMkSpecs*>(parent);
25 setMkSpecs(specs);
26 }
27}
28
29QString QMakeIncludeFile::pwd() const
30{

Callers

nothing calls this directly

Calls 3

mkSpecsMethod · 0.80
qmakeCacheMethod · 0.80
projectMethod · 0.45

Tested by

no test coverage detected