| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- // Copyright (C) 2022 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
- #ifndef SBK_QTWEBENGINEWIDGETS_PYTHON_H
- #define SBK_QTWEBENGINEWIDGETS_PYTHON_H
- #include <sbkpython.h>
- #include <sbkmodule.h>
- #include <sbkconverter.h>
- // Module Includes
- #include <pyside6_qtcore_python.h>
- #include <pyside6_qtgui_python.h>
- #include <pyside6_qtwidgets_python.h>
- #include <pyside6_qtnetwork_python.h>
- #include <pyside6_qtwebenginecore_python.h>
- #include <pyside6_qtprintsupport_python.h>
- #include <pyside6_qtwebchannel_python.h>
- // Bound library includes
- QT_BEGIN_NAMESPACE
- class QWebEngineView;
- QT_END_NAMESPACE
- // Type indices
- enum [[deprecated]] : int {
- SBK_QWEBENGINEVIEW_IDX = 0,
- SBK_QTWEBENGINEWIDGETS_IDX_COUNT = 2,
- };
- // Type indices
- enum : int {
- SBK_QWebEngineView_IDX = 0,
- SBK_QtWebEngineWidgets_IDX_COUNT = 1,
- };
- // This variable stores all Python types exported by this module.
- extern Shiboken::Module::TypeInitStruct *SbkPySide6_QtWebEngineWidgetsTypeStructs;
- // This variable stores all Python types exported by this module in a backwards compatible way with identical indexing.
- [[deprecated]] extern PyTypeObject **SbkPySide6_QtWebEngineWidgetsTypes;
- // This variable stores the Python module object exported by this module.
- extern PyObject *SbkPySide6_QtWebEngineWidgetsModuleObject;
- // This variable stores all type converters exported by this module.
- extern SbkConverter **SbkPySide6_QtWebEngineWidgetsTypeConverters;
- // Converter indices
- enum [[deprecated]] : int {
- SBK_QTWEBENGINEWIDGETS_QLIST_INT_IDX = 0, // QList<int>
- SBK_QTWEBENGINEWIDGETS_QLIST_QVARIANT_IDX = 1, // QList<QVariant>
- SBK_QTWEBENGINEWIDGETS_QLIST_QSTRING_IDX = 2, // QList<QString>
- SBK_QTWEBENGINEWIDGETS_QMAP_QSTRING_QVARIANT_IDX = 3, // QMap<QString,QVariant>
- SBK_QTWEBENGINEWIDGETS_CONVERTERS_IDX_COUNT = 4,
- };
- // Converter indices
- enum : int {
- SBK_QtWebEngineWidgets_QList_int_IDX = 0, // QList<int>
- SBK_QtWebEngineWidgets_QList_QVariant_IDX = 1, // QList<QVariant>
- SBK_QtWebEngineWidgets_QList_QString_IDX = 2, // QList<QString>
- SBK_QtWebEngineWidgets_QMap_QString_QVariant_IDX = 3, // QMap<QString,QVariant>
- SBK_QtWebEngineWidgets_CONVERTERS_IDX_COUNT = 4,
- };
- // Macros for type check
- QT_WARNING_PUSH
- QT_WARNING_DISABLE_DEPRECATED
- namespace Shiboken
- {
- // PyType functions, to get the PyObjectType for a type T
- template<> inline PyTypeObject *SbkType< ::QWebEngineView >() { return Shiboken::Module::get(SbkPySide6_QtWebEngineWidgetsTypeStructs[SBK_QWebEngineView_IDX]); }
- } // namespace Shiboken
- QT_WARNING_POP
- #endif // SBK_QTWEBENGINEWIDGETS_PYTHON_H
|