diff options
-rw-r--r-- | src/scxml/qscxmlparser.cpp | 4 | ||||
-rw-r--r-- | tools/qscxmlc/scxmlcppdumper.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/scxml/qscxmlparser.cpp b/src/scxml/qscxmlparser.cpp index a6e9200..8514966 100644 --- a/src/scxml/qscxmlparser.cpp +++ b/src/scxml/qscxmlparser.cpp @@ -699,12 +699,12 @@ private: if (QHistoryState *parent = qobject_cast<QHistoryState*>(m_parents.last())) { // QHistoryState cannot have an initial transition, only an initial state. // So, work around that by creating an initial state, and add the transition to that. - parentState = new ScxmlState(parent->parentState()); + parentState = new QScxmlState(parent->parentState()); parent->setDefaultState(parentState); } else { parentState = currentParent(); } - auto newTransition = new ScxmlTransition(parentState, toUtf8(node->events)); + auto newTransition = new QScxmlTransition(parentState, toUtf8(node->events)); parentState->addTransition(newTransition); #endif diff --git a/tools/qscxmlc/scxmlcppdumper.cpp b/tools/qscxmlc/scxmlcppdumper.cpp index 6b4ae88..f6cd968 100644 --- a/tools/qscxmlc/scxmlcppdumper.cpp +++ b/tools/qscxmlc/scxmlcppdumper.cpp @@ -267,7 +267,7 @@ protected: switch (node->dataModel) { case Scxml::NullDataModel: clazz.classFields << QStringLiteral("QScxmlNullDataModel dataModel;"); - clazz.implIncludes << QStringLiteral("QScxmlNullDataModel.h"); + clazz.implIncludes << QStringLiteral("QScxmlNullDataModel"); break; case Scxml::JSDataModel: clazz.classFields << QStringLiteral("QScxmlEcmaScriptDataModel dataModel;"); |