OpenCoverage

moc_qquickflickable_p_p.cpp

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

Generated by Squish Coco 4.2.0