1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qgraphicseffect.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 "effects/qgraphicseffect.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qgraphicseffect.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 | |
21 | QT_BEGIN_MOC_NAMESPACE |
22 | QT_WARNING_PUSH |
23 | QT_WARNING_DISABLE_DEPRECATED |
24 | struct qt_meta_stringdata_QGraphicsEffect_t { |
25 | const uint offsetsAndSize[26]; |
26 | char stringdata0[162]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QGraphicsEffect_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QGraphicsEffect_t qt_meta_stringdata_QGraphicsEffect = { |
31 | { |
32 | QT_MOC_LITERAL(0, 15), // "QGraphicsEffect" |
33 | QT_MOC_LITERAL(16, 14), // "enabledChanged" |
34 | QT_MOC_LITERAL(31, 0), // "" |
35 | QT_MOC_LITERAL(32, 7), // "enabled" |
36 | QT_MOC_LITERAL(40, 10), // "setEnabled" |
37 | QT_MOC_LITERAL(51, 6), // "enable" |
38 | QT_MOC_LITERAL(58, 6), // "update" |
39 | QT_MOC_LITERAL(65, 11), // "ChangeFlags" |
40 | QT_MOC_LITERAL(77, 10), // "ChangeFlag" |
41 | QT_MOC_LITERAL(88, 14), // "SourceAttached" |
42 | QT_MOC_LITERAL(103, 14), // "SourceDetached" |
43 | QT_MOC_LITERAL(118, 25), // "SourceBoundingRectChanged" |
44 | QT_MOC_LITERAL(144, 17) // "SourceInvalidated" |
45 | |
46 | }, |
47 | "QGraphicsEffect\0enabledChanged\0\0enabled\0" |
48 | "setEnabled\0enable\0update\0ChangeFlags\0" |
49 | "ChangeFlag\0SourceAttached\0SourceDetached\0" |
50 | "SourceBoundingRectChanged\0SourceInvalidated" |
51 | }; |
52 | #undef QT_MOC_LITERAL |
53 | |
54 | static const uint qt_meta_data_QGraphicsEffect[] = { |
55 | |
56 | // content: |
57 | 9, // revision |
58 | 0, // classname |
59 | 0, 0, // classinfo |
60 | 3, 14, // methods |
61 | 1, 39, // properties |
62 | 1, 44, // enums/sets |
63 | 0, 0, // constructors |
64 | 0, // flags |
65 | 1, // signalCount |
66 | |
67 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
68 | 1, 1, 32, 2, 0x06, 1 /* Public */, |
69 | |
70 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
71 | 4, 1, 35, 2, 0x0a, 3 /* Public */, |
72 | 6, 0, 38, 2, 0x0a, 5 /* Public */, |
73 | |
74 | // signals: parameters |
75 | QMetaType::Void, QMetaType::Bool, 3, |
76 | |
77 | // slots: parameters |
78 | QMetaType::Void, QMetaType::Bool, 5, |
79 | QMetaType::Void, |
80 | |
81 | // properties: name, type, flags |
82 | 3, QMetaType::Bool, 0x00015103, uint(0), 0, |
83 | |
84 | // enums: name, alias, flags, count, data |
85 | 7, 8, 0x1, 4, 49, |
86 | |
87 | // enum data: key, value |
88 | 9, uint(QGraphicsEffect::SourceAttached), |
89 | 10, uint(QGraphicsEffect::SourceDetached), |
90 | 11, uint(QGraphicsEffect::SourceBoundingRectChanged), |
91 | 12, uint(QGraphicsEffect::SourceInvalidated), |
92 | |
93 | 0 // eod |
94 | }; |
95 | |
96 | void QGraphicsEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
97 | { |
98 | if (_c == QMetaObject::InvokeMetaMethod) { |
99 | Q_ASSERT(staticMetaObject.cast(_o)); |
100 | auto *_t = static_cast<QGraphicsEffect *>(_o); |
101 | Q_UNUSED(_t) |
102 | switch (_id) { |
103 | case 0: _t->enabledChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; |
104 | case 1: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break; |
105 | case 2: _t->update(); break; |
106 | default: ; |
107 | } |
108 | } else if (_c == QMetaObject::IndexOfMethod) { |
109 | int *result = reinterpret_cast<int *>(_a[0]); |
110 | { |
111 | using _t = void (QGraphicsEffect::*)(bool ); |
112 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsEffect::enabledChanged)) { |
113 | *result = 0; |
114 | return; |
115 | } |
116 | } |
117 | } |
118 | #ifndef QT_NO_PROPERTIES |
119 | else if (_c == QMetaObject::ReadProperty) { |
120 | Q_ASSERT(staticMetaObject.cast(_o)); |
121 | auto *_t = static_cast<QGraphicsEffect *>(_o); |
122 | Q_UNUSED(_t) |
123 | void *_v = _a[0]; |
124 | switch (_id) { |
125 | case 0: *reinterpret_cast< bool*>(_v) = _t->isEnabled(); break; |
126 | default: break; |
127 | } |
128 | } else if (_c == QMetaObject::WriteProperty) { |
129 | Q_ASSERT(staticMetaObject.cast(_o)); |
130 | auto *_t = static_cast<QGraphicsEffect *>(_o); |
131 | Q_UNUSED(_t) |
132 | void *_v = _a[0]; |
133 | switch (_id) { |
134 | case 0: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break; |
135 | default: break; |
136 | } |
137 | } else if (_c == QMetaObject::ResetProperty) { |
138 | } else if (_c == QMetaObject::BindableProperty) { |
139 | } |
140 | #endif // QT_NO_PROPERTIES |
141 | } |
142 | |
143 | const QMetaObject QGraphicsEffect::staticMetaObject = { { |
144 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
145 | qt_meta_stringdata_QGraphicsEffect.offsetsAndSize, |
146 | qt_meta_data_QGraphicsEffect, |
147 | qt_static_metacall, |
148 | nullptr, |
149 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QGraphicsEffect_t |
150 | , QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type> |
151 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
152 | |
153 | |
154 | >, |
155 | nullptr |
156 | } }; |
157 | |
158 | |
159 | const QMetaObject *QGraphicsEffect::metaObject() const |
160 | { |
161 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
162 | } |
163 | |
164 | void *QGraphicsEffect::qt_metacast(const char *_clname) |
165 | { |
166 | if (!_clname) return nullptr; |
167 | if (!strcmp(_clname, qt_meta_stringdata_QGraphicsEffect.stringdata0)) |
168 | return static_cast<void*>(this); |
169 | return QObject::qt_metacast(_clname); |
170 | } |
171 | |
172 | int QGraphicsEffect::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
173 | { |
174 | _id = QObject::qt_metacall(_c, _id, _a); |
175 | if (_id < 0) |
176 | return _id; |
177 | if (_c == QMetaObject::InvokeMetaMethod) { |
178 | if (_id < 3) |
179 | qt_static_metacall(this, _c, _id, _a); |
180 | _id -= 3; |
181 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
182 | if (_id < 3) |
183 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
184 | _id -= 3; |
185 | } |
186 | #ifndef QT_NO_PROPERTIES |
187 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
188 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
189 | || _c == QMetaObject::RegisterPropertyMetaType) { |
190 | qt_static_metacall(this, _c, _id, _a); |
191 | _id -= 1; |
192 | } |
193 | #endif // QT_NO_PROPERTIES |
194 | return _id; |
195 | } |
196 | |
197 | // SIGNAL 0 |
198 | void QGraphicsEffect::enabledChanged(bool _t1) |
199 | { |
200 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
201 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
202 | } |
203 | struct qt_meta_stringdata_QGraphicsColorizeEffect_t { |
204 | const uint offsetsAndSize[18]; |
205 | char stringdata0[92]; |
206 | }; |
207 | #define QT_MOC_LITERAL(ofs, len) \ |
208 | uint(offsetof(qt_meta_stringdata_QGraphicsColorizeEffect_t, stringdata0) + ofs), len |
209 | static const qt_meta_stringdata_QGraphicsColorizeEffect_t qt_meta_stringdata_QGraphicsColorizeEffect = { |
210 | { |
211 | QT_MOC_LITERAL(0, 23), // "QGraphicsColorizeEffect" |
212 | QT_MOC_LITERAL(24, 12), // "colorChanged" |
213 | QT_MOC_LITERAL(37, 0), // "" |
214 | QT_MOC_LITERAL(38, 5), // "color" |
215 | QT_MOC_LITERAL(44, 15), // "strengthChanged" |
216 | QT_MOC_LITERAL(60, 8), // "strength" |
217 | QT_MOC_LITERAL(69, 8), // "setColor" |
218 | QT_MOC_LITERAL(78, 1), // "c" |
219 | QT_MOC_LITERAL(80, 11) // "setStrength" |
220 | |
221 | }, |
222 | "QGraphicsColorizeEffect\0colorChanged\0" |
223 | "\0color\0strengthChanged\0strength\0" |
224 | "setColor\0c\0setStrength" |
225 | }; |
226 | #undef QT_MOC_LITERAL |
227 | |
228 | static const uint qt_meta_data_QGraphicsColorizeEffect[] = { |
229 | |
230 | // content: |
231 | 9, // revision |
232 | 0, // classname |
233 | 0, 0, // classinfo |
234 | 4, 14, // methods |
235 | 2, 50, // properties |
236 | 0, 0, // enums/sets |
237 | 0, 0, // constructors |
238 | 0, // flags |
239 | 2, // signalCount |
240 | |
241 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
242 | 1, 1, 38, 2, 0x06, 2 /* Public */, |
243 | 4, 1, 41, 2, 0x06, 4 /* Public */, |
244 | |
245 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
246 | 6, 1, 44, 2, 0x0a, 6 /* Public */, |
247 | 8, 1, 47, 2, 0x0a, 8 /* Public */, |
248 | |
249 | // signals: parameters |
250 | QMetaType::Void, QMetaType::QColor, 3, |
251 | QMetaType::Void, QMetaType::QReal, 5, |
252 | |
253 | // slots: parameters |
254 | QMetaType::Void, QMetaType::QColor, 7, |
255 | QMetaType::Void, QMetaType::QReal, 5, |
256 | |
257 | // properties: name, type, flags |
258 | 3, QMetaType::QColor, 0x00015103, uint(0), 0, |
259 | 5, QMetaType::QReal, 0x00015103, uint(1), 0, |
260 | |
261 | 0 // eod |
262 | }; |
263 | |
264 | void QGraphicsColorizeEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
265 | { |
266 | if (_c == QMetaObject::InvokeMetaMethod) { |
267 | Q_ASSERT(staticMetaObject.cast(_o)); |
268 | auto *_t = static_cast<QGraphicsColorizeEffect *>(_o); |
269 | Q_UNUSED(_t) |
270 | switch (_id) { |
271 | case 0: _t->colorChanged((*reinterpret_cast< const QColor(*)>(_a[1]))); break; |
272 | case 1: _t->strengthChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; |
273 | case 2: _t->setColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break; |
274 | case 3: _t->setStrength((*reinterpret_cast< qreal(*)>(_a[1]))); break; |
275 | default: ; |
276 | } |
277 | } else if (_c == QMetaObject::IndexOfMethod) { |
278 | int *result = reinterpret_cast<int *>(_a[0]); |
279 | { |
280 | using _t = void (QGraphicsColorizeEffect::*)(const QColor & ); |
281 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsColorizeEffect::colorChanged)) { |
282 | *result = 0; |
283 | return; |
284 | } |
285 | } |
286 | { |
287 | using _t = void (QGraphicsColorizeEffect::*)(qreal ); |
288 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsColorizeEffect::strengthChanged)) { |
289 | *result = 1; |
290 | return; |
291 | } |
292 | } |
293 | } |
294 | #ifndef QT_NO_PROPERTIES |
295 | else if (_c == QMetaObject::ReadProperty) { |
296 | Q_ASSERT(staticMetaObject.cast(_o)); |
297 | auto *_t = static_cast<QGraphicsColorizeEffect *>(_o); |
298 | Q_UNUSED(_t) |
299 | void *_v = _a[0]; |
300 | switch (_id) { |
301 | case 0: *reinterpret_cast< QColor*>(_v) = _t->color(); break; |
302 | case 1: *reinterpret_cast< qreal*>(_v) = _t->strength(); break; |
303 | default: break; |
304 | } |
305 | } else if (_c == QMetaObject::WriteProperty) { |
306 | Q_ASSERT(staticMetaObject.cast(_o)); |
307 | auto *_t = static_cast<QGraphicsColorizeEffect *>(_o); |
308 | Q_UNUSED(_t) |
309 | void *_v = _a[0]; |
310 | switch (_id) { |
311 | case 0: _t->setColor(*reinterpret_cast< QColor*>(_v)); break; |
312 | case 1: _t->setStrength(*reinterpret_cast< qreal*>(_v)); break; |
313 | default: break; |
314 | } |
315 | } else if (_c == QMetaObject::ResetProperty) { |
316 | } else if (_c == QMetaObject::BindableProperty) { |
317 | } |
318 | #endif // QT_NO_PROPERTIES |
319 | } |
320 | |
321 | const QMetaObject QGraphicsColorizeEffect::staticMetaObject = { { |
322 | QMetaObject::SuperData::link<QGraphicsEffect::staticMetaObject>(), |
323 | qt_meta_stringdata_QGraphicsColorizeEffect.offsetsAndSize, |
324 | qt_meta_data_QGraphicsColorizeEffect, |
325 | qt_static_metacall, |
326 | nullptr, |
327 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QGraphicsColorizeEffect_t |
328 | , QtPrivate::TypeAndForceComplete<QColor, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type> |
329 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type> |
330 | |
331 | |
332 | >, |
333 | nullptr |
334 | } }; |
335 | |
336 | |
337 | const QMetaObject *QGraphicsColorizeEffect::metaObject() const |
338 | { |
339 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
340 | } |
341 | |
342 | void *QGraphicsColorizeEffect::qt_metacast(const char *_clname) |
343 | { |
344 | if (!_clname) return nullptr; |
345 | if (!strcmp(_clname, qt_meta_stringdata_QGraphicsColorizeEffect.stringdata0)) |
346 | return static_cast<void*>(this); |
347 | return QGraphicsEffect::qt_metacast(_clname); |
348 | } |
349 | |
350 | int QGraphicsColorizeEffect::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
351 | { |
352 | _id = QGraphicsEffect::qt_metacall(_c, _id, _a); |
353 | if (_id < 0) |
354 | return _id; |
355 | if (_c == QMetaObject::InvokeMetaMethod) { |
356 | if (_id < 4) |
357 | qt_static_metacall(this, _c, _id, _a); |
358 | _id -= 4; |
359 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
360 | if (_id < 4) |
361 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
362 | _id -= 4; |
363 | } |
364 | #ifndef QT_NO_PROPERTIES |
365 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
366 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
367 | || _c == QMetaObject::RegisterPropertyMetaType) { |
368 | qt_static_metacall(this, _c, _id, _a); |
369 | _id -= 2; |
370 | } |
371 | #endif // QT_NO_PROPERTIES |
372 | return _id; |
373 | } |
374 | |
375 | // SIGNAL 0 |
376 | void QGraphicsColorizeEffect::colorChanged(const QColor & _t1) |
377 | { |
378 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
379 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
380 | } |
381 | |
382 | // SIGNAL 1 |
383 | void QGraphicsColorizeEffect::strengthChanged(qreal _t1) |
384 | { |
385 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
386 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
387 | } |
388 | struct qt_meta_stringdata_QGraphicsBlurEffect_t { |
389 | const uint offsetsAndSize[28]; |
390 | char stringdata0[171]; |
391 | }; |
392 | #define QT_MOC_LITERAL(ofs, len) \ |
393 | uint(offsetof(qt_meta_stringdata_QGraphicsBlurEffect_t, stringdata0) + ofs), len |
394 | static const qt_meta_stringdata_QGraphicsBlurEffect_t qt_meta_stringdata_QGraphicsBlurEffect = { |
395 | { |
396 | QT_MOC_LITERAL(0, 19), // "QGraphicsBlurEffect" |
397 | QT_MOC_LITERAL(20, 17), // "blurRadiusChanged" |
398 | QT_MOC_LITERAL(38, 0), // "" |
399 | QT_MOC_LITERAL(39, 10), // "blurRadius" |
400 | QT_MOC_LITERAL(50, 16), // "blurHintsChanged" |
401 | QT_MOC_LITERAL(67, 9), // "BlurHints" |
402 | QT_MOC_LITERAL(77, 5), // "hints" |
403 | QT_MOC_LITERAL(83, 13), // "setBlurRadius" |
404 | QT_MOC_LITERAL(97, 12), // "setBlurHints" |
405 | QT_MOC_LITERAL(110, 9), // "blurHints" |
406 | QT_MOC_LITERAL(120, 8), // "BlurHint" |
407 | QT_MOC_LITERAL(129, 15), // "PerformanceHint" |
408 | QT_MOC_LITERAL(145, 11), // "QualityHint" |
409 | QT_MOC_LITERAL(157, 13) // "AnimationHint" |
410 | |
411 | }, |
412 | "QGraphicsBlurEffect\0blurRadiusChanged\0" |
413 | "\0blurRadius\0blurHintsChanged\0BlurHints\0" |
414 | "hints\0setBlurRadius\0setBlurHints\0" |
415 | "blurHints\0BlurHint\0PerformanceHint\0" |
416 | "QualityHint\0AnimationHint" |
417 | }; |
418 | #undef QT_MOC_LITERAL |
419 | |
420 | static const uint qt_meta_data_QGraphicsBlurEffect[] = { |
421 | |
422 | // content: |
423 | 9, // revision |
424 | 0, // classname |
425 | 0, 0, // classinfo |
426 | 4, 14, // methods |
427 | 2, 50, // properties |
428 | 2, 60, // enums/sets |
429 | 0, 0, // constructors |
430 | 0, // flags |
431 | 2, // signalCount |
432 | |
433 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
434 | 1, 1, 38, 2, 0x06, 2 /* Public */, |
435 | 4, 1, 41, 2, 0x06, 4 /* Public */, |
436 | |
437 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
438 | 7, 1, 44, 2, 0x0a, 6 /* Public */, |
439 | 8, 1, 47, 2, 0x0a, 8 /* Public */, |
440 | |
441 | // signals: parameters |
442 | QMetaType::Void, QMetaType::QReal, 3, |
443 | QMetaType::Void, 0x80000000 | 5, 6, |
444 | |
445 | // slots: parameters |
446 | QMetaType::Void, QMetaType::QReal, 3, |
447 | QMetaType::Void, 0x80000000 | 5, 6, |
448 | |
449 | // properties: name, type, flags |
450 | 3, QMetaType::QReal, 0x00015103, uint(0), 0, |
451 | 9, 0x80000000 | 5, 0x0001510b, uint(1), 0, |
452 | |
453 | // enums: name, alias, flags, count, data |
454 | 10, 10, 0x1, 3, 70, |
455 | 5, 10, 0x1, 3, 76, |
456 | |
457 | // enum data: key, value |
458 | 11, uint(QGraphicsBlurEffect::PerformanceHint), |
459 | 12, uint(QGraphicsBlurEffect::QualityHint), |
460 | 13, uint(QGraphicsBlurEffect::AnimationHint), |
461 | 11, uint(QGraphicsBlurEffect::PerformanceHint), |
462 | 12, uint(QGraphicsBlurEffect::QualityHint), |
463 | 13, uint(QGraphicsBlurEffect::AnimationHint), |
464 | |
465 | 0 // eod |
466 | }; |
467 | |
468 | void QGraphicsBlurEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
469 | { |
470 | if (_c == QMetaObject::InvokeMetaMethod) { |
471 | Q_ASSERT(staticMetaObject.cast(_o)); |
472 | auto *_t = static_cast<QGraphicsBlurEffect *>(_o); |
473 | Q_UNUSED(_t) |
474 | switch (_id) { |
475 | case 0: _t->blurRadiusChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; |
476 | case 1: _t->blurHintsChanged((*reinterpret_cast< BlurHints(*)>(_a[1]))); break; |
477 | case 2: _t->setBlurRadius((*reinterpret_cast< qreal(*)>(_a[1]))); break; |
478 | case 3: _t->setBlurHints((*reinterpret_cast< BlurHints(*)>(_a[1]))); break; |
479 | default: ; |
480 | } |
481 | } else if (_c == QMetaObject::IndexOfMethod) { |
482 | int *result = reinterpret_cast<int *>(_a[0]); |
483 | { |
484 | using _t = void (QGraphicsBlurEffect::*)(qreal ); |
485 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsBlurEffect::blurRadiusChanged)) { |
486 | *result = 0; |
487 | return; |
488 | } |
489 | } |
490 | { |
491 | using _t = void (QGraphicsBlurEffect::*)(BlurHints ); |
492 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsBlurEffect::blurHintsChanged)) { |
493 | *result = 1; |
494 | return; |
495 | } |
496 | } |
497 | } |
498 | #ifndef QT_NO_PROPERTIES |
499 | else if (_c == QMetaObject::ReadProperty) { |
500 | Q_ASSERT(staticMetaObject.cast(_o)); |
501 | auto *_t = static_cast<QGraphicsBlurEffect *>(_o); |
502 | Q_UNUSED(_t) |
503 | void *_v = _a[0]; |
504 | switch (_id) { |
505 | case 0: *reinterpret_cast< qreal*>(_v) = _t->blurRadius(); break; |
506 | case 1: *reinterpret_cast<int*>(_v) = QFlag(_t->blurHints()); break; |
507 | default: break; |
508 | } |
509 | } else if (_c == QMetaObject::WriteProperty) { |
510 | Q_ASSERT(staticMetaObject.cast(_o)); |
511 | auto *_t = static_cast<QGraphicsBlurEffect *>(_o); |
512 | Q_UNUSED(_t) |
513 | void *_v = _a[0]; |
514 | switch (_id) { |
515 | case 0: _t->setBlurRadius(*reinterpret_cast< qreal*>(_v)); break; |
516 | case 1: _t->setBlurHints(QFlag(*reinterpret_cast<int*>(_v))); break; |
517 | default: break; |
518 | } |
519 | } else if (_c == QMetaObject::ResetProperty) { |
520 | } else if (_c == QMetaObject::BindableProperty) { |
521 | } |
522 | #endif // QT_NO_PROPERTIES |
523 | } |
524 | |
525 | const QMetaObject QGraphicsBlurEffect::staticMetaObject = { { |
526 | QMetaObject::SuperData::link<QGraphicsEffect::staticMetaObject>(), |
527 | qt_meta_stringdata_QGraphicsBlurEffect.offsetsAndSize, |
528 | qt_meta_data_QGraphicsBlurEffect, |
529 | qt_static_metacall, |
530 | nullptr, |
531 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QGraphicsBlurEffect_t |
532 | , QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<BlurHints, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<BlurHints, std::false_type> |
533 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<BlurHints, std::false_type> |
534 | |
535 | |
536 | >, |
537 | nullptr |
538 | } }; |
539 | |
540 | |
541 | const QMetaObject *QGraphicsBlurEffect::metaObject() const |
542 | { |
543 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
544 | } |
545 | |
546 | void *QGraphicsBlurEffect::qt_metacast(const char *_clname) |
547 | { |
548 | if (!_clname) return nullptr; |
549 | if (!strcmp(_clname, qt_meta_stringdata_QGraphicsBlurEffect.stringdata0)) |
550 | return static_cast<void*>(this); |
551 | return QGraphicsEffect::qt_metacast(_clname); |
552 | } |
553 | |
554 | int QGraphicsBlurEffect::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
555 | { |
556 | _id = QGraphicsEffect::qt_metacall(_c, _id, _a); |
557 | if (_id < 0) |
558 | return _id; |
559 | if (_c == QMetaObject::InvokeMetaMethod) { |
560 | if (_id < 4) |
561 | qt_static_metacall(this, _c, _id, _a); |
562 | _id -= 4; |
563 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
564 | if (_id < 4) |
565 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
566 | _id -= 4; |
567 | } |
568 | #ifndef QT_NO_PROPERTIES |
569 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
570 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
571 | || _c == QMetaObject::RegisterPropertyMetaType) { |
572 | qt_static_metacall(this, _c, _id, _a); |
573 | _id -= 2; |
574 | } |
575 | #endif // QT_NO_PROPERTIES |
576 | return _id; |
577 | } |
578 | |
579 | // SIGNAL 0 |
580 | void QGraphicsBlurEffect::blurRadiusChanged(qreal _t1) |
581 | { |
582 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
583 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
584 | } |
585 | |
586 | // SIGNAL 1 |
587 | void QGraphicsBlurEffect::blurHintsChanged(BlurHints _t1) |
588 | { |
589 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
590 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
591 | } |
592 | struct qt_meta_stringdata_QGraphicsDropShadowEffect_t { |
593 | const uint offsetsAndSize[38]; |
594 | char stringdata0[179]; |
595 | }; |
596 | #define QT_MOC_LITERAL(ofs, len) \ |
597 | uint(offsetof(qt_meta_stringdata_QGraphicsDropShadowEffect_t, stringdata0) + ofs), len |
598 | static const qt_meta_stringdata_QGraphicsDropShadowEffect_t qt_meta_stringdata_QGraphicsDropShadowEffect = { |
599 | { |
600 | QT_MOC_LITERAL(0, 25), // "QGraphicsDropShadowEffect" |
601 | QT_MOC_LITERAL(26, 13), // "offsetChanged" |
602 | QT_MOC_LITERAL(40, 0), // "" |
603 | QT_MOC_LITERAL(41, 6), // "offset" |
604 | QT_MOC_LITERAL(48, 17), // "blurRadiusChanged" |
605 | QT_MOC_LITERAL(66, 10), // "blurRadius" |
606 | QT_MOC_LITERAL(77, 12), // "colorChanged" |
607 | QT_MOC_LITERAL(90, 5), // "color" |
608 | QT_MOC_LITERAL(96, 9), // "setOffset" |
609 | QT_MOC_LITERAL(106, 3), // "ofs" |
610 | QT_MOC_LITERAL(110, 2), // "dx" |
611 | QT_MOC_LITERAL(113, 2), // "dy" |
612 | QT_MOC_LITERAL(116, 1), // "d" |
613 | QT_MOC_LITERAL(118, 10), // "setXOffset" |
614 | QT_MOC_LITERAL(129, 10), // "setYOffset" |
615 | QT_MOC_LITERAL(140, 13), // "setBlurRadius" |
616 | QT_MOC_LITERAL(154, 8), // "setColor" |
617 | QT_MOC_LITERAL(163, 7), // "xOffset" |
618 | QT_MOC_LITERAL(171, 7) // "yOffset" |
619 | |
620 | }, |
621 | "QGraphicsDropShadowEffect\0offsetChanged\0" |
622 | "\0offset\0blurRadiusChanged\0blurRadius\0" |
623 | "colorChanged\0color\0setOffset\0ofs\0dx\0" |
624 | "dy\0d\0setXOffset\0setYOffset\0setBlurRadius\0" |
625 | "setColor\0xOffset\0yOffset" |
626 | }; |
627 | #undef QT_MOC_LITERAL |
628 | |
629 | static const uint qt_meta_data_QGraphicsDropShadowEffect[] = { |
630 | |
631 | // content: |
632 | 9, // revision |
633 | 0, // classname |
634 | 0, 0, // classinfo |
635 | 10, 14, // methods |
636 | 5, 106, // properties |
637 | 0, 0, // enums/sets |
638 | 0, 0, // constructors |
639 | 0, // flags |
640 | 3, // signalCount |
641 | |
642 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
643 | 1, 1, 74, 2, 0x06, 5 /* Public */, |
644 | 4, 1, 77, 2, 0x06, 7 /* Public */, |
645 | 6, 1, 80, 2, 0x06, 9 /* Public */, |
646 | |
647 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
648 | 8, 1, 83, 2, 0x0a, 11 /* Public */, |
649 | 8, 2, 86, 2, 0x0a, 13 /* Public */, |
650 | 8, 1, 91, 2, 0x0a, 16 /* Public */, |
651 | 13, 1, 94, 2, 0x0a, 18 /* Public */, |
652 | 14, 1, 97, 2, 0x0a, 20 /* Public */, |
653 | 15, 1, 100, 2, 0x0a, 22 /* Public */, |
654 | 16, 1, 103, 2, 0x0a, 24 /* Public */, |
655 | |
656 | // signals: parameters |
657 | QMetaType::Void, QMetaType::QPointF, 3, |
658 | QMetaType::Void, QMetaType::QReal, 5, |
659 | QMetaType::Void, QMetaType::QColor, 7, |
660 | |
661 | // slots: parameters |
662 | QMetaType::Void, QMetaType::QPointF, 9, |
663 | QMetaType::Void, QMetaType::QReal, QMetaType::QReal, 10, 11, |
664 | QMetaType::Void, QMetaType::QReal, 12, |
665 | QMetaType::Void, QMetaType::QReal, 10, |
666 | QMetaType::Void, QMetaType::QReal, 11, |
667 | QMetaType::Void, QMetaType::QReal, 5, |
668 | QMetaType::Void, QMetaType::QColor, 7, |
669 | |
670 | // properties: name, type, flags |
671 | 3, QMetaType::QPointF, 0x00015103, uint(0), 0, |
672 | 17, QMetaType::QReal, 0x00015103, uint(0), 0, |
673 | 18, QMetaType::QReal, 0x00015103, uint(0), 0, |
674 | 5, QMetaType::QReal, 0x00015103, uint(1), 0, |
675 | 7, QMetaType::QColor, 0x00015103, uint(2), 0, |
676 | |
677 | 0 // eod |
678 | }; |
679 | |
680 | void QGraphicsDropShadowEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
681 | { |
682 | if (_c == QMetaObject::InvokeMetaMethod) { |
683 | Q_ASSERT(staticMetaObject.cast(_o)); |
684 | auto *_t = static_cast<QGraphicsDropShadowEffect *>(_o); |
685 | Q_UNUSED(_t) |
686 | switch (_id) { |
687 | case 0: _t->offsetChanged((*reinterpret_cast< const QPointF(*)>(_a[1]))); break; |
688 | case 1: _t->blurRadiusChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; |
689 | case 2: _t->colorChanged((*reinterpret_cast< const QColor(*)>(_a[1]))); break; |
690 | case 3: _t->setOffset((*reinterpret_cast< const QPointF(*)>(_a[1]))); break; |
691 | case 4: _t->setOffset((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break; |
692 | case 5: _t->setOffset((*reinterpret_cast< qreal(*)>(_a[1]))); break; |
693 | case 6: _t->setXOffset((*reinterpret_cast< qreal(*)>(_a[1]))); break; |
694 | case 7: _t->setYOffset((*reinterpret_cast< qreal(*)>(_a[1]))); break; |
695 | case 8: _t->setBlurRadius((*reinterpret_cast< qreal(*)>(_a[1]))); break; |
696 | case 9: _t->setColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break; |
697 | default: ; |
698 | } |
699 | } else if (_c == QMetaObject::IndexOfMethod) { |
700 | int *result = reinterpret_cast<int *>(_a[0]); |
701 | { |
702 | using _t = void (QGraphicsDropShadowEffect::*)(const QPointF & ); |
703 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsDropShadowEffect::offsetChanged)) { |
704 | *result = 0; |
705 | return; |
706 | } |
707 | } |
708 | { |
709 | using _t = void (QGraphicsDropShadowEffect::*)(qreal ); |
710 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsDropShadowEffect::blurRadiusChanged)) { |
711 | *result = 1; |
712 | return; |
713 | } |
714 | } |
715 | { |
716 | using _t = void (QGraphicsDropShadowEffect::*)(const QColor & ); |
717 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsDropShadowEffect::colorChanged)) { |
718 | *result = 2; |
719 | return; |
720 | } |
721 | } |
722 | } |
723 | #ifndef QT_NO_PROPERTIES |
724 | else if (_c == QMetaObject::ReadProperty) { |
725 | Q_ASSERT(staticMetaObject.cast(_o)); |
726 | auto *_t = static_cast<QGraphicsDropShadowEffect *>(_o); |
727 | Q_UNUSED(_t) |
728 | void *_v = _a[0]; |
729 | switch (_id) { |
730 | case 0: *reinterpret_cast< QPointF*>(_v) = _t->offset(); break; |
731 | case 1: *reinterpret_cast< qreal*>(_v) = _t->xOffset(); break; |
732 | case 2: *reinterpret_cast< qreal*>(_v) = _t->yOffset(); break; |
733 | case 3: *reinterpret_cast< qreal*>(_v) = _t->blurRadius(); break; |
734 | case 4: *reinterpret_cast< QColor*>(_v) = _t->color(); break; |
735 | default: break; |
736 | } |
737 | } else if (_c == QMetaObject::WriteProperty) { |
738 | Q_ASSERT(staticMetaObject.cast(_o)); |
739 | auto *_t = static_cast<QGraphicsDropShadowEffect *>(_o); |
740 | Q_UNUSED(_t) |
741 | void *_v = _a[0]; |
742 | switch (_id) { |
743 | case 0: _t->setOffset(*reinterpret_cast< QPointF*>(_v)); break; |
744 | case 1: _t->setXOffset(*reinterpret_cast< qreal*>(_v)); break; |
745 | case 2: _t->setYOffset(*reinterpret_cast< qreal*>(_v)); break; |
746 | case 3: _t->setBlurRadius(*reinterpret_cast< qreal*>(_v)); break; |
747 | case 4: _t->setColor(*reinterpret_cast< QColor*>(_v)); break; |
748 | default: break; |
749 | } |
750 | } else if (_c == QMetaObject::ResetProperty) { |
751 | } else if (_c == QMetaObject::BindableProperty) { |
752 | } |
753 | #endif // QT_NO_PROPERTIES |
754 | } |
755 | |
756 | const QMetaObject QGraphicsDropShadowEffect::staticMetaObject = { { |
757 | QMetaObject::SuperData::link<QGraphicsEffect::staticMetaObject>(), |
758 | qt_meta_stringdata_QGraphicsDropShadowEffect.offsetsAndSize, |
759 | qt_meta_data_QGraphicsDropShadowEffect, |
760 | qt_static_metacall, |
761 | nullptr, |
762 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QGraphicsDropShadowEffect_t |
763 | , QtPrivate::TypeAndForceComplete<QPointF, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<QColor, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QPointF &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QColor &, std::false_type> |
764 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QPointF &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QColor &, std::false_type> |
765 | |
766 | |
767 | >, |
768 | nullptr |
769 | } }; |
770 | |
771 | |
772 | const QMetaObject *QGraphicsDropShadowEffect::metaObject() const |
773 | { |
774 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
775 | } |
776 | |
777 | void *QGraphicsDropShadowEffect::qt_metacast(const char *_clname) |
778 | { |
779 | if (!_clname) return nullptr; |
780 | if (!strcmp(_clname, qt_meta_stringdata_QGraphicsDropShadowEffect.stringdata0)) |
781 | return static_cast<void*>(this); |
782 | return QGraphicsEffect::qt_metacast(_clname); |
783 | } |
784 | |
785 | int QGraphicsDropShadowEffect::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
786 | { |
787 | _id = QGraphicsEffect::qt_metacall(_c, _id, _a); |
788 | if (_id < 0) |
789 | return _id; |
790 | if (_c == QMetaObject::InvokeMetaMethod) { |
791 | if (_id < 10) |
792 | qt_static_metacall(this, _c, _id, _a); |
793 | _id -= 10; |
794 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
795 | if (_id < 10) |
796 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
797 | _id -= 10; |
798 | } |
799 | #ifndef QT_NO_PROPERTIES |
800 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
801 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
802 | || _c == QMetaObject::RegisterPropertyMetaType) { |
803 | qt_static_metacall(this, _c, _id, _a); |
804 | _id -= 5; |
805 | } |
806 | #endif // QT_NO_PROPERTIES |
807 | return _id; |
808 | } |
809 | |
810 | // SIGNAL 0 |
811 | void QGraphicsDropShadowEffect::offsetChanged(const QPointF & _t1) |
812 | { |
813 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
814 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
815 | } |
816 | |
817 | // SIGNAL 1 |
818 | void QGraphicsDropShadowEffect::blurRadiusChanged(qreal _t1) |
819 | { |
820 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
821 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
822 | } |
823 | |
824 | // SIGNAL 2 |
825 | void QGraphicsDropShadowEffect::colorChanged(const QColor & _t1) |
826 | { |
827 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
828 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
829 | } |
830 | struct qt_meta_stringdata_QGraphicsOpacityEffect_t { |
831 | const uint offsetsAndSize[18]; |
832 | char stringdata0[109]; |
833 | }; |
834 | #define QT_MOC_LITERAL(ofs, len) \ |
835 | uint(offsetof(qt_meta_stringdata_QGraphicsOpacityEffect_t, stringdata0) + ofs), len |
836 | static const qt_meta_stringdata_QGraphicsOpacityEffect_t qt_meta_stringdata_QGraphicsOpacityEffect = { |
837 | { |
838 | QT_MOC_LITERAL(0, 22), // "QGraphicsOpacityEffect" |
839 | QT_MOC_LITERAL(23, 14), // "opacityChanged" |
840 | QT_MOC_LITERAL(38, 0), // "" |
841 | QT_MOC_LITERAL(39, 7), // "opacity" |
842 | QT_MOC_LITERAL(47, 18), // "opacityMaskChanged" |
843 | QT_MOC_LITERAL(66, 4), // "mask" |
844 | QT_MOC_LITERAL(71, 10), // "setOpacity" |
845 | QT_MOC_LITERAL(82, 14), // "setOpacityMask" |
846 | QT_MOC_LITERAL(97, 11) // "opacityMask" |
847 | |
848 | }, |
849 | "QGraphicsOpacityEffect\0opacityChanged\0" |
850 | "\0opacity\0opacityMaskChanged\0mask\0" |
851 | "setOpacity\0setOpacityMask\0opacityMask" |
852 | }; |
853 | #undef QT_MOC_LITERAL |
854 | |
855 | static const uint qt_meta_data_QGraphicsOpacityEffect[] = { |
856 | |
857 | // content: |
858 | 9, // revision |
859 | 0, // classname |
860 | 0, 0, // classinfo |
861 | 4, 14, // methods |
862 | 2, 50, // properties |
863 | 0, 0, // enums/sets |
864 | 0, 0, // constructors |
865 | 0, // flags |
866 | 2, // signalCount |
867 | |
868 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
869 | 1, 1, 38, 2, 0x06, 2 /* Public */, |
870 | 4, 1, 41, 2, 0x06, 4 /* Public */, |
871 | |
872 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
873 | 6, 1, 44, 2, 0x0a, 6 /* Public */, |
874 | 7, 1, 47, 2, 0x0a, 8 /* Public */, |
875 | |
876 | // signals: parameters |
877 | QMetaType::Void, QMetaType::QReal, 3, |
878 | QMetaType::Void, QMetaType::QBrush, 5, |
879 | |
880 | // slots: parameters |
881 | QMetaType::Void, QMetaType::QReal, 3, |
882 | QMetaType::Void, QMetaType::QBrush, 5, |
883 | |
884 | // properties: name, type, flags |
885 | 3, QMetaType::QReal, 0x00015103, uint(0), 0, |
886 | 8, QMetaType::QBrush, 0x00015103, uint(1), 0, |
887 | |
888 | 0 // eod |
889 | }; |
890 | |
891 | void QGraphicsOpacityEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
892 | { |
893 | if (_c == QMetaObject::InvokeMetaMethod) { |
894 | Q_ASSERT(staticMetaObject.cast(_o)); |
895 | auto *_t = static_cast<QGraphicsOpacityEffect *>(_o); |
896 | Q_UNUSED(_t) |
897 | switch (_id) { |
898 | case 0: _t->opacityChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; |
899 | case 1: _t->opacityMaskChanged((*reinterpret_cast< const QBrush(*)>(_a[1]))); break; |
900 | case 2: _t->setOpacity((*reinterpret_cast< qreal(*)>(_a[1]))); break; |
901 | case 3: _t->setOpacityMask((*reinterpret_cast< const QBrush(*)>(_a[1]))); break; |
902 | default: ; |
903 | } |
904 | } else if (_c == QMetaObject::IndexOfMethod) { |
905 | int *result = reinterpret_cast<int *>(_a[0]); |
906 | { |
907 | using _t = void (QGraphicsOpacityEffect::*)(qreal ); |
908 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsOpacityEffect::opacityChanged)) { |
909 | *result = 0; |
910 | return; |
911 | } |
912 | } |
913 | { |
914 | using _t = void (QGraphicsOpacityEffect::*)(const QBrush & ); |
915 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsOpacityEffect::opacityMaskChanged)) { |
916 | *result = 1; |
917 | return; |
918 | } |
919 | } |
920 | } |
921 | #ifndef QT_NO_PROPERTIES |
922 | else if (_c == QMetaObject::ReadProperty) { |
923 | Q_ASSERT(staticMetaObject.cast(_o)); |
924 | auto *_t = static_cast<QGraphicsOpacityEffect *>(_o); |
925 | Q_UNUSED(_t) |
926 | void *_v = _a[0]; |
927 | switch (_id) { |
928 | case 0: *reinterpret_cast< qreal*>(_v) = _t->opacity(); break; |
929 | case 1: *reinterpret_cast< QBrush*>(_v) = _t->opacityMask(); break; |
930 | default: break; |
931 | } |
932 | } else if (_c == QMetaObject::WriteProperty) { |
933 | Q_ASSERT(staticMetaObject.cast(_o)); |
934 | auto *_t = static_cast<QGraphicsOpacityEffect *>(_o); |
935 | Q_UNUSED(_t) |
936 | void *_v = _a[0]; |
937 | switch (_id) { |
938 | case 0: _t->setOpacity(*reinterpret_cast< qreal*>(_v)); break; |
939 | case 1: _t->setOpacityMask(*reinterpret_cast< QBrush*>(_v)); break; |
940 | default: break; |
941 | } |
942 | } else if (_c == QMetaObject::ResetProperty) { |
943 | } else if (_c == QMetaObject::BindableProperty) { |
944 | } |
945 | #endif // QT_NO_PROPERTIES |
946 | } |
947 | |
948 | const QMetaObject QGraphicsOpacityEffect::staticMetaObject = { { |
949 | QMetaObject::SuperData::link<QGraphicsEffect::staticMetaObject>(), |
950 | qt_meta_stringdata_QGraphicsOpacityEffect.offsetsAndSize, |
951 | qt_meta_data_QGraphicsOpacityEffect, |
952 | qt_static_metacall, |
953 | nullptr, |
954 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QGraphicsOpacityEffect_t |
955 | , QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<QBrush, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QBrush &, std::false_type> |
956 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QBrush &, std::false_type> |
957 | |
958 | |
959 | >, |
960 | nullptr |
961 | } }; |
962 | |
963 | |
964 | const QMetaObject *QGraphicsOpacityEffect::metaObject() const |
965 | { |
966 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
967 | } |
968 | |
969 | void *QGraphicsOpacityEffect::qt_metacast(const char *_clname) |
970 | { |
971 | if (!_clname) return nullptr; |
972 | if (!strcmp(_clname, qt_meta_stringdata_QGraphicsOpacityEffect.stringdata0)) |
973 | return static_cast<void*>(this); |
974 | return QGraphicsEffect::qt_metacast(_clname); |
975 | } |
976 | |
977 | int QGraphicsOpacityEffect::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
978 | { |
979 | _id = QGraphicsEffect::qt_metacall(_c, _id, _a); |
980 | if (_id < 0) |
981 | return _id; |
982 | if (_c == QMetaObject::InvokeMetaMethod) { |
983 | if (_id < 4) |
984 | qt_static_metacall(this, _c, _id, _a); |
985 | _id -= 4; |
986 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
987 | if (_id < 4) |
988 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
989 | _id -= 4; |
990 | } |
991 | #ifndef QT_NO_PROPERTIES |
992 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
993 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
994 | || _c == QMetaObject::RegisterPropertyMetaType) { |
995 | qt_static_metacall(this, _c, _id, _a); |
996 | _id -= 2; |
997 | } |
998 | #endif // QT_NO_PROPERTIES |
999 | return _id; |
1000 | } |
1001 | |
1002 | // SIGNAL 0 |
1003 | void QGraphicsOpacityEffect::opacityChanged(qreal _t1) |
1004 | { |
1005 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
1006 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
1007 | } |
1008 | |
1009 | // SIGNAL 1 |
1010 | void QGraphicsOpacityEffect::opacityMaskChanged(const QBrush & _t1) |
1011 | { |
1012 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
1013 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
1014 | } |
1015 | QT_WARNING_POP |
1016 | QT_END_MOC_NAMESPACE |
1017 | |