OpenCoverage

moc_qquickstategroup_p.cpp

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

Generated by Squish Coco 4.2.0