From bbb12c9d54ae351af701e2a09a7a6da5b39cfffd Mon Sep 17 00:00:00 2001 From: Iakov 'Jake' Kirilenko Date: Fri, 23 Aug 2024 20:10:27 +0300 Subject: [PATCH] Rollback previously commented lines --- .../com_trolltech_qt_core/com_trolltech_qt_core_init.cpp | 3 +-- .../com_trolltech_qt_core/com_trolltech_qt_core_init.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp index 3e5eaa6d..e17af254 100644 --- a/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp +++ b/generated_cpp_5.12.12/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp @@ -172,8 +172,7 @@ PythonQt::priv()->registerCPPClass("QVersionNumber", "", "QtCore", PythonQtCreat PythonQt::priv()->registerCPPClass("QWaitCondition", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QWriteLocker", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_EnterExit); PythonQt::priv()->registerCPPClass("QXmlStreamEntityResolver", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -//TODO: uncomment later -//PythonQt::priv()->registerGlobalNamespace("QtCore", "QtCore", PythonQtCreateObject, PythonQtWrapper_QtCore::staticMetaObject, module); +PythonQt::priv()->registerGlobalNamespace("QtCore", "QtCore", PythonQtCreateObject, PythonQtWrapper_QtCore::staticMetaObject, module); PythonQt::self()->addPolymorphicHandler("QEvent", polymorphichandler_QEvent); diff --git a/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp index 6cd15b75..1490287b 100644 --- a/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp +++ b/generated_cpp_5.15.2/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp @@ -176,8 +176,7 @@ PythonQt::priv()->registerCPPClass("QVersionNumber", "", "QtCore", PythonQtCreat PythonQt::priv()->registerCPPClass("QWaitCondition", "", "QtCore", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QWriteLocker", "", "QtCore", PythonQtCreateObject, nullptr, module, PythonQt::Type_EnterExit); PythonQt::priv()->registerCPPClass("QXmlStreamEntityResolver", "", "QtCore", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -//TODO: uncomment -//PythonQt::priv()->registerGlobalNamespace("QtCore", "QtCore", PythonQtCreateObject, PythonQtWrapper_QtCore::staticMetaObject, module); +PythonQt::priv()->registerGlobalNamespace("QtCore", "QtCore", PythonQtCreateObject, PythonQtWrapper_QtCore::staticMetaObject, module); PythonQt::self()->addPolymorphicHandler("QEvent", polymorphichandler_QEvent);