aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/QtConcurrent/typesystem_concurrent.xml
blob: 1892793b9f6d5f59022bf3e97252e84402c96052 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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&lt;void&gt;" disable-wrapper="yes">
      <include file-name="QtCore/qfuture.h" location="global"/>
  </typedef-type>
  <typedef-type name="QFutureQString" source="QFuture&lt;QString&gt;" disable-wrapper="yes">
      <include file-name="QtCore/qfuture.h" location="global"/>
  </typedef-type>
  <typedef-type name="QFutureWatcherVoid" source="QFutureWatcher&lt;void&gt;">
      <include file-name="QtCore/qfuturewatcher.h" location="global"/>
  </typedef-type>
  <typedef-type name="QFutureWatcherQString" source="QFutureWatcher&lt;QString&gt;">
      <include file-name="QtCore/qfuturewatcher.h" location="global"/>
  </typedef-type>

</typesystem>