OpenCoverage

moc_qquicktransition_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicktransition_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquicktransition_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/qquicktransition_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquicktransition_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_QQuickTransition_t {-
24 QByteArrayData data[16];-
25 char stringdata0[214];-
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_QQuickTransition_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickTransition_t qt_meta_stringdata_QQuickTransition = {-
33 {-
34QT_MOC_LITERAL(0, 0, 16), // "QQuickTransition"-
35QT_MOC_LITERAL(1, 17, 15), // "DefaultProperty"-
36QT_MOC_LITERAL(2, 33, 10), // "animations"-
37QT_MOC_LITERAL(3, 44, 21), // "DeferredPropertyNames"-
38QT_MOC_LITERAL(4, 66, 11), // "fromChanged"-
39QT_MOC_LITERAL(5, 78, 0), // ""-
40QT_MOC_LITERAL(6, 79, 9), // "toChanged"-
41QT_MOC_LITERAL(7, 89, 17), // "reversibleChanged"-
42QT_MOC_LITERAL(8, 107, 14), // "enabledChanged"-
43QT_MOC_LITERAL(9, 122, 14), // "runningChanged"-
44QT_MOC_LITERAL(10, 137, 4), // "from"-
45QT_MOC_LITERAL(11, 142, 2), // "to"-
46QT_MOC_LITERAL(12, 145, 10), // "reversible"-
47QT_MOC_LITERAL(13, 156, 7), // "running"-
48QT_MOC_LITERAL(14, 164, 41), // "QQmlListProperty<QQuickAbstra..."-
49QT_MOC_LITERAL(15, 206, 7) // "enabled"-
50-
51 },-
52 "QQuickTransition\0DefaultProperty\0"-
53 "animations\0DeferredPropertyNames\0"-
54 "fromChanged\0\0toChanged\0reversibleChanged\0"-
55 "enabledChanged\0runningChanged\0from\0"-
56 "to\0reversible\0running\0"-
57 "QQmlListProperty<QQuickAbstractAnimation>\0"-
58 "enabled"-
59};-
60#undef QT_MOC_LITERAL-
61-
62static const uint qt_meta_data_QQuickTransition[] = {-
63-
64 // content:-
65 7, // revision-
66 0, // classname-
67 2, 14, // classinfo-
68 5, 18, // methods-
69 6, 48, // properties-
70 0, 0, // enums/sets-
71 0, 0, // constructors-
72 0, // flags-
73 5, // signalCount-
74-
75 // classinfo: key, value-
76 1, 2,-
77 3, 2,-
78-
79 // signals: name, argc, parameters, tag, flags-
80 4, 0, 43, 5, 0x06 /* Public */,-
81 6, 0, 44, 5, 0x06 /* Public */,-
82 7, 0, 45, 5, 0x06 /* Public */,-
83 8, 0, 46, 5, 0x06 /* Public */,-
84 9, 0, 47, 5, 0x06 /* Public */,-
85-
86 // signals: parameters-
87 QMetaType::Void,-
88 QMetaType::Void,-
89 QMetaType::Void,-
90 QMetaType::Void,-
91 QMetaType::Void,-
92-
93 // properties: name, type, flags-
94 10, QMetaType::QString, 0x00495003,-
95 11, QMetaType::QString, 0x00495003,-
96 12, QMetaType::Bool, 0x00495103,-
97 13, QMetaType::Bool, 0x00495001,-
98 2, 0x80000000 | 14, 0x00095009,-
99 15, QMetaType::Bool, 0x00495103,-
100-
101 // properties: notify_signal_id-
102 0,-
103 1,-
104 2,-
105 4,-
106 0,-
107 3,-
108-
109 0 // eod-
110};-
111-
112void QQuickTransition::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
113{-
114 if (_c == QMetaObject::InvokeMetaMethod) {-
115 QQuickTransition *_t = static_cast<QQuickTransition *>(_o);-
116 Q_UNUSED(_t)-
117 switch (_id) {-
118 case 0: _t->fromChanged(); break;-
119 case 1: _t->toChanged(); break;-
120 case 2: _t->reversibleChanged(); break;-
121 case 3: _t->enabledChanged(); break;-
122 case 4: _t->runningChanged(); break;-
123 default: ;-
124 }-
125 } else if (_c == QMetaObject::IndexOfMethod) {-
126 int *result = reinterpret_cast<int *>(_a[0]);-
127 {-
128 using _t = void (QQuickTransition::*)();-
129 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTransition::fromChanged)) {-
130 *result = 0;-
131 return;-
132 }-
133 }-
134 {-
135 using _t = void (QQuickTransition::*)();-
136 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTransition::toChanged)) {-
137 *result = 1;-
138 return;-
139 }-
140 }-
141 {-
142 using _t = void (QQuickTransition::*)();-
143 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTransition::reversibleChanged)) {-
144 *result = 2;-
145 return;-
146 }-
147 }-
148 {-
149 using _t = void (QQuickTransition::*)();-
150 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTransition::enabledChanged)) {-
151 *result = 3;-
152 return;-
153 }-
154 }-
155 {-
156 using _t = void (QQuickTransition::*)();-
157 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTransition::runningChanged)) {-
158 *result = 4;-
159 return;-
160 }-
161 }-
162 }-
163#ifndef QT_NO_PROPERTIES-
164 else if (_c == QMetaObject::ReadProperty) {-
165 QQuickTransition *_t = static_cast<QQuickTransition *>(_o);-
166 Q_UNUSED(_t)-
167 void *_v = _a[0];-
168 switch (_id) {-
169 case 0: *reinterpret_cast< QString*>(_v) = _t->fromState(); break;-
170 case 1: *reinterpret_cast< QString*>(_v) = _t->toState(); break;-
171 case 2: *reinterpret_cast< bool*>(_v) = _t->reversible(); break;-
172 case 3: *reinterpret_cast< bool*>(_v) = _t->running(); break;-
173 case 4: *reinterpret_cast< QQmlListProperty<QQuickAbstractAnimation>*>(_v) = _t->animations(); break;-
174 case 5: *reinterpret_cast< bool*>(_v) = _t->enabled(); break;-
175 default: break;-
176 }-
177 } else if (_c == QMetaObject::WriteProperty) {-
178 QQuickTransition *_t = static_cast<QQuickTransition *>(_o);-
179 Q_UNUSED(_t)-
180 void *_v = _a[0];-
181 switch (_id) {-
182 case 0: _t->setFromState(*reinterpret_cast< QString*>(_v)); break;-
183 case 1: _t->setToState(*reinterpret_cast< QString*>(_v)); break;-
184 case 2: _t->setReversible(*reinterpret_cast< bool*>(_v)); break;-
185 case 5: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break;-
186 default: break;-
187 }-
188 } else if (_c == QMetaObject::ResetProperty) {-
189 }-
190#endif // QT_NO_PROPERTIES-
191 Q_UNUSED(_a);-
192}-
193-
194QT_INIT_METAOBJECT const QMetaObject QQuickTransition::staticMetaObject = {-
195 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickTransition.data,-
196 qt_meta_data_QQuickTransition, qt_static_metacall, nullptr, nullptr}-
197};-
198-
199-
200const QMetaObject *QQuickTransition::metaObject() const-
201{-
202 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
203}-
204-
205void *QQuickTransition::qt_metacast(const char *_clname)-
206{-
207 if (!_clname) return nullptr;-
208 if (!strcmp(_clname, qt_meta_stringdata_QQuickTransition.stringdata0))-
209 return static_cast<void*>(this);-
210 return QObject::qt_metacast(_clname);-
211}-
212-
213int QQuickTransition::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
214{-
215 _id = QObject::qt_metacall(_c, _id, _a);-
216 if (_id < 0)-
217 return _id;-
218 if (_c == QMetaObject::InvokeMetaMethod) {-
219 if (_id < 5)-
220 qt_static_metacall(this, _c, _id, _a);-
221 _id -= 5;-
222 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
223 if (_id < 5)-
224 *reinterpret_cast<int*>(_a[0]) = -1;-
225 _id -= 5;-
226 }-
227#ifndef QT_NO_PROPERTIES-
228 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
229 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
230 qt_static_metacall(this, _c, _id, _a);-
231 _id -= 6;-
232 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
233 _id -= 6;-
234 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
235 _id -= 6;-
236 } else if (_c == QMetaObject::QueryPropertyStored) {-
237 _id -= 6;-
238 } else if (_c == QMetaObject::QueryPropertyEditable) {-
239 _id -= 6;-
240 } else if (_c == QMetaObject::QueryPropertyUser) {-
241 _id -= 6;-
242 }-
243#endif // QT_NO_PROPERTIES-
244 return _id;-
245}-
246-
247// SIGNAL 0-
248void QQuickTransition::fromChanged()-
249{-
250 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
251}
executed 22 times by 1 test: end of block
Executed by:
  • tst_examples
22
252-
253// SIGNAL 1-
254void QQuickTransition::toChanged()-
255{-
256 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
257}
executed 40 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlenginedebugservice
  • tst_qquickanimations
40
258-
259// SIGNAL 2-
260void QQuickTransition::reversibleChanged()-
261{-
262 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
263}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
6
264-
265// SIGNAL 3-
266void QQuickTransition::enabledChanged()-
267{-
268 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
269}
executed 460 times by 4 tests: end of block
Executed by:
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
460
270-
271// SIGNAL 4-
272void QQuickTransition::runningChanged()-
273{-
274 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
275}
executed 2462 times by 7 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickflipable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickspringanimation
2462
276QT_WARNING_POP-
277QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0