1/****************************************************************************
2** Meta object code from reading C++ file 'qgraphicsscenebsptreeindex_p.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "graphicsview/qgraphicsscenebsptreeindex_p.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qgraphicsscenebsptreeindex_p.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 68
16#error "This file was generated using the moc from 6.0.0. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
19#endif
20
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
24struct qt_meta_stringdata_QGraphicsSceneBspTreeIndex_t {
25 const uint offsetsAndSize[14];
26 char stringdata0[96];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QGraphicsSceneBspTreeIndex_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QGraphicsSceneBspTreeIndex_t qt_meta_stringdata_QGraphicsSceneBspTreeIndex = {
31 {
32QT_MOC_LITERAL(0, 26), // "QGraphicsSceneBspTreeIndex"
33QT_MOC_LITERAL(27, 15), // "updateSceneRect"
34QT_MOC_LITERAL(43, 0), // ""
35QT_MOC_LITERAL(44, 4), // "rect"
36QT_MOC_LITERAL(49, 18), // "_q_updateSortCache"
37QT_MOC_LITERAL(68, 14), // "_q_updateIndex"
38QT_MOC_LITERAL(83, 12) // "bspTreeDepth"
39
40 },
41 "QGraphicsSceneBspTreeIndex\0updateSceneRect\0"
42 "\0rect\0_q_updateSortCache\0_q_updateIndex\0"
43 "bspTreeDepth"
44};
45#undef QT_MOC_LITERAL
46
47static const uint qt_meta_data_QGraphicsSceneBspTreeIndex[] = {
48
49 // content:
50 9, // revision
51 0, // classname
52 0, 0, // classinfo
53 3, 14, // methods
54 1, 37, // properties
55 0, 0, // enums/sets
56 0, 0, // constructors
57 0, // flags
58 0, // signalCount
59
60 // slots: name, argc, parameters, tag, flags, initial metatype offsets
61 1, 1, 32, 2, 0x09, 1 /* Protected */,
62 4, 0, 35, 2, 0x08, 3 /* Private */,
63 5, 0, 36, 2, 0x08, 4 /* Private */,
64
65 // slots: parameters
66 QMetaType::Void, QMetaType::QRectF, 3,
67 QMetaType::Void,
68 QMetaType::Void,
69
70 // properties: name, type, flags
71 6, QMetaType::Int, 0x00015103, uint(-1), 0,
72
73 0 // eod
74};
75
76void QGraphicsSceneBspTreeIndex::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
77{
78 if (_c == QMetaObject::InvokeMetaMethod) {
79 Q_ASSERT(staticMetaObject.cast(_o));
80 auto *_t = static_cast<QGraphicsSceneBspTreeIndex *>(_o);
81 Q_UNUSED(_t)
82 switch (_id) {
83 case 0: _t->updateSceneRect((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
84 case 1: _t->d_func()->_q_updateSortCache(); break;
85 case 2: _t->d_func()->_q_updateIndex(); break;
86 default: ;
87 }
88 }
89#ifndef QT_NO_PROPERTIES
90 else if (_c == QMetaObject::ReadProperty) {
91 Q_ASSERT(staticMetaObject.cast(_o));
92 auto *_t = static_cast<QGraphicsSceneBspTreeIndex *>(_o);
93 Q_UNUSED(_t)
94 void *_v = _a[0];
95 switch (_id) {
96 case 0: *reinterpret_cast< int*>(_v) = _t->bspTreeDepth(); break;
97 default: break;
98 }
99 } else if (_c == QMetaObject::WriteProperty) {
100 Q_ASSERT(staticMetaObject.cast(_o));
101 auto *_t = static_cast<QGraphicsSceneBspTreeIndex *>(_o);
102 Q_UNUSED(_t)
103 void *_v = _a[0];
104 switch (_id) {
105 case 0: _t->setBspTreeDepth(*reinterpret_cast< int*>(_v)); break;
106 default: break;
107 }
108 } else if (_c == QMetaObject::ResetProperty) {
109 } else if (_c == QMetaObject::BindableProperty) {
110 }
111#endif // QT_NO_PROPERTIES
112}
113
114const QMetaObject QGraphicsSceneBspTreeIndex::staticMetaObject = { {
115 QMetaObject::SuperData::link<QGraphicsSceneIndex::staticMetaObject>(),
116 qt_meta_stringdata_QGraphicsSceneBspTreeIndex.offsetsAndSize,
117 qt_meta_data_QGraphicsSceneBspTreeIndex,
118 qt_static_metacall,
119 nullptr,
120qt_incomplete_metaTypeArray<qt_meta_stringdata_QGraphicsSceneBspTreeIndex_t
121, QtPrivate::TypeAndForceComplete<int, std::true_type>
122, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QRectF &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
123
124
125>,
126 nullptr
127} };
128
129
130const QMetaObject *QGraphicsSceneBspTreeIndex::metaObject() const
131{
132 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
133}
134
135void *QGraphicsSceneBspTreeIndex::qt_metacast(const char *_clname)
136{
137 if (!_clname) return nullptr;
138 if (!strcmp(_clname, qt_meta_stringdata_QGraphicsSceneBspTreeIndex.stringdata0))
139 return static_cast<void*>(this);
140 return QGraphicsSceneIndex::qt_metacast(_clname);
141}
142
143int QGraphicsSceneBspTreeIndex::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
144{
145 _id = QGraphicsSceneIndex::qt_metacall(_c, _id, _a);
146 if (_id < 0)
147 return _id;
148 if (_c == QMetaObject::InvokeMetaMethod) {
149 if (_id < 3)
150 qt_static_metacall(this, _c, _id, _a);
151 _id -= 3;
152 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
153 if (_id < 3)
154 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
155 _id -= 3;
156 }
157#ifndef QT_NO_PROPERTIES
158 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
159 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
160 || _c == QMetaObject::RegisterPropertyMetaType) {
161 qt_static_metacall(this, _c, _id, _a);
162 _id -= 1;
163 }
164#endif // QT_NO_PROPERTIES
165 return _id;
166}
167QT_WARNING_POP
168QT_END_MOC_NAMESPACE
169