Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/.moc/moc_qquickpointdirection_p.cpp |
Source code | Switch to Preprocessed file |
Line | Source | Count |
---|---|---|
1 | /**************************************************************************** | - |
2 | ** Meta object code from reading C++ file 'qquickpointdirection_p.h' | - |
3 | ** | - |
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.0) | - |
5 | ** | - |
6 | ** WARNING! All changes made in this file will be lost! | - |
7 | *****************************************************************************/ | - |
8 | - | |
9 | #include "../qquickpointdirection_p.h" | - |
10 | #include <QtCore/qbytearray.h> | - |
11 | #include <QtCore/qmetatype.h> | - |
12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
13 | #error "The header file 'qquickpointdirection_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_QQuickPointDirection_t { | - |
24 | QByteArrayData data[15]; | - |
25 | char stringdata0[144]; | - |
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_QQuickPointDirection_t, stringdata0) + ofs \ | - |
30 | - idx * sizeof(QByteArrayData)) \ | - |
31 | ) | - |
32 | static const qt_meta_stringdata_QQuickPointDirection_t qt_meta_stringdata_QQuickPointDirection = { | - |
33 | { | - |
34 | QT_MOC_LITERAL(0, 0, 20), // "QQuickPointDirection" | - |
35 | QT_MOC_LITERAL(1, 21, 8), // "xChanged" | - |
36 | QT_MOC_LITERAL(2, 30, 0), // "" | - |
37 | QT_MOC_LITERAL(3, 31, 3), // "arg" | - |
38 | QT_MOC_LITERAL(4, 35, 8), // "yChanged" | - |
39 | QT_MOC_LITERAL(5, 44, 17), // "xVariationChanged" | - |
40 | QT_MOC_LITERAL(6, 62, 17), // "yVariationChanged" | - |
41 | QT_MOC_LITERAL(7, 80, 4), // "setX" | - |
42 | QT_MOC_LITERAL(8, 85, 4), // "setY" | - |
43 | QT_MOC_LITERAL(9, 90, 13), // "setXVariation" | - |
44 | QT_MOC_LITERAL(10, 104, 13), // "setYVariation" | - |
45 | QT_MOC_LITERAL(11, 118, 1), // "x" | - |
46 | QT_MOC_LITERAL(12, 120, 1), // "y" | - |
47 | QT_MOC_LITERAL(13, 122, 10), // "xVariation" | - |
48 | QT_MOC_LITERAL(14, 133, 10) // "yVariation" | - |
49 | - | |
50 | }, | - |
51 | "QQuickPointDirection\0xChanged\0\0arg\0" | - |
52 | "yChanged\0xVariationChanged\0yVariationChanged\0" | - |
53 | "setX\0setY\0setXVariation\0setYVariation\0" | - |
54 | "x\0y\0xVariation\0yVariation" | - |
55 | }; | - |
56 | #undef QT_MOC_LITERAL | - |
57 | - | |
58 | static const uint qt_meta_data_QQuickPointDirection[] = { | - |
59 | - | |
60 | // content: | - |
61 | 7, // revision | - |
62 | 0, // classname | - |
63 | 0, 0, // classinfo | - |
64 | 8, 14, // methods | - |
65 | 4, 78, // properties | - |
66 | 0, 0, // enums/sets | - |
67 | 0, 0, // constructors | - |
68 | 0, // flags | - |
69 | 4, // signalCount | - |
70 | - | |
71 | // signals: name, argc, parameters, tag, flags | - |
72 | 1, 1, 54, 2, 0x06 /* Public */, | - |
73 | 4, 1, 57, 2, 0x06 /* Public */, | - |
74 | 5, 1, 60, 2, 0x06 /* Public */, | - |
75 | 6, 1, 63, 2, 0x06 /* Public */, | - |
76 | - | |
77 | // slots: name, argc, parameters, tag, flags | - |
78 | 7, 1, 66, 2, 0x0a /* Public */, | - |
79 | 8, 1, 69, 2, 0x0a /* Public */, | - |
80 | 9, 1, 72, 2, 0x0a /* Public */, | - |
81 | 10, 1, 75, 2, 0x0a /* Public */, | - |
82 | - | |
83 | // signals: parameters | - |
84 | QMetaType::Void, QMetaType::QReal, 3, | - |
85 | QMetaType::Void, QMetaType::QReal, 3, | - |
86 | QMetaType::Void, QMetaType::QReal, 3, | - |
87 | QMetaType::Void, QMetaType::QReal, 3, | - |
88 | - | |
89 | // slots: parameters | - |
90 | QMetaType::Void, QMetaType::QReal, 3, | - |
91 | QMetaType::Void, QMetaType::QReal, 3, | - |
92 | QMetaType::Void, QMetaType::QReal, 3, | - |
93 | QMetaType::Void, QMetaType::QReal, 3, | - |
94 | - | |
95 | // properties: name, type, flags | - |
96 | 11, QMetaType::QReal, 0x00495103, | - |
97 | 12, QMetaType::QReal, 0x00495103, | - |
98 | 13, QMetaType::QReal, 0x00495103, | - |
99 | 14, QMetaType::QReal, 0x00495103, | - |
100 | - | |
101 | // properties: notify_signal_id | - |
102 | 0, | - |
103 | 1, | - |
104 | 2, | - |
105 | 3, | - |
106 | - | |
107 | 0 // eod | - |
108 | }; | - |
109 | - | |
110 | void QQuickPointDirection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
111 | { | - |
112 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
113 | QQuickPointDirection *_t = static_cast<QQuickPointDirection *>(_o); | - |
114 | Q_UNUSED(_t) | - |
115 | switch (_id) { | - |
116 | case 0: _t->xChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
117 | case 1: _t->yChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
118 | case 2: _t->xVariationChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
119 | case 3: _t->yVariationChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
120 | case 4: _t->setX((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
121 | case 5: _t->setY((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
122 | case 6: _t->setXVariation((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
123 | case 7: _t->setYVariation((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
124 | default: ; | - |
125 | } | - |
126 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
127 | int *result = reinterpret_cast<int *>(_a[0]); | - |
128 | { | - |
129 | using _t = void (QQuickPointDirection::*)(qreal ); | - |
130 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPointDirection::xChanged)) { | - |
131 | *result = 0; | - |
132 | return; | - |
133 | } | - |
134 | } | - |
135 | { | - |
136 | using _t = void (QQuickPointDirection::*)(qreal ); | - |
137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPointDirection::yChanged)) { | - |
138 | *result = 1; | - |
139 | return; | - |
140 | } | - |
141 | } | - |
142 | { | - |
143 | using _t = void (QQuickPointDirection::*)(qreal ); | - |
144 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPointDirection::xVariationChanged)) { | - |
145 | *result = 2; | - |
146 | return; | - |
147 | } | - |
148 | } | - |
149 | { | - |
150 | using _t = void (QQuickPointDirection::*)(qreal ); | - |
151 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPointDirection::yVariationChanged)) { | - |
152 | *result = 3; | - |
153 | return; | - |
154 | } | - |
155 | } | - |
156 | } | - |
157 | #ifndef QT_NO_PROPERTIES | - |
158 | else if (_c == QMetaObject::ReadProperty) { | - |
159 | QQuickPointDirection *_t = static_cast<QQuickPointDirection *>(_o); | - |
160 | Q_UNUSED(_t) | - |
161 | void *_v = _a[0]; | - |
162 | switch (_id) { | - |
163 | case 0: *reinterpret_cast< qreal*>(_v) = _t->x(); break; | - |
164 | case 1: *reinterpret_cast< qreal*>(_v) = _t->y(); break; | - |
165 | case 2: *reinterpret_cast< qreal*>(_v) = _t->xVariation(); break; | - |
166 | case 3: *reinterpret_cast< qreal*>(_v) = _t->yVariation(); break; | - |
167 | default: break; | - |
168 | } | - |
169 | } else if (_c == QMetaObject::WriteProperty) { | - |
170 | QQuickPointDirection *_t = static_cast<QQuickPointDirection *>(_o); | - |
171 | Q_UNUSED(_t) | - |
172 | void *_v = _a[0]; | - |
173 | switch (_id) { | - |
174 | case 0: _t->setX(*reinterpret_cast< qreal*>(_v)); break; | - |
175 | case 1: _t->setY(*reinterpret_cast< qreal*>(_v)); break; | - |
176 | case 2: _t->setXVariation(*reinterpret_cast< qreal*>(_v)); break; | - |
177 | case 3: _t->setYVariation(*reinterpret_cast< qreal*>(_v)); break; | - |
178 | default: break; | - |
179 | } | - |
180 | } else if (_c == QMetaObject::ResetProperty) { | - |
181 | } | - |
182 | #endif // QT_NO_PROPERTIES | - |
183 | } | - |
184 | - | |
185 | QT_INIT_METAOBJECT const QMetaObject QQuickPointDirection::staticMetaObject = { | - |
186 | { &QQuickDirection::staticMetaObject, qt_meta_stringdata_QQuickPointDirection.data, | - |
187 | qt_meta_data_QQuickPointDirection, qt_static_metacall, nullptr, nullptr} | - |
188 | }; | - |
189 | - | |
190 | - | |
191 | const QMetaObject *QQuickPointDirection::metaObject() const | - |
192 | { | - |
193 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
194 | } | - |
195 | - | |
196 | void *QQuickPointDirection::qt_metacast(const char *_clname) | - |
197 | { | - |
198 | if (!_clname) return nullptr; | - |
199 | if (!strcmp(_clname, qt_meta_stringdata_QQuickPointDirection.stringdata0)) | - |
200 | return static_cast<void*>(this); | - |
201 | return QQuickDirection::qt_metacast(_clname); | - |
202 | } | - |
203 | - | |
204 | int QQuickPointDirection::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
205 | { | - |
206 | _id = QQuickDirection::qt_metacall(_c, _id, _a); | - |
207 | if (_id < 0) | - |
208 | return _id; | - |
209 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
210 | if (_id < 8) | - |
211 | qt_static_metacall(this, _c, _id, _a); | - |
212 | _id -= 8; | - |
213 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
214 | if (_id < 8) | - |
215 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
216 | _id -= 8; | - |
217 | } | - |
218 | #ifndef QT_NO_PROPERTIES | - |
219 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
220 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
221 | qt_static_metacall(this, _c, _id, _a); | - |
222 | _id -= 4; | - |
223 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
224 | _id -= 4; | - |
225 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
226 | _id -= 4; | - |
227 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
228 | _id -= 4; | - |
229 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
230 | _id -= 4; | - |
231 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
232 | _id -= 4; | - |
233 | } | - |
234 | #endif // QT_NO_PROPERTIES | - |
235 | return _id; | - |
236 | } | - |
237 | - | |
238 | // SIGNAL 0 | - |
239 | void QQuickPointDirection::xChanged(qreal _t1) | - |
240 | { | - |
241 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
242 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | - |
243 | } executed 66 times by 8 tests: end of block Executed by:
| 66 |
244 | - | |
245 | // SIGNAL 1 | - |
246 | void QQuickPointDirection::yChanged(qreal _t1) | - |
247 | { | - |
248 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
249 | QMetaObject::activate(this, &staticMetaObject, 1, _a); | - |
250 | } executed 104 times by 7 tests: end of block Executed by:
| 104 |
251 | - | |
252 | // SIGNAL 2 | - |
253 | void QQuickPointDirection::xVariationChanged(qreal _t1) | - |
254 | { | - |
255 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
256 | QMetaObject::activate(this, &staticMetaObject, 2, _a); | - |
257 | } executed 80 times by 2 tests: end of block Executed by:
| 80 |
258 | - | |
259 | // SIGNAL 3 | - |
260 | void QQuickPointDirection::yVariationChanged(qreal _t1) | - |
261 | { | - |
262 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
263 | QMetaObject::activate(this, &staticMetaObject, 3, _a); | - |
264 | } executed 78 times by 2 tests: end of block Executed by:
| 78 |
265 | QT_WARNING_POP | - |
266 | QT_END_MOC_NAMESPACE | - |
Source code | Switch to Preprocessed file |