1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qplatformsharedgraphicscache.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 "kernel/qplatformsharedgraphicscache.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #include <QtCore/QList> |
14 | #if !defined(Q_MOC_OUTPUT_REVISION) |
15 | #error "The header file 'qplatformsharedgraphicscache.h' doesn't include <QObject>." |
16 | #elif Q_MOC_OUTPUT_REVISION != 68 |
17 | #error "This file was generated using the moc from 6.0.0. It" |
18 | #error "cannot be used with the include files from this version of Qt." |
19 | #error "(The moc has changed too much.)" |
20 | #endif |
21 | |
22 | QT_BEGIN_MOC_NAMESPACE |
23 | QT_WARNING_PUSH |
24 | QT_WARNING_DISABLE_DEPRECATED |
25 | struct qt_meta_stringdata_QPlatformSharedGraphicsCache_t { |
26 | const uint offsetsAndSize[24]; |
27 | char stringdata0[160]; |
28 | }; |
29 | #define QT_MOC_LITERAL(ofs, len) \ |
30 | uint(offsetof(qt_meta_stringdata_QPlatformSharedGraphicsCache_t, stringdata0) + ofs), len |
31 | static const qt_meta_stringdata_QPlatformSharedGraphicsCache_t qt_meta_stringdata_QPlatformSharedGraphicsCache = { |
32 | { |
33 | QT_MOC_LITERAL(0, 28), // "QPlatformSharedGraphicsCache" |
34 | QT_MOC_LITERAL(29, 12), // "itemsMissing" |
35 | QT_MOC_LITERAL(42, 0), // "" |
36 | QT_MOC_LITERAL(43, 7), // "cacheId" |
37 | QT_MOC_LITERAL(51, 14), // "QList<quint32>" |
38 | QT_MOC_LITERAL(66, 7), // "itemIds" |
39 | QT_MOC_LITERAL(74, 14), // "itemsAvailable" |
40 | QT_MOC_LITERAL(89, 8), // "bufferId" |
41 | QT_MOC_LITERAL(98, 13), // "QList<QPoint>" |
42 | QT_MOC_LITERAL(112, 17), // "positionsInBuffer" |
43 | QT_MOC_LITERAL(130, 16), // "itemsInvalidated" |
44 | QT_MOC_LITERAL(147, 12) // "itemsUpdated" |
45 | |
46 | }, |
47 | "QPlatformSharedGraphicsCache\0itemsMissing\0" |
48 | "\0cacheId\0QList<quint32>\0itemIds\0" |
49 | "itemsAvailable\0bufferId\0QList<QPoint>\0" |
50 | "positionsInBuffer\0itemsInvalidated\0" |
51 | "itemsUpdated" |
52 | }; |
53 | #undef QT_MOC_LITERAL |
54 | |
55 | static const uint qt_meta_data_QPlatformSharedGraphicsCache[] = { |
56 | |
57 | // content: |
58 | 9, // revision |
59 | 0, // classname |
60 | 0, 0, // classinfo |
61 | 4, 14, // methods |
62 | 0, 0, // properties |
63 | 0, 0, // enums/sets |
64 | 0, 0, // constructors |
65 | 0, // flags |
66 | 4, // signalCount |
67 | |
68 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
69 | 1, 2, 38, 2, 0x06, 0 /* Public */, |
70 | 6, 4, 43, 2, 0x06, 3 /* Public */, |
71 | 10, 2, 52, 2, 0x06, 8 /* Public */, |
72 | 11, 4, 57, 2, 0x06, 11 /* Public */, |
73 | |
74 | // signals: parameters |
75 | QMetaType::Void, QMetaType::QByteArray, 0x80000000 | 4, 3, 5, |
76 | QMetaType::Void, QMetaType::QByteArray, QMetaType::VoidStar, 0x80000000 | 4, 0x80000000 | 8, 3, 7, 5, 9, |
77 | QMetaType::Void, QMetaType::QByteArray, 0x80000000 | 4, 3, 5, |
78 | QMetaType::Void, QMetaType::QByteArray, QMetaType::VoidStar, 0x80000000 | 4, 0x80000000 | 8, 3, 7, 5, 9, |
79 | |
80 | 0 // eod |
81 | }; |
82 | |
83 | void QPlatformSharedGraphicsCache::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
84 | { |
85 | if (_c == QMetaObject::InvokeMetaMethod) { |
86 | Q_ASSERT(staticMetaObject.cast(_o)); |
87 | auto *_t = static_cast<QPlatformSharedGraphicsCache *>(_o); |
88 | Q_UNUSED(_t) |
89 | switch (_id) { |
90 | case 0: _t->itemsMissing((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< const QList<quint32>(*)>(_a[2]))); break; |
91 | case 1: _t->itemsAvailable((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< void*(*)>(_a[2])),(*reinterpret_cast< const QList<quint32>(*)>(_a[3])),(*reinterpret_cast< const QList<QPoint>(*)>(_a[4]))); break; |
92 | case 2: _t->itemsInvalidated((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< const QList<quint32>(*)>(_a[2]))); break; |
93 | case 3: _t->itemsUpdated((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< void*(*)>(_a[2])),(*reinterpret_cast< const QList<quint32>(*)>(_a[3])),(*reinterpret_cast< const QList<QPoint>(*)>(_a[4]))); break; |
94 | default: ; |
95 | } |
96 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
97 | switch (_id) { |
98 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
99 | case 0: |
100 | switch (*reinterpret_cast<int*>(_a[1])) { |
101 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
102 | case 1: |
103 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<quint32> >(); break; |
104 | } |
105 | break; |
106 | case 1: |
107 | switch (*reinterpret_cast<int*>(_a[1])) { |
108 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
109 | case 3: |
110 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<QPoint> >(); break; |
111 | case 2: |
112 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<quint32> >(); break; |
113 | } |
114 | break; |
115 | case 2: |
116 | switch (*reinterpret_cast<int*>(_a[1])) { |
117 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
118 | case 1: |
119 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<quint32> >(); break; |
120 | } |
121 | break; |
122 | case 3: |
123 | switch (*reinterpret_cast<int*>(_a[1])) { |
124 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
125 | case 3: |
126 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<QPoint> >(); break; |
127 | case 2: |
128 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<quint32> >(); break; |
129 | } |
130 | break; |
131 | } |
132 | } else if (_c == QMetaObject::IndexOfMethod) { |
133 | int *result = reinterpret_cast<int *>(_a[0]); |
134 | { |
135 | using _t = void (QPlatformSharedGraphicsCache::*)(const QByteArray & , const QList<quint32> & ); |
136 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformSharedGraphicsCache::itemsMissing)) { |
137 | *result = 0; |
138 | return; |
139 | } |
140 | } |
141 | { |
142 | using _t = void (QPlatformSharedGraphicsCache::*)(const QByteArray & , void * , const QList<quint32> & , const QList<QPoint> & ); |
143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformSharedGraphicsCache::itemsAvailable)) { |
144 | *result = 1; |
145 | return; |
146 | } |
147 | } |
148 | { |
149 | using _t = void (QPlatformSharedGraphicsCache::*)(const QByteArray & , const QList<quint32> & ); |
150 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformSharedGraphicsCache::itemsInvalidated)) { |
151 | *result = 2; |
152 | return; |
153 | } |
154 | } |
155 | { |
156 | using _t = void (QPlatformSharedGraphicsCache::*)(const QByteArray & , void * , const QList<quint32> & , const QList<QPoint> & ); |
157 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformSharedGraphicsCache::itemsUpdated)) { |
158 | *result = 3; |
159 | return; |
160 | } |
161 | } |
162 | } |
163 | } |
164 | |
165 | const QMetaObject QPlatformSharedGraphicsCache::staticMetaObject = { { |
166 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
167 | qt_meta_stringdata_QPlatformSharedGraphicsCache.offsetsAndSize, |
168 | qt_meta_data_QPlatformSharedGraphicsCache, |
169 | qt_static_metacall, |
170 | nullptr, |
171 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QPlatformSharedGraphicsCache_t |
172 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QByteArray &, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<quint32> &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QByteArray &, std::false_type>, QtPrivate::TypeAndForceComplete<void *, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<quint32> &, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<QPoint> &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QByteArray &, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<quint32> &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QByteArray &, std::false_type>, QtPrivate::TypeAndForceComplete<void *, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<quint32> &, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<QPoint> &, std::false_type> |
173 | |
174 | |
175 | |
176 | >, |
177 | nullptr |
178 | } }; |
179 | |
180 | |
181 | const QMetaObject *QPlatformSharedGraphicsCache::metaObject() const |
182 | { |
183 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
184 | } |
185 | |
186 | void *QPlatformSharedGraphicsCache::qt_metacast(const char *_clname) |
187 | { |
188 | if (!_clname) return nullptr; |
189 | if (!strcmp(_clname, qt_meta_stringdata_QPlatformSharedGraphicsCache.stringdata0)) |
190 | return static_cast<void*>(this); |
191 | return QObject::qt_metacast(_clname); |
192 | } |
193 | |
194 | int QPlatformSharedGraphicsCache::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
195 | { |
196 | _id = QObject::qt_metacall(_c, _id, _a); |
197 | if (_id < 0) |
198 | return _id; |
199 | if (_c == QMetaObject::InvokeMetaMethod) { |
200 | if (_id < 4) |
201 | qt_static_metacall(this, _c, _id, _a); |
202 | _id -= 4; |
203 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
204 | if (_id < 4) |
205 | qt_static_metacall(this, _c, _id, _a); |
206 | _id -= 4; |
207 | } |
208 | return _id; |
209 | } |
210 | |
211 | // SIGNAL 0 |
212 | void QPlatformSharedGraphicsCache::itemsMissing(const QByteArray & _t1, const QList<quint32> & _t2) |
213 | { |
214 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
215 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
216 | } |
217 | |
218 | // SIGNAL 1 |
219 | void QPlatformSharedGraphicsCache::itemsAvailable(const QByteArray & _t1, void * _t2, const QList<quint32> & _t3, const QList<QPoint> & _t4) |
220 | { |
221 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))) }; |
222 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
223 | } |
224 | |
225 | // SIGNAL 2 |
226 | void QPlatformSharedGraphicsCache::itemsInvalidated(const QByteArray & _t1, const QList<quint32> & _t2) |
227 | { |
228 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
229 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
230 | } |
231 | |
232 | // SIGNAL 3 |
233 | void QPlatformSharedGraphicsCache::itemsUpdated(const QByteArray & _t1, void * _t2, const QList<quint32> & _t3, const QList<QPoint> & _t4) |
234 | { |
235 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))) }; |
236 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
237 | } |
238 | QT_WARNING_POP |
239 | QT_END_MOC_NAMESPACE |
240 | |