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

Method setLicense

kdevplatform/language/codegen/templateclassgenerator.cpp:274–281  ·  view source on GitHub ↗

Specify license for this class

Source from the content-addressed store, hash-verified

272
273/// Specify license for this class
274void TemplateClassGenerator::setLicense(const QString& license)
275{
276 Q_D(TemplateClassGenerator);
277
278 qCDebug(LANGUAGE) << "New Class: " << d->name << "Set license: " << d->license;
279 d->license = license;
280 d->renderer.addVariable(QStringLiteral("license"), license);
281}
282
283/// Get the license specified for this classes
284QString TemplateClassGenerator::license() const

Callers 2

loadTemplateMethod · 0.80
nextMethod · 0.80

Calls 1

addVariableMethod · 0.45

Tested by 1

loadTemplateMethod · 0.64