OpenCoverage

moc_qquickitemviewtransition_p.cpp

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

Generated by Squish Coco 4.2.0