summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@theqtcompany.com>2016-05-31 16:21:29 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2016-06-07 08:43:43 +0000
commit4a0d14bfcc49edc60127e0833f6cc8d4edad9027 (patch)
tree250b9730d25a9c01a4563ad25e18445f6e11e59d /tools
parent2906a351df804c0e8d5e4377b9ecd48d293ddf41 (diff)
Implement srcexpr in <invoke>
Change-Id: I572342eb4952a6a0777a7503d374da6536ba052d Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tools')
-rw-r--r--tools/qscxmlc/scxmlcppdumper.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/qscxmlc/scxmlcppdumper.cpp b/tools/qscxmlc/scxmlcppdumper.cpp
index a48a6b6..6efa5f6 100644
--- a/tools/qscxmlc/scxmlcppdumper.cpp
+++ b/tools/qscxmlc/scxmlcppdumper.cpp
@@ -400,6 +400,9 @@ protected:
Invoke *invoke = node->invokes.at(i);
QString line = QStringLiteral("new QScxmlInvokeScxmlFactory<%1>(").arg(scxmlClassName(invoke->content.data()));
line += QStringLiteral("%1, ").arg(Builder::createContext(QStringLiteral("invoke")));
+ line += QStringLiteral("%1, ").arg(createEvaluatorString(QStringLiteral("invoke"),
+ QStringLiteral("srcexpr"),
+ invoke->srcexpr));
line += QStringLiteral("%1, ").arg(addString(invoke->id));
line += QStringLiteral("%1, ").arg(addString(node->id + QStringLiteral(".session-")));
line += QStringLiteral("%1, ").arg(addString(invoke->idLocation));