aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/QtCore
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2018-04-26 11:13:16 +0200
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2018-04-27 13:16:52 +0000
commitcf608f65ebc0866f74d0c9aa566dc0fc2a2f4a49 (patch)
tree4e3a0888a56552e1313fa992c74f41ee8c9ba51a /sources/pyside2/PySide2/QtCore
parent76f1ae210a14d57174c429e50df519dfe6d350d0 (diff)
Remove currentThreadId binding
Since this method should not be used in any application code, we should remove it from PySide2. Removing also the test registry. https://doc.qt.io/qt-5/qthread.html#currentThreadId Task-number: PYSIDE-275 Change-Id: I152b36ccfa4342d4d6b916d8b2fe228e4fe4a1c4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside2/PySide2/QtCore')
-rw-r--r--sources/pyside2/PySide2/QtCore/typesystem_core_common.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/pyside2/PySide2/QtCore/typesystem_core_common.xml b/sources/pyside2/PySide2/QtCore/typesystem_core_common.xml
index 6db3691a6..8c50413cb 100644
--- a/sources/pyside2/PySide2/QtCore/typesystem_core_common.xml
+++ b/sources/pyside2/PySide2/QtCore/typesystem_core_common.xml
@@ -2015,6 +2015,7 @@
</object-type>
<object-type name="QThread">
<enum-type name="Priority"/>
+ <modify-function signature="currentThreadId()" remove="all"/>
<modify-function signature="run()" thread="yes" />
<modify-function signature="exec()" rename="exec_" allow-thread="yes" />
<modify-function signature="msleep(unsigned long)" allow-thread="yes" />