54 lines
1.8 KiB
C
54 lines
1.8 KiB
C
// 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_QTQUICKTEST_PYTHON_H
|
|
#define SBK_QTQUICKTEST_PYTHON_H
|
|
|
|
#include <sbkpython.h>
|
|
#include <sbkmodule.h>
|
|
#include <sbkconverter.h>
|
|
// Module Includes
|
|
#include <pyside6_qtcore_python.h>
|
|
|
|
// Bound library includes
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
QT_END_NAMESPACE
|
|
|
|
// Type indices
|
|
enum : int {
|
|
SBK_QtQuickTest_IDX_COUNT = 0,
|
|
};
|
|
|
|
// This variable stores all Python types exported by this module.
|
|
extern Shiboken::Module::TypeInitStruct *SbkPySide6_QtQuickTestTypeStructs;
|
|
|
|
// This variable stores the Python module object exported by this module.
|
|
extern PyObject *SbkPySide6_QtQuickTestModuleObject;
|
|
|
|
// This variable stores all type converters exported by this module.
|
|
extern SbkConverter **SbkPySide6_QtQuickTestTypeConverters;
|
|
|
|
// Converter indices
|
|
enum [[deprecated]] : int {
|
|
SBK_QTQUICKTEST_QLIST_INT_IDX = 0, // QList<int>
|
|
SBK_QTQUICKTEST_QLIST_QVARIANT_IDX = 1, // QList<QVariant>
|
|
SBK_QTQUICKTEST_QLIST_QSTRING_IDX = 2, // QList<QString>
|
|
SBK_QTQUICKTEST_QMAP_QSTRING_QVARIANT_IDX = 3, // QMap<QString,QVariant>
|
|
SBK_QTQUICKTEST_CONVERTERS_IDX_COUNT = 4,
|
|
};
|
|
|
|
// Converter indices
|
|
enum : int {
|
|
SBK_QtQuickTest_QList_int_IDX = 0, // QList<int>
|
|
SBK_QtQuickTest_QList_QVariant_IDX = 1, // QList<QVariant>
|
|
SBK_QtQuickTest_QList_QString_IDX = 2, // QList<QString>
|
|
SBK_QtQuickTest_QMap_QString_QVariant_IDX = 3, // QMap<QString,QVariant>
|
|
SBK_QtQuickTest_CONVERTERS_IDX_COUNT = 4,
|
|
};
|
|
// Macros for type check
|
|
|
|
#endif // SBK_QTQUICKTEST_PYTHON_H
|
|
|