summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/qscxmlc/scxmlcppdumper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/qscxmlc/scxmlcppdumper.cpp b/tools/qscxmlc/scxmlcppdumper.cpp
index c656376..5f37ac8 100644
--- a/tools/qscxmlc/scxmlcppdumper.cpp
+++ b/tools/qscxmlc/scxmlcppdumper.cpp
@@ -526,11 +526,11 @@ protected:
bool visit(DocumentModel::HistoryState *node) Q_DECL_OVERRIDE
{
// Includes:
- clazz.implIncludes << "QHistoryState";
+ clazz.implIncludes << "QScxmlHistoryState";
const QString stateName = mangledName(node, StateName);
// Declaration:
- clazz.classFields << QStringLiteral("QHistoryState ") + stateName + QLatin1Char(';');
+ clazz.classFields << QStringLiteral("QScxmlHistoryState ") + stateName + QLatin1Char(';');
// Initializer:
clazz.constructor.initializer << generateInitializer(node);
@@ -550,7 +550,7 @@ protected:
default:
Q_UNREACHABLE();
}
- clazz.init.impl << stateName + QStringLiteral(".setHistoryType(QHistoryState::") + depth + QStringLiteral("History);");
+ clazz.init.impl << stateName + QStringLiteral(".setHistoryType(QScxmlHistoryState::") + depth + QStringLiteral("History);");
// visit the kid:
if (Transition *t = node->defaultConfiguration()) {