Ask the HelpEngine for documentation about builtin QML components.

Done with: Erik
This commit is contained in:
Roberto Raggi
2010-01-27 14:56:22 +01:00
parent 39c2575ab3
commit a658ee55f2
3 changed files with 45 additions and 34 deletions

View File

@@ -193,7 +193,12 @@ bool Bind::visit(UiImport *ast)
}
}
namespaceObject->setProperty(userComponent->componentName(), objectValue);
const QString componentName = userComponent->componentName();
if (! componentName.isEmpty()) {
objectValue->setClassName(componentName);
namespaceObject->setProperty(componentName, objectValue);
}
}
}
}