pyside6_qtquicktest_python.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // Copyright (C) 2022 The Qt Company Ltd.
  2. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
  3. #ifndef SBK_QTQUICKTEST_PYTHON_H
  4. #define SBK_QTQUICKTEST_PYTHON_H
  5. #include <sbkpython.h>
  6. #include <sbkmodule.h>
  7. #include <sbkconverter.h>
  8. // Module Includes
  9. #include <pyside6_qtcore_python.h>
  10. // Bound library includes
  11. QT_BEGIN_NAMESPACE
  12. QT_END_NAMESPACE
  13. // Type indices
  14. enum [[deprecated]] : int {
  15. SBK_QTQUICKTEST_IDX_COUNT = 0,
  16. };
  17. // Type indices
  18. enum : int {
  19. SBK_QtQuickTest_IDX_COUNT = 0,
  20. };
  21. // This variable stores all Python types exported by this module.
  22. extern Shiboken::Module::TypeInitStruct *SbkPySide6_QtQuickTestTypeStructs;
  23. // This variable stores all Python types exported by this module in a backwards compatible way with identical indexing.
  24. [[deprecated]] extern PyTypeObject **SbkPySide6_QtQuickTestTypes;
  25. // This variable stores the Python module object exported by this module.
  26. extern PyObject *SbkPySide6_QtQuickTestModuleObject;
  27. // This variable stores all type converters exported by this module.
  28. extern SbkConverter **SbkPySide6_QtQuickTestTypeConverters;
  29. // Converter indices
  30. enum [[deprecated]] : int {
  31. SBK_QTQUICKTEST_QLIST_INT_IDX = 0, // QList<int>
  32. SBK_QTQUICKTEST_QLIST_QVARIANT_IDX = 1, // QList<QVariant>
  33. SBK_QTQUICKTEST_QLIST_QSTRING_IDX = 2, // QList<QString>
  34. SBK_QTQUICKTEST_QMAP_QSTRING_QVARIANT_IDX = 3, // QMap<QString,QVariant>
  35. SBK_QTQUICKTEST_CONVERTERS_IDX_COUNT = 4,
  36. };
  37. // Converter indices
  38. enum : int {
  39. SBK_QtQuickTest_QList_int_IDX = 0, // QList<int>
  40. SBK_QtQuickTest_QList_QVariant_IDX = 1, // QList<QVariant>
  41. SBK_QtQuickTest_QList_QString_IDX = 2, // QList<QString>
  42. SBK_QtQuickTest_QMap_QString_QVariant_IDX = 3, // QMap<QString,QVariant>
  43. SBK_QtQuickTest_CONVERTERS_IDX_COUNT = 4,
  44. };
  45. // Macros for type check
  46. #endif // SBK_QTQUICKTEST_PYTHON_H