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

Method setNamespaces

kdevplatform/language/codegen/templateclassgenerator.cpp:265–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265void TemplateClassGenerator::setNamespaces(const QStringList& namespaces)
266{
267 Q_D(TemplateClassGenerator);
268
269 d->namespaces = namespaces;
270 d->renderer.addVariable(QStringLiteral("namespaces"), namespaces);
271}
272
273/// Specify license for this class
274void TemplateClassGenerator::setLicense(const QString& license)

Callers

nothing calls this directly

Calls 1

addVariableMethod · 0.45

Tested by

no test coverage detected