OpenCoverage

moc_qquickpathinterpolator_p.cpp

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

Generated by Squish Coco 4.2.0