OpenCoverage

moc_qquickstate_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickstate_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickstate_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 "../util/qquickstate_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickstate_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-
20QT_BEGIN_MOC_NAMESPACE-
21QT_WARNING_PUSH-
22QT_WARNING_DISABLE_DEPRECATED-
23struct qt_meta_stringdata_QQuickStateOperation_t {-
24 QByteArrayData data[1];-
25 char stringdata0[21];-
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_QQuickStateOperation_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickStateOperation_t qt_meta_stringdata_QQuickStateOperation = {-
33 {-
34QT_MOC_LITERAL(0, 0, 20) // "QQuickStateOperation"-
35-
36 },-
37 "QQuickStateOperation"-
38};-
39#undef QT_MOC_LITERAL-
40-
41static const uint qt_meta_data_QQuickStateOperation[] = {-
42-
43 // content:-
44 7, // revision-
45 0, // classname-
46 0, 0, // classinfo-
47 0, 0, // methods-
48 0, 0, // properties-
49 0, 0, // enums/sets-
50 0, 0, // constructors-
51 0, // flags-
52 0, // signalCount-
53-
54 0 // eod-
55};-
56-
57void QQuickStateOperation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
58{-
59 Q_UNUSED(_o);-
60 Q_UNUSED(_id);-
61 Q_UNUSED(_c);-
62 Q_UNUSED(_a);-
63}-
64-
65QT_INIT_METAOBJECT const QMetaObject QQuickStateOperation::staticMetaObject = {-
66 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickStateOperation.data,-
67 qt_meta_data_QQuickStateOperation, qt_static_metacall, nullptr, nullptr}-
68};-
69-
70-
71const QMetaObject *QQuickStateOperation::metaObject() const-
72{-
73 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
74}-
75-
76void *QQuickStateOperation::qt_metacast(const char *_clname)-
77{-
78 if (!_clname) return nullptr;-
79 if (!strcmp(_clname, qt_meta_stringdata_QQuickStateOperation.stringdata0))-
80 return static_cast<void*>(this);-
81 return QObject::qt_metacast(_clname);-
82}-
83-
84int QQuickStateOperation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
85{-
86 _id = QObject::qt_metacall(_c, _id, _a);-
87 return _id;-
88}-
89struct qt_meta_stringdata_QQuickState_t {-
90 QByteArrayData data[11];-
91 char stringdata0[138];-
92};-
93#define QT_MOC_LITERAL(idx, ofs, len) \-
94 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
95 qptrdiff(offsetof(qt_meta_stringdata_QQuickState_t, stringdata0) + ofs \-
96 - idx * sizeof(QByteArrayData)) \-
97 )-
98static const qt_meta_stringdata_QQuickState_t qt_meta_stringdata_QQuickState = {-
99 {-
100QT_MOC_LITERAL(0, 0, 11), // "QQuickState"-
101QT_MOC_LITERAL(1, 12, 15), // "DefaultProperty"-
102QT_MOC_LITERAL(2, 28, 7), // "changes"-
103QT_MOC_LITERAL(3, 36, 21), // "DeferredPropertyNames"-
104QT_MOC_LITERAL(4, 58, 9), // "completed"-
105QT_MOC_LITERAL(5, 68, 0), // ""-
106QT_MOC_LITERAL(6, 69, 4), // "name"-
107QT_MOC_LITERAL(7, 74, 4), // "when"-
108QT_MOC_LITERAL(8, 79, 12), // "QQmlBinding*"-
109QT_MOC_LITERAL(9, 92, 6), // "extend"-
110QT_MOC_LITERAL(10, 99, 38) // "QQmlListProperty<QQuickStateO..."-
111-
112 },-
113 "QQuickState\0DefaultProperty\0changes\0"-
114 "DeferredPropertyNames\0completed\0\0name\0"-
115 "when\0QQmlBinding*\0extend\0"-
116 "QQmlListProperty<QQuickStateOperation>"-
117};-
118#undef QT_MOC_LITERAL-
119-
120static const uint qt_meta_data_QQuickState[] = {-
121-
122 // content:-
123 7, // revision-
124 0, // classname-
125 2, 14, // classinfo-
126 1, 18, // methods-
127 4, 24, // properties-
128 0, 0, // enums/sets-
129 0, 0, // constructors-
130 0, // flags-
131 1, // signalCount-
132-
133 // classinfo: key, value-
134 1, 2,-
135 3, 2,-
136-
137 // signals: name, argc, parameters, tag, flags-
138 4, 0, 23, 5, 0x06 /* Public */,-
139-
140 // signals: parameters-
141 QMetaType::Void,-
142-
143 // properties: name, type, flags-
144 6, QMetaType::QString, 0x00095103,-
145 7, 0x80000000 | 8, 0x0009510b,-
146 9, QMetaType::QString, 0x00095003,-
147 2, 0x80000000 | 10, 0x00095009,-
148-
149 0 // eod-
150};-
151-
152void QQuickState::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
153{-
154 if (_c == QMetaObject::InvokeMetaMethod) {-
155 QQuickState *_t = static_cast<QQuickState *>(_o);-
156 Q_UNUSED(_t)-
157 switch (_id) {-
158 case 0: _t->completed(); break;-
159 default: ;-
160 }-
161 } else if (_c == QMetaObject::IndexOfMethod) {-
162 int *result = reinterpret_cast<int *>(_a[0]);-
163 {-
164 using _t = void (QQuickState::*)();-
165 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickState::completed)) {-
166 *result = 0;-
167 return;-
168 }-
169 }-
170 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
171 switch (_id) {-
172 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
173 case 3:-
174 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QQuickStateOperation> >(); break;-
175 }-
176 }-
177-
178#ifndef QT_NO_PROPERTIES-
179 else if (_c == QMetaObject::ReadProperty) {-
180 QQuickState *_t = static_cast<QQuickState *>(_o);-
181 Q_UNUSED(_t)-
182 void *_v = _a[0];-
183 switch (_id) {-
184 case 0: *reinterpret_cast< QString*>(_v) = _t->name(); break;-
185 case 1: *reinterpret_cast< QQmlBinding**>(_v) = _t->when(); break;-
186 case 2: *reinterpret_cast< QString*>(_v) = _t->extends(); break;-
187 case 3: *reinterpret_cast< QQmlListProperty<QQuickStateOperation>*>(_v) = _t->changes(); break;-
188 default: break;-
189 }-
190 } else if (_c == QMetaObject::WriteProperty) {-
191 QQuickState *_t = static_cast<QQuickState *>(_o);-
192 Q_UNUSED(_t)-
193 void *_v = _a[0];-
194 switch (_id) {-
195 case 0: _t->setName(*reinterpret_cast< QString*>(_v)); break;-
196 case 1: _t->setWhen(*reinterpret_cast< QQmlBinding**>(_v)); break;-
197 case 2: _t->setExtends(*reinterpret_cast< QString*>(_v)); break;-
198 default: break;-
199 }-
200 } else if (_c == QMetaObject::ResetProperty) {-
201 }-
202#endif // QT_NO_PROPERTIES-
203}-
204-
205QT_INIT_METAOBJECT const QMetaObject QQuickState::staticMetaObject = {-
206 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickState.data,-
207 qt_meta_data_QQuickState, qt_static_metacall, nullptr, nullptr}-
208};-
209-
210-
211const QMetaObject *QQuickState::metaObject() const-
212{-
213 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
214}-
215-
216void *QQuickState::qt_metacast(const char *_clname)-
217{-
218 if (!_clname) return nullptr;-
219 if (!strcmp(_clname, qt_meta_stringdata_QQuickState.stringdata0))-
220 return static_cast<void*>(this);-
221 return QObject::qt_metacast(_clname);-
222}-
223-
224int QQuickState::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
225{-
226 _id = QObject::qt_metacall(_c, _id, _a);-
227 if (_id < 0)-
228 return _id;-
229 if (_c == QMetaObject::InvokeMetaMethod) {-
230 if (_id < 1)-
231 qt_static_metacall(this, _c, _id, _a);-
232 _id -= 1;-
233 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
234 if (_id < 1)-
235 *reinterpret_cast<int*>(_a[0]) = -1;-
236 _id -= 1;-
237 }-
238#ifndef QT_NO_PROPERTIES-
239 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
240 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
241 qt_static_metacall(this, _c, _id, _a);-
242 _id -= 4;-
243 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
244 _id -= 4;-
245 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
246 _id -= 4;-
247 } else if (_c == QMetaObject::QueryPropertyStored) {-
248 _id -= 4;-
249 } else if (_c == QMetaObject::QueryPropertyEditable) {-
250 _id -= 4;-
251 } else if (_c == QMetaObject::QueryPropertyUser) {-
252 _id -= 4;-
253 }-
254#endif // QT_NO_PROPERTIES-
255 return _id;-
256}-
257-
258// SIGNAL 0-
259void QQuickState::completed()-
260{-
261 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
262}
executed 574 times by 19 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_qquickfontloader
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickstates
574
263QT_WARNING_POP-
264QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0