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

Method addDataPath

kdevplatform/language/codegen/templatesmodel.cpp:341–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341void TemplatesModel::addDataPath(const QString& path)
342{
343 Q_D(TemplatesModel);
344
345 QString realpath = path + d->resourceFilter(TemplatesModelPrivate::Template);
346 d->searchPaths.append(realpath);
347}
348
349QString TemplatesModel::loadTemplateFile(const QString& fileName)
350{

Callers 1

initTestCaseMethod · 0.80

Calls 2

resourceFilterMethod · 0.80
appendMethod · 0.45

Tested by 1

initTestCaseMethod · 0.64