OpenCoverage

moc_qquickscalegrid_p_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickscalegrid_p_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_QQuickScaleGrid_t {-
9 QByteArrayData data[11];-
10 char stringdata0[127];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickScaleGrid_t qt_meta_stringdata_QQuickScaleGrid = {-
18 {-
19{ { { -1 } }, 15, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickScaleGrid_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 13, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickScaleGrid_t-
29, -
30stringdata0-
31) -
32+ 16 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickScaleGrid_t-
36, -
37stringdata0-
38) -
39+ 30 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 17, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickScaleGrid_t-
43, -
44stringdata0-
45) -
46+ 31 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 16, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickScaleGrid_t-
50, -
51stringdata0-
52) -
53+ 49 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 18, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickScaleGrid_t-
57, -
58stringdata0-
59) -
60+ 66 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 19, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickScaleGrid_t-
64, -
65stringdata0-
66) -
67+ 85 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 4, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickScaleGrid_t-
71, -
72stringdata0-
73) -
74+ 105 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 3, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickScaleGrid_t-
78, -
79stringdata0-
80) -
81+ 110 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 5, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickScaleGrid_t-
85, -
86stringdata0-
87) -
88+ 114 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 6, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickScaleGrid_t-
92, -
93stringdata0-
94) -
95+ 120 - 10 * sizeof(QByteArrayData)) }-
96-
97 },-
98 "QQuickScaleGrid\0borderChanged\0\0"-
99 "leftBorderChanged\0topBorderChanged\0"-
100 "rightBorderChanged\0bottomBorderChanged\0"-
101 "left\0top\0right\0bottom"-
102};-
103-
104-
105static const uint qt_meta_data_QQuickScaleGrid[] = {-
106-
107-
108 7,-
109 0,-
110 0, 0,-
111 5, 14,-
112 4, 44,-
113 0, 0,-
114 0, 0,-
115 0,-
116 5,-
117-
118-
119 1, 0, 39, 2, 0x06 ,-
120 3, 0, 40, 2, 0x06 ,-
121 4, 0, 41, 2, 0x06 ,-
122 5, 0, 42, 2, 0x06 ,-
123 6, 0, 43, 2, 0x06 ,-
124-
125-
126 QMetaType::Void,-
127 QMetaType::Void,-
128 QMetaType::Void,-
129 QMetaType::Void,-
130 QMetaType::Void,-
131-
132-
133 7, QMetaType::Int, 0x00495103,-
134 8, QMetaType::Int, 0x00495103,-
135 9, QMetaType::Int, 0x00495103,-
136 10, QMetaType::Int, 0x00495103,-
137-
138-
139 1,-
140 2,-
141 3,-
142 4,-
143-
144 0-
145};-
146-
147void QQuickScaleGrid::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
148{-
149 if (_c == QMetaObject::InvokeMetaMethod) {-
150 QQuickScaleGrid *_t = static_cast<QQuickScaleGrid *>(_o);-
151 (void)_t;-
152 switch (_id) {-
153 case 0: _t->borderChanged(); break;-
154 case 1: _t->leftBorderChanged(); break;-
155 case 2: _t->topBorderChanged(); break;-
156 case 3: _t->rightBorderChanged(); break;-
157 case 4: _t->bottomBorderChanged(); break;-
158 default: ;-
159 }-
160 } else if (_c == QMetaObject::IndexOfMethod) {-
161 int *result = reinterpret_cast<int *>(_a[0]);-
162 {-
163 using _t = void (QQuickScaleGrid::*)();-
164 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScaleGrid::borderChanged)) {-
165 *result = 0;-
166 return;-
167 }-
168 }-
169 {-
170 using _t = void (QQuickScaleGrid::*)();-
171 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScaleGrid::leftBorderChanged)) {-
172 *result = 1;-
173 return;-
174 }-
175 }-
176 {-
177 using _t = void (QQuickScaleGrid::*)();-
178 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScaleGrid::topBorderChanged)) {-
179 *result = 2;-
180 return;-
181 }-
182 }-
183 {-
184 using _t = void (QQuickScaleGrid::*)();-
185 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScaleGrid::rightBorderChanged)) {-
186 *result = 3;-
187 return;-
188 }-
189 }-
190 {-
191 using _t = void (QQuickScaleGrid::*)();-
192 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScaleGrid::bottomBorderChanged)) {-
193 *result = 4;-
194 return;-
195 }-
196 }-
197 }-
198-
199 else if (_c == QMetaObject::ReadProperty) {-
200 QQuickScaleGrid *_t = static_cast<QQuickScaleGrid *>(_o);-
201 (void)_t;-
202 void *_v = _a[0];-
203 switch (_id) {-
204 case 0: *reinterpret_cast< int*>(_v) = _t->left(); break;-
205 case 1: *reinterpret_cast< int*>(_v) = _t->top(); break;-
206 case 2: *reinterpret_cast< int*>(_v) = _t->right(); break;-
207 case 3: *reinterpret_cast< int*>(_v) = _t->bottom(); break;-
208 default: break;-
209 }-
210 } else if (_c == QMetaObject::WriteProperty) {-
211 QQuickScaleGrid *_t = static_cast<QQuickScaleGrid *>(_o);-
212 (void)_t;-
213 void *_v = _a[0];-
214 switch (_id) {-
215 case 0: _t->setLeft(*reinterpret_cast< int*>(_v)); break;-
216 case 1: _t->setTop(*reinterpret_cast< int*>(_v)); break;-
217 case 2: _t->setRight(*reinterpret_cast< int*>(_v)); break;-
218 case 3: _t->setBottom(*reinterpret_cast< int*>(_v)); break;-
219 default: break;-
220 }-
221 } else if (_c == QMetaObject::ResetProperty) {-
222 }-
223-
224 (void)_a;;-
225}-
226-
227 const QMetaObject QQuickScaleGrid::staticMetaObject = {-
228 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickScaleGrid.data,-
229 qt_meta_data_QQuickScaleGrid, qt_static_metacall, nullptr, nullptr}-
230};-
231-
232-
233const QMetaObject *QQuickScaleGrid::metaObject() const-
234{-
235 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
236}-
237-
238void *QQuickScaleGrid::qt_metacast(const char *_clname)-
239{-
240 if (!_clname) return nullptr;-
241 if (!strcmp(_clname, qt_meta_stringdata_QQuickScaleGrid.stringdata0))-
242 return static_cast<void*>(this);-
243 return QObject::qt_metacast(_clname);-
244}-
245-
246int QQuickScaleGrid::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
247{-
248 _id = QObject::qt_metacall(_c, _id, _a);-
249 if (_id < 0)-
250 return _id;-
251 if (_c == QMetaObject::InvokeMetaMethod) {-
252 if (_id < 5)-
253 qt_static_metacall(this, _c, _id, _a);-
254 _id -= 5;-
255 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
256 if (_id < 5)-
257 *reinterpret_cast<int*>(_a[0]) = -1;-
258 _id -= 5;-
259 }-
260-
261 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
262 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
263 qt_static_metacall(this, _c, _id, _a);-
264 _id -= 4;-
265 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
266 _id -= 4;-
267 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
268 _id -= 4;-
269 } else if (_c == QMetaObject::QueryPropertyStored) {-
270 _id -= 4;-
271 } else if (_c == QMetaObject::QueryPropertyEditable) {-
272 _id -= 4;-
273 } else if (_c == QMetaObject::QueryPropertyUser) {-
274 _id -= 4;-
275 }-
276-
277 return _id;-
278}-
279-
280-
281void QQuickScaleGrid::borderChanged()-
282{-
283 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
284}
executed 384 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickborderimage
384
285-
286-
287void QQuickScaleGrid::leftBorderChanged()-
288{-
289 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
290}
executed 98 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickborderimage
98
291-
292-
293void QQuickScaleGrid::topBorderChanged()-
294{-
295 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
296}
executed 94 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickborderimage
94
297-
298-
299void QQuickScaleGrid::rightBorderChanged()-
300{-
301 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
302}
executed 98 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickborderimage
98
303-
304-
305void QQuickScaleGrid::bottomBorderChanged()-
306{-
307 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
308}
executed 94 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickborderimage
94
309-
310#pragma GCC diagnostic pop-
311-
312-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0