OpenCoverage

moc_qquickflickable_p_p.cpp

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

Generated by Squish Coco 4.2.0