diff options
Diffstat (limited to 'sources/pyside6/PySide6/QtConcurrent/typesystem_concurrent.xml')
-rw-r--r-- | sources/pyside6/PySide6/QtConcurrent/typesystem_concurrent.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sources/pyside6/PySide6/QtConcurrent/typesystem_concurrent.xml b/sources/pyside6/PySide6/QtConcurrent/typesystem_concurrent.xml new file mode 100644 index 000000000..1892793b9 --- /dev/null +++ b/sources/pyside6/PySide6/QtConcurrent/typesystem_concurrent.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +// Copyright (C) 2016 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.QtConcurrent" + namespace-begin="QT_BEGIN_NAMESPACE" namespace-end="QT_END_NAMESPACE"> + <load-typesystem name="QtCore/typesystem_core.xml" generate="no"/> + + <!-- Qt5: this is currently the minimum possible QtConcurrent support, by just extracting + the name space from QtCore --> + <namespace-type name="QtConcurrent" target-type="class"> + <enum-type name="FutureResult"/> + <enum-type name="ReduceOption" flags="ReduceOptions"/> + <enum-type name="ThreadFunctionResult"/> + <extra-includes> + <include file-name="qtconcurrentreducekernel.h" location="global"/> + <include file-name="qtconcurrentthreadengine.h" location="global"/> + </extra-includes> + </namespace-type> + + <typedef-type name="QFutureVoid" source="QFuture<void>" disable-wrapper="yes"> + <include file-name="QtCore/qfuture.h" location="global"/> + </typedef-type> + <typedef-type name="QFutureQString" source="QFuture<QString>" disable-wrapper="yes"> + <include file-name="QtCore/qfuture.h" location="global"/> + </typedef-type> + <typedef-type name="QFutureWatcherVoid" source="QFutureWatcher<void>"> + <include file-name="QtCore/qfuturewatcher.h" location="global"/> + </typedef-type> + <typedef-type name="QFutureWatcherQString" source="QFutureWatcher<QString>"> + <include file-name="QtCore/qfuturewatcher.h" location="global"/> + </typedef-type> + +</typesystem> |