aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/QtScxml/typesystem_scxml.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/PySide6/QtScxml/typesystem_scxml.xml')
-rw-r--r--sources/pyside6/PySide6/QtScxml/typesystem_scxml.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/sources/pyside6/PySide6/QtScxml/typesystem_scxml.xml b/sources/pyside6/PySide6/QtScxml/typesystem_scxml.xml
index c10037e1b..ba8820570 100644
--- a/sources/pyside6/PySide6/QtScxml/typesystem_scxml.xml
+++ b/sources/pyside6/PySide6/QtScxml/typesystem_scxml.xml
@@ -3,15 +3,18 @@
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-->
-<typesystem package="PySide6.QtScxml">
+<typesystem package="PySide6.QtScxml"
+ namespace-begin="QT_BEGIN_NAMESPACE" namespace-end="QT_END_NAMESPACE">
<load-typesystem name="QtCore/typesystem_core.xml" generate="no"/>
<object-type name="QScxmlCompiler">
<object-type name="Loader"/>
</object-type>
<object-type name="QScxmlCppDataModel"/>
- <object-type name="QScxmlEvent">
+ <!-- PYSIDE-2340: Force value conversion for QScxmlStateMachine::connectToEvent()
+ which expects "func(const QScxmlEvent &)" -->
+ <value-type name="QScxmlEvent">
<enum-type name="EventType"/>
- </object-type>
+ </value-type>
<object-type name="QScxmlDynamicScxmlServiceFactory"/>
<object-type name="QScxmlInvokableService"/>
<object-type name="QScxmlInvokableServiceFactory"/>