OpenCoverage

moc_qquickmaskextruder_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/.moc/moc_qquickmaskextruder_p.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3#pragma GCC diagnostic push-
4-
5-
6#pragma GCC diagnostic ignored "-Wdeprecated-declarations"-
7-
8struct qt_meta_stringdata_QQuickMaskExtruder_t {-
9 QByteArrayData data[8];-
10 char stringdata0[90];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickMaskExtruder_t qt_meta_stringdata_QQuickMaskExtruder = {-
18 {-
19{ { { -1 } }, 18, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickMaskExtruder_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 13, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickMaskExtruder_t-
29, -
30stringdata0-
31) -
32+ 19 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickMaskExtruder_t-
36, -
37stringdata0-
38) -
39+ 33 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 3, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickMaskExtruder_t-
43, -
44stringdata0-
45) -
46+ 34 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 9, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickMaskExtruder_t-
50, -
51stringdata0-
52) -
53+ 38 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 16, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickMaskExtruder_t-
57, -
58stringdata0-
59) -
60+ 48 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 17, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickMaskExtruder_t-
64, -
65stringdata0-
66) -
67+ 65 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 6, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickMaskExtruder_t-
71, -
72stringdata0-
73) -
74+ 83 - 7 * sizeof(QByteArrayData)) }-
75-
76 },-
77 "QQuickMaskExtruder\0sourceChanged\0\0arg\0"-
78 "setSource\0startMaskLoading\0finishMaskLoading\0"-
79 "source"-
80};-
81-
82-
83static const uint qt_meta_data_QQuickMaskExtruder[] = {-
84-
85-
86 7,-
87 0,-
88 0, 0,-
89 4, 14,-
90 1, 42,-
91 0, 0,-
92 0, 0,-
93 0,-
94 1,-
95-
96-
97 1, 1, 34, 2, 0x06 ,-
98-
99-
100 4, 1, 37, 2, 0x0a ,-
101 5, 0, 40, 2, 0x08 ,-
102 6, 0, 41, 2, 0x08 ,-
103-
104-
105 QMetaType::Void, QMetaType::QUrl, 3,-
106-
107-
108 QMetaType::Void, QMetaType::QUrl, 3,-
109 QMetaType::Void,-
110 QMetaType::Void,-
111-
112-
113 7, QMetaType::QUrl, 0x00495103,-
114-
115-
116 0,-
117-
118 0-
119};-
120-
121void QQuickMaskExtruder::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
122{-
123 if (_c == QMetaObject::InvokeMetaMethod) {-
124 QQuickMaskExtruder *_t = static_cast<QQuickMaskExtruder *>(_o);-
125 (void)_t;-
126 switch (_id) {-
127 case 0: _t->sourceChanged((*reinterpret_cast< QUrl(*)>(_a[1]))); break;-
128 case 1: _t->setSource((*reinterpret_cast< QUrl(*)>(_a[1]))); break;-
129 case 2: _t->startMaskLoading(); break;-
130 case 3: _t->finishMaskLoading(); break;-
131 default: ;-
132 }-
133 } else if (_c == QMetaObject::IndexOfMethod) {-
134 int *result = reinterpret_cast<int *>(_a[0]);-
135 {-
136 using _t = void (QQuickMaskExtruder::*)(QUrl );-
137 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickMaskExtruder::sourceChanged)) {-
138 *result = 0;-
139 return;-
140 }-
141 }-
142 }-
143-
144 else if (_c == QMetaObject::ReadProperty) {-
145 QQuickMaskExtruder *_t = static_cast<QQuickMaskExtruder *>(_o);-
146 (void)_t;-
147 void *_v = _a[0];-
148 switch (_id) {-
149 case 0: *reinterpret_cast< QUrl*>(_v) = _t->source(); break;-
150 default: break;-
151 }-
152 } else if (_c == QMetaObject::WriteProperty) {-
153 QQuickMaskExtruder *_t = static_cast<QQuickMaskExtruder *>(_o);-
154 (void)_t;-
155 void *_v = _a[0];-
156 switch (_id) {-
157 case 0: _t->setSource(*reinterpret_cast< QUrl*>(_v)); break;-
158 default: break;-
159 }-
160 } else if (_c == QMetaObject::ResetProperty) {-
161 }-
162-
163}-
164-
165 const QMetaObject QQuickMaskExtruder::staticMetaObject = {-
166 { &QQuickParticleExtruder::staticMetaObject, qt_meta_stringdata_QQuickMaskExtruder.data,-
167 qt_meta_data_QQuickMaskExtruder, qt_static_metacall, nullptr, nullptr}-
168};-
169-
170-
171const QMetaObject *QQuickMaskExtruder::metaObject() const-
172{-
173 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
174}-
175-
176void *QQuickMaskExtruder::qt_metacast(const char *_clname)-
177{-
178 if (!_clname) return nullptr;-
179 if (!strcmp(_clname, qt_meta_stringdata_QQuickMaskExtruder.stringdata0))-
180 return static_cast<void*>(this);-
181 return QQuickParticleExtruder::qt_metacast(_clname);-
182}-
183-
184int QQuickMaskExtruder::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
185{-
186 _id = QQuickParticleExtruder::qt_metacall(_c, _id, _a);-
187 if (_id < 0)-
188 return _id;-
189 if (_c == QMetaObject::InvokeMetaMethod) {-
190 if (_id < 4)-
191 qt_static_metacall(this, _c, _id, _a);-
192 _id -= 4;-
193 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
194 if (_id < 4)-
195 *reinterpret_cast<int*>(_a[0]) = -1;-
196 _id -= 4;-
197 }-
198-
199 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
200 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
201 qt_static_metacall(this, _c, _id, _a);-
202 _id -= 1;-
203 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
204 _id -= 1;-
205 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
206 _id -= 1;-
207 } else if (_c == QMetaObject::QueryPropertyStored) {-
208 _id -= 1;-
209 } else if (_c == QMetaObject::QueryPropertyEditable) {-
210 _id -= 1;-
211 } else if (_c == QMetaObject::QueryPropertyUser) {-
212 _id -= 1;-
213 }-
214-
215 return _id;-
216}-
217-
218-
219void QQuickMaskExtruder::sourceChanged(QUrl _t1)-
220{-
221 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
222 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
223}
executed 14 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickmaskextruder
14
224-
225#pragma GCC diagnostic pop-
226-
227-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0