Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | #include "../qquickmaskextruder_p.h" | - |
10 | #include <QtCore/qbytearray.h> | - |
11 | #include <QtCore/qmetatype.h> | - |
12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
13 | #error "The header file 'qquickmaskextruder_p.h' doesn't include <QObject>." | - |
14 | #elif Q_MOC_OUTPUT_REVISION != 67 | - |
15 | #error "This file was generated using the moc from 5.12.0. It" | - |
16 | #error "cannot be used with the include files from this version of Qt." | - |
17 | #error "(The moc has changed too much.)" | - |
18 | #endif | - |
19 | | - |
20 | QT_BEGIN_MOC_NAMESPACE | - |
21 | QT_WARNING_PUSH | - |
22 | QT_WARNING_DISABLE_DEPRECATED | - |
23 | struct qt_meta_stringdata_QQuickMaskExtruder_t { | - |
24 | QByteArrayData data[8]; | - |
25 | char stringdata0[90]; | - |
26 | }; | - |
27 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
29 | qptrdiff(offsetof(qt_meta_stringdata_QQuickMaskExtruder_t, stringdata0) + ofs \ | - |
30 | - idx * sizeof(QByteArrayData)) \ | - |
31 | ) | - |
32 | static const qt_meta_stringdata_QQuickMaskExtruder_t qt_meta_stringdata_QQuickMaskExtruder = { | - |
33 | { | - |
34 | QT_MOC_LITERAL(0, 0, 18), | - |
35 | QT_MOC_LITERAL(1, 19, 13), | - |
36 | QT_MOC_LITERAL(2, 33, 0), | - |
37 | QT_MOC_LITERAL(3, 34, 3), | - |
38 | QT_MOC_LITERAL(4, 38, 9), | - |
39 | QT_MOC_LITERAL(5, 48, 16), | - |
40 | QT_MOC_LITERAL(6, 65, 17), | - |
41 | QT_MOC_LITERAL(7, 83, 6) | - |
42 | | - |
43 | }, | - |
44 | "QQuickMaskExtruder\0sourceChanged\0\0arg\0" | - |
45 | "setSource\0startMaskLoading\0finishMaskLoading\0" | - |
46 | "source" | - |
47 | }; | - |
48 | #undef QT_MOC_LITERAL | - |
49 | | - |
50 | static const uint qt_meta_data_QQuickMaskExtruder[] = { | - |
51 | | - |
52 | | - |
53 | 7, | - |
54 | 0, | - |
55 | 0, 0, | - |
56 | 4, 14, | - |
57 | 1, 42, | - |
58 | 0, 0, | - |
59 | 0, 0, | - |
60 | 0, | - |
61 | 1, | - |
62 | | - |
63 | | - |
64 | 1, 1, 34, 2, 0x06 , | - |
65 | | - |
66 | | - |
67 | 4, 1, 37, 2, 0x0a , | - |
68 | 5, 0, 40, 2, 0x08 , | - |
69 | 6, 0, 41, 2, 0x08 , | - |
70 | | - |
71 | | - |
72 | QMetaType::Void, QMetaType::QUrl, 3, | - |
73 | | - |
74 | | - |
75 | QMetaType::Void, QMetaType::QUrl, 3, | - |
76 | QMetaType::Void, | - |
77 | QMetaType::Void, | - |
78 | | - |
79 | | - |
80 | 7, QMetaType::QUrl, 0x00495103, | - |
81 | | - |
82 | | - |
83 | 0, | - |
84 | | - |
85 | 0 | - |
86 | }; | - |
87 | | - |
88 | void QQuickMaskExtruder::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
89 | { | - |
90 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
91 | QQuickMaskExtruder *_t = static_cast<QQuickMaskExtruder *>(_o); | - |
92 | Q_UNUSED(_t) | - |
93 | switch (_id) { | - |
94 | case 0: _t->sourceChanged((*reinterpret_cast< QUrl(*)>(_a[1]))); break; | - |
95 | case 1: _t->setSource((*reinterpret_cast< QUrl(*)>(_a[1]))); break; | - |
96 | case 2: _t->startMaskLoading(); break; | - |
97 | case 3: _t->finishMaskLoading(); break; | - |
98 | default: ; | - |
99 | } | - |
100 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
101 | int *result = reinterpret_cast<int *>(_a[0]); | - |
102 | { | - |
103 | using _t = void (QQuickMaskExtruder::*)(QUrl ); | - |
104 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickMaskExtruder::sourceChanged)) { | - |
105 | *result = 0; | - |
106 | return; | - |
107 | } | - |
108 | } | - |
109 | } | - |
110 | #ifndef QT_NO_PROPERTIES | - |
111 | else if (_c == QMetaObject::ReadProperty) { | - |
112 | QQuickMaskExtruder *_t = static_cast<QQuickMaskExtruder *>(_o); | - |
113 | Q_UNUSED(_t) | - |
114 | void *_v = _a[0]; | - |
115 | switch (_id) { | - |
116 | case 0: *reinterpret_cast< QUrl*>(_v) = _t->source(); break; | - |
117 | default: break; | - |
118 | } | - |
119 | } else if (_c == QMetaObject::WriteProperty) { | - |
120 | QQuickMaskExtruder *_t = static_cast<QQuickMaskExtruder *>(_o); | - |
121 | Q_UNUSED(_t) | - |
122 | void *_v = _a[0]; | - |
123 | switch (_id) { | - |
124 | case 0: _t->setSource(*reinterpret_cast< QUrl*>(_v)); break; | - |
125 | default: break; | - |
126 | } | - |
127 | } else if (_c == QMetaObject::ResetProperty) { | - |
128 | } | - |
129 | #endif // QT_NO_PROPERTIES | - |
130 | } | - |
131 | | - |
132 | QT_INIT_METAOBJECT const QMetaObject QQuickMaskExtruder::staticMetaObject = { | - |
133 | { &QQuickParticleExtruder::staticMetaObject, qt_meta_stringdata_QQuickMaskExtruder.data, | - |
134 | qt_meta_data_QQuickMaskExtruder, qt_static_metacall, nullptr, nullptr} | - |
135 | }; | - |
136 | | - |
137 | | - |
138 | const QMetaObject *QQuickMaskExtruder::metaObject() const | - |
139 | { | - |
140 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
141 | } | - |
142 | | - |
143 | void *QQuickMaskExtruder::qt_metacast(const char *_clname) | - |
144 | { | - |
145 | if (!_clname) return nullptr; | - |
146 | if (!strcmp(_clname, qt_meta_stringdata_QQuickMaskExtruder.stringdata0)) | - |
147 | return static_cast<void*>(this); | - |
148 | return QQuickParticleExtruder::qt_metacast(_clname); | - |
149 | } | - |
150 | | - |
151 | int QQuickMaskExtruder::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
152 | { | - |
153 | _id = QQuickParticleExtruder::qt_metacall(_c, _id, _a); | - |
154 | if (_id < 0) | - |
155 | return _id; | - |
156 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
157 | if (_id < 4) | - |
158 | qt_static_metacall(this, _c, _id, _a); | - |
159 | _id -= 4; | - |
160 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
161 | if (_id < 4) | - |
162 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
163 | _id -= 4; | - |
164 | } | - |
165 | #ifndef QT_NO_PROPERTIES | - |
166 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
167 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
168 | qt_static_metacall(this, _c, _id, _a); | - |
169 | _id -= 1; | - |
170 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
171 | _id -= 1; | - |
172 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
173 | _id -= 1; | - |
174 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
175 | _id -= 1; | - |
176 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
177 | _id -= 1; | - |
178 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
179 | _id -= 1; | - |
180 | } | - |
181 | #endif // QT_NO_PROPERTIES | - |
182 | return _id; | - |
183 | } | - |
184 | | - |
185 | | - |
186 | void QQuickMaskExtruder::sourceChanged(QUrl _t1) | - |
187 | { | - |
188 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
189 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | - |
190 | }executed 14 times by 2 tests: end of block Executed by:- tst_examples
- tst_qquickmaskextruder
| 14 |
191 | QT_WARNING_POP | - |
192 | QT_END_MOC_NAMESPACE | - |
| | |