Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/.moc/moc_qquickgroupgoal_p.cpp |
Source code | Switch to Preprocessed file |
Line | Source | Count |
---|---|---|
1 | /**************************************************************************** | - |
2 | ** Meta object code from reading C++ file 'qquickgroupgoal_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 "../qquickgroupgoal_p.h" | - |
10 | #include <QtCore/qbytearray.h> | - |
11 | #include <QtCore/qmetatype.h> | - |
12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
13 | #error "The header file 'qquickgroupgoal_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_QQuickGroupGoalAffector_t { | - |
24 | QByteArrayData data[9]; | - |
25 | char stringdata0[94]; | - |
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_QQuickGroupGoalAffector_t, stringdata0) + ofs \ | - |
30 | - idx * sizeof(QByteArrayData)) \ | - |
31 | ) | - |
32 | static const qt_meta_stringdata_QQuickGroupGoalAffector_t qt_meta_stringdata_QQuickGroupGoalAffector = { | - |
33 | { | - |
34 | QT_MOC_LITERAL(0, 0, 23), // "QQuickGroupGoalAffector" | - |
35 | QT_MOC_LITERAL(1, 24, 16), // "goalStateChanged" | - |
36 | QT_MOC_LITERAL(2, 41, 0), // "" | - |
37 | QT_MOC_LITERAL(3, 42, 3), // "arg" | - |
38 | QT_MOC_LITERAL(4, 46, 11), // "jumpChanged" | - |
39 | QT_MOC_LITERAL(5, 58, 12), // "setGoalState" | - |
40 | QT_MOC_LITERAL(6, 71, 7), // "setJump" | - |
41 | QT_MOC_LITERAL(7, 79, 9), // "goalState" | - |
42 | QT_MOC_LITERAL(8, 89, 4) // "jump" | - |
43 | - | |
44 | }, | - |
45 | "QQuickGroupGoalAffector\0goalStateChanged\0" | - |
46 | "\0arg\0jumpChanged\0setGoalState\0setJump\0" | - |
47 | "goalState\0jump" | - |
48 | }; | - |
49 | #undef QT_MOC_LITERAL | - |
50 | - | |
51 | static const uint qt_meta_data_QQuickGroupGoalAffector[] = { | - |
52 | - | |
53 | // content: | - |
54 | 7, // revision | - |
55 | 0, // classname | - |
56 | 0, 0, // classinfo | - |
57 | 4, 14, // methods | - |
58 | 2, 46, // properties | - |
59 | 0, 0, // enums/sets | - |
60 | 0, 0, // constructors | - |
61 | 0, // flags | - |
62 | 2, // signalCount | - |
63 | - | |
64 | // signals: name, argc, parameters, tag, flags | - |
65 | 1, 1, 34, 2, 0x06 /* Public */, | - |
66 | 4, 1, 37, 2, 0x06 /* Public */, | - |
67 | - | |
68 | // slots: name, argc, parameters, tag, flags | - |
69 | 5, 1, 40, 2, 0x0a /* Public */, | - |
70 | 6, 1, 43, 2, 0x0a /* Public */, | - |
71 | - | |
72 | // signals: parameters | - |
73 | QMetaType::Void, QMetaType::QString, 3, | - |
74 | QMetaType::Void, QMetaType::Bool, 3, | - |
75 | - | |
76 | // slots: parameters | - |
77 | QMetaType::Void, QMetaType::QString, 3, | - |
78 | QMetaType::Void, QMetaType::Bool, 3, | - |
79 | - | |
80 | // properties: name, type, flags | - |
81 | 7, QMetaType::QString, 0x00495103, | - |
82 | 8, QMetaType::Bool, 0x00495103, | - |
83 | - | |
84 | // properties: notify_signal_id | - |
85 | 0, | - |
86 | 1, | - |
87 | - | |
88 | 0 // eod | - |
89 | }; | - |
90 | - | |
91 | void QQuickGroupGoalAffector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
92 | { | - |
93 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
94 | QQuickGroupGoalAffector *_t = static_cast<QQuickGroupGoalAffector *>(_o); | - |
95 | Q_UNUSED(_t) | - |
96 | switch (_id) { | - |
97 | case 0: _t->goalStateChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | - |
98 | case 1: _t->jumpChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; | - |
99 | case 2: _t->setGoalState((*reinterpret_cast< const QString(*)>(_a[1]))); break; | - |
100 | case 3: _t->setJump((*reinterpret_cast< bool(*)>(_a[1]))); break; | - |
101 | default: ; | - |
102 | } | - |
103 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
104 | int *result = reinterpret_cast<int *>(_a[0]); | - |
105 | { | - |
106 | using _t = void (QQuickGroupGoalAffector::*)(const QString & ); | - |
107 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGroupGoalAffector::goalStateChanged)) { | - |
108 | *result = 0; | - |
109 | return; | - |
110 | } | - |
111 | } | - |
112 | { | - |
113 | using _t = void (QQuickGroupGoalAffector::*)(bool ); | - |
114 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGroupGoalAffector::jumpChanged)) { | - |
115 | *result = 1; | - |
116 | return; | - |
117 | } | - |
118 | } | - |
119 | } | - |
120 | #ifndef QT_NO_PROPERTIES | - |
121 | else if (_c == QMetaObject::ReadProperty) { | - |
122 | QQuickGroupGoalAffector *_t = static_cast<QQuickGroupGoalAffector *>(_o); | - |
123 | Q_UNUSED(_t) | - |
124 | void *_v = _a[0]; | - |
125 | switch (_id) { | - |
126 | case 0: *reinterpret_cast< QString*>(_v) = _t->goalState(); break; | - |
127 | case 1: *reinterpret_cast< bool*>(_v) = _t->jump(); break; | - |
128 | default: break; | - |
129 | } | - |
130 | } else if (_c == QMetaObject::WriteProperty) { | - |
131 | QQuickGroupGoalAffector *_t = static_cast<QQuickGroupGoalAffector *>(_o); | - |
132 | Q_UNUSED(_t) | - |
133 | void *_v = _a[0]; | - |
134 | switch (_id) { | - |
135 | case 0: _t->setGoalState(*reinterpret_cast< QString*>(_v)); break; | - |
136 | case 1: _t->setJump(*reinterpret_cast< bool*>(_v)); break; | - |
137 | default: break; | - |
138 | } | - |
139 | } else if (_c == QMetaObject::ResetProperty) { | - |
140 | } | - |
141 | #endif // QT_NO_PROPERTIES | - |
142 | } | - |
143 | - | |
144 | QT_INIT_METAOBJECT const QMetaObject QQuickGroupGoalAffector::staticMetaObject = { | - |
145 | { &QQuickParticleAffector::staticMetaObject, qt_meta_stringdata_QQuickGroupGoalAffector.data, | - |
146 | qt_meta_data_QQuickGroupGoalAffector, qt_static_metacall, nullptr, nullptr} | - |
147 | }; | - |
148 | - | |
149 | - | |
150 | const QMetaObject *QQuickGroupGoalAffector::metaObject() const | - |
151 | { | - |
152 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
153 | } | - |
154 | - | |
155 | void *QQuickGroupGoalAffector::qt_metacast(const char *_clname) | - |
156 | { | - |
157 | if (!_clname) return nullptr; | - |
158 | if (!strcmp(_clname, qt_meta_stringdata_QQuickGroupGoalAffector.stringdata0)) | - |
159 | return static_cast<void*>(this); | - |
160 | return QQuickParticleAffector::qt_metacast(_clname); | - |
161 | } | - |
162 | - | |
163 | int QQuickGroupGoalAffector::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
164 | { | - |
165 | _id = QQuickParticleAffector::qt_metacall(_c, _id, _a); | - |
166 | if (_id < 0) | - |
167 | return _id; | - |
168 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
169 | if (_id < 4) | - |
170 | qt_static_metacall(this, _c, _id, _a); | - |
171 | _id -= 4; | - |
172 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
173 | if (_id < 4) | - |
174 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
175 | _id -= 4; | - |
176 | } | - |
177 | #ifndef QT_NO_PROPERTIES | - |
178 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
179 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
180 | qt_static_metacall(this, _c, _id, _a); | - |
181 | _id -= 2; | - |
182 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
183 | _id -= 2; | - |
184 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
185 | _id -= 2; | - |
186 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
187 | _id -= 2; | - |
188 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
189 | _id -= 2; | - |
190 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
191 | _id -= 2; | - |
192 | } | - |
193 | #endif // QT_NO_PROPERTIES | - |
194 | return _id; | - |
195 | } | - |
196 | - | |
197 | // SIGNAL 0 | - |
198 | void QQuickGroupGoalAffector::goalStateChanged(const QString & _t1) | - |
199 | { | - |
200 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
201 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | - |
202 | } executed 6 times by 1 test: end of block Executed by:
| 6 |
203 | - | |
204 | // SIGNAL 1 | - |
205 | void QQuickGroupGoalAffector::jumpChanged(bool _t1) | - |
206 | { | - |
207 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
208 | QMetaObject::activate(this, &staticMetaObject, 1, _a); | - |
209 | } executed 8 times by 2 tests: end of block Executed by:
| 8 |
210 | QT_WARNING_POP | - |
211 | QT_END_MOC_NAMESPACE | - |
Source code | Switch to Preprocessed file |