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