diff options
author | Nikita Baryshnikov <nbaryshnikov@axonian.com> | 2015-04-30 14:22:51 +0300 |
---|---|---|
committer | Nikita Baryshnikov <nib952051@gmail.com> | 2015-04-30 16:06:59 +0000 |
commit | 06404a639edd59a361f1e8458213c3c1cb647360 (patch) | |
tree | 95abca5f4bef0868bd0e9e898487bfd04813d800 /src/lib/corelib/api/languageinfo.cpp | |
parent | f971b14947f39e56009aed3c0d0d4382525b26e2 (diff) |
QmlTypes dumper fix syntax
Change-Id: If7c20ec08b66ec0c9502e5cb7481ebc4c951d274
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'src/lib/corelib/api/languageinfo.cpp')
-rw-r--r-- | src/lib/corelib/api/languageinfo.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/corelib/api/languageinfo.cpp b/src/lib/corelib/api/languageinfo.cpp index f961b3843..c885a1917 100644 --- a/src/lib/corelib/api/languageinfo.cpp +++ b/src/lib/corelib/api/languageinfo.cpp @@ -63,36 +63,36 @@ QByteArray LanguageInfo::qmlTypeInfo() Internal::ItemDeclaration itemDecl = builtins.declarationsForType(typeName); foreach (const Internal::PropertyDeclaration &property, itemDecl.properties()) { - result.append(" Property { name=\""); + result.append(" Property { name: \""); result.append(property.name().toUtf8()); result.append("\"; "); switch (property.type()) { case qbs::Internal::PropertyDeclaration::UnknownType: - result.append("type=\"unknown\""); + result.append("type: \"unknown\""); break; case qbs::Internal::PropertyDeclaration::Boolean: - result.append("type=\"bool\""); + result.append("type: \"bool\""); break; case qbs::Internal::PropertyDeclaration::Integer: - result.append("type=\"int\""); + result.append("type: \"int\""); break; case qbs::Internal::PropertyDeclaration::Path: - result.append("type=\"string\""); + result.append("type: \"string\""); break; case qbs::Internal::PropertyDeclaration::PathList: - result.append("type=\"string\"; isList=true"); + result.append("type: \"string\"; isList: true"); break; case qbs::Internal::PropertyDeclaration::String: - result.append("type=\"string\""); + result.append("type: \"string\""); break; case qbs::Internal::PropertyDeclaration::StringList: - result.append("type=\"string\"; isList=true"); + result.append("type: \"string\"; isList: true"); break; case qbs::Internal::PropertyDeclaration::Variant: - result.append("type=\"QVariant\""); + result.append("type: \"QVariant\""); break; case qbs::Internal::PropertyDeclaration::Verbatim: - result.append("type=\"string\""); + result.append("type: \"string\""); break; } result.append(" }\n"); // Property |