summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAndré Pönitz <andre.poenitz@theqtcompany.com>2015-08-18 13:34:11 +0200
committerErik Verbruggen <erik.verbruggen@theqtcompany.com>2015-08-25 12:55:16 +0300
commitce4962ee05a131b76f31a8b7600c19e438e7417e (patch)
treeb71eea80322a2ad64611be44045b64baf2260f0e /tools
parent39ea04908cc0eeaaa474ba1320cc6b7109ad6434 (diff)
Pimple Scxml::ScxmlEvent, and rename to QScxmlEvent
Change-Id: Ia352c421ae2190d0797ba7b67732a13c6251407e Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/qscxmlc/scxmlcppdumper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qscxmlc/scxmlcppdumper.cpp b/tools/qscxmlc/scxmlcppdumper.cpp
index 8c926b5..e093dbe 100644
--- a/tools/qscxmlc/scxmlcppdumper.cpp
+++ b/tools/qscxmlc/scxmlcppdumper.cpp
@@ -563,8 +563,8 @@ private:
if (!m_signals.isEmpty()) {
clazz.init.impl << QStringLiteral("stateMachine.setScxmlEventFilter(this);");
auto &dm = clazz.dataMethods;
- dm << QStringLiteral("bool handle(Scxml::ScxmlEvent *event, Scxml::StateMachine *stateMachine) Q_DECL_OVERRIDE {")
- << QStringLiteral(" if (event->origintype() != QStringLiteral(\"qt:signal\")) { return true; }")
+ dm << QStringLiteral("bool handle(QScxmlEvent *event, Scxml::StateMachine *stateMachine) Q_DECL_OVERRIDE {")
+ << QStringLiteral(" if (event->originType() != QStringLiteral(\"qt:signal\")) { return true; }")
<< QStringLiteral(" %1 *m = qobject_cast<%1 *>(stateMachine);").arg(m_mainClassName);
foreach (const QString &s, m_signals) {
dm << QStringLiteral(" if (event->name() == %1) { emit m->event_%2(event->data()); return false; }")