diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2016-04-12 12:07:59 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2016-04-18 08:07:21 +0000 |
commit | 7c4111286b3c1f072a731ae9aa938c9e73b035e7 (patch) | |
tree | 58ada4886b9c6c28712585c49f5db350312eb57c /tools/qscxmlc/scxmlcppdumper.cpp | |
parent | 382aac3e7877c151eaef5f7bb3fedefc10a8f284 (diff) |
Don't mangle service names
We want to look the services up by their original name later.
Change-Id: I8a8061bccb064a779e50aefdc6cf348806b417cd
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Diffstat (limited to 'tools/qscxmlc/scxmlcppdumper.cpp')
-rw-r--r-- | tools/qscxmlc/scxmlcppdumper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qscxmlc/scxmlcppdumper.cpp b/tools/qscxmlc/scxmlcppdumper.cpp index 6e1d02c..c656376 100644 --- a/tools/qscxmlc/scxmlcppdumper.cpp +++ b/tools/qscxmlc/scxmlcppdumper.cpp @@ -1193,7 +1193,7 @@ private: knownQObjectClasses.insert(serviceClass, ""); reg.impl << QStringLiteral(" SET_SERVICE_PROP(%1, %2, %3%2, %4)") - .arg(addString(mangledServiceName)) + .arg(addString(serviceName)) .arg(mangledServiceName, namespacePrefix).arg(classDef.signalList.size()); const QByteArray mangledMachineName = mangledName(serviceName, MachineName).toUtf8(); @@ -1221,7 +1221,7 @@ private: ++classDef.notifyableProperties; PropertyDef prop; - prop.name = mangledServiceName.toUtf8(); + prop.name = serviceName.toUtf8(); prop.type = serviceClass + "*"; prop.read = "data->" + mangledMachineName; prop.notify = mangledSignalName; |