OpenCoverage

moc_qquickwindowattached_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickwindowattached_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickwindowattached_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/qquickwindowattached_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickwindowattached_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_QQuickWindowAttached_t {-
24 QByteArrayData data[20];-
25 char stringdata0[262];-
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_QQuickWindowAttached_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickWindowAttached_t qt_meta_stringdata_QQuickWindowAttached = {-
33 {-
34QT_MOC_LITERAL(0, 0, 20), // "QQuickWindowAttached"-
35QT_MOC_LITERAL(1, 21, 17), // "visibilityChanged"-
36QT_MOC_LITERAL(2, 39, 0), // ""-
37QT_MOC_LITERAL(3, 40, 13), // "activeChanged"-
38QT_MOC_LITERAL(4, 54, 22), // "activeFocusItemChanged"-
39QT_MOC_LITERAL(5, 77, 18), // "contentItemChanged"-
40QT_MOC_LITERAL(6, 96, 12), // "widthChanged"-
41QT_MOC_LITERAL(7, 109, 13), // "heightChanged"-
42QT_MOC_LITERAL(8, 123, 13), // "windowChanged"-
43QT_MOC_LITERAL(9, 137, 12), // "windowChange"-
44QT_MOC_LITERAL(10, 150, 13), // "QQuickWindow*"-
45QT_MOC_LITERAL(11, 164, 10), // "visibility"-
46QT_MOC_LITERAL(12, 175, 19), // "QWindow::Visibility"-
47QT_MOC_LITERAL(13, 195, 6), // "active"-
48QT_MOC_LITERAL(14, 202, 15), // "activeFocusItem"-
49QT_MOC_LITERAL(15, 218, 11), // "QQuickItem*"-
50QT_MOC_LITERAL(16, 230, 11), // "contentItem"-
51QT_MOC_LITERAL(17, 242, 5), // "width"-
52QT_MOC_LITERAL(18, 248, 6), // "height"-
53QT_MOC_LITERAL(19, 255, 6) // "window"-
54-
55 },-
56 "QQuickWindowAttached\0visibilityChanged\0"-
57 "\0activeChanged\0activeFocusItemChanged\0"-
58 "contentItemChanged\0widthChanged\0"-
59 "heightChanged\0windowChanged\0windowChange\0"-
60 "QQuickWindow*\0visibility\0QWindow::Visibility\0"-
61 "active\0activeFocusItem\0QQuickItem*\0"-
62 "contentItem\0width\0height\0window"-
63};-
64#undef QT_MOC_LITERAL-
65-
66static const uint qt_meta_data_QQuickWindowAttached[] = {-
67-
68 // content:-
69 7, // revision-
70 0, // classname-
71 0, 0, // classinfo-
72 8, 14, // methods-
73 7, 64, // properties-
74 0, 0, // enums/sets-
75 0, 0, // constructors-
76 0, // flags-
77 7, // signalCount-
78-
79 // signals: name, argc, parameters, tag, flags-
80 1, 0, 54, 2, 0x06 /* Public */,-
81 3, 0, 55, 2, 0x06 /* Public */,-
82 4, 0, 56, 2, 0x06 /* Public */,-
83 5, 0, 57, 2, 0x06 /* Public */,-
84 6, 0, 58, 2, 0x06 /* Public */,-
85 7, 0, 59, 2, 0x06 /* Public */,-
86 8, 0, 60, 2, 0x06 /* Public */,-
87-
88 // slots: name, argc, parameters, tag, flags-
89 9, 1, 61, 2, 0x09 /* Protected */,-
90-
91 // signals: parameters-
92 QMetaType::Void,-
93 QMetaType::Void,-
94 QMetaType::Void,-
95 QMetaType::Void,-
96 QMetaType::Void,-
97 QMetaType::Void,-
98 QMetaType::Void,-
99-
100 // slots: parameters-
101 QMetaType::Void, 0x80000000 | 10, 2,-
102-
103 // properties: name, type, flags-
104 11, 0x80000000 | 12, 0x00495009,-
105 13, QMetaType::Bool, 0x00495001,-
106 14, 0x80000000 | 15, 0x00495009,-
107 16, 0x80000000 | 15, 0x00495009,-
108 17, QMetaType::Int, 0x00495001,-
109 18, QMetaType::Int, 0x00495001,-
110 19, 0x80000000 | 10, 0x00495009,-
111-
112 // properties: notify_signal_id-
113 0,-
114 1,-
115 2,-
116 3,-
117 4,-
118 5,-
119 6,-
120-
121 0 // eod-
122};-
123-
124void QQuickWindowAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
125{-
126 if (_c == QMetaObject::InvokeMetaMethod) {-
127 QQuickWindowAttached *_t = static_cast<QQuickWindowAttached *>(_o);-
128 Q_UNUSED(_t)-
129 switch (_id) {-
130 case 0: _t->visibilityChanged(); break;-
131 case 1: _t->activeChanged(); break;-
132 case 2: _t->activeFocusItemChanged(); break;-
133 case 3: _t->contentItemChanged(); break;-
134 case 4: _t->widthChanged(); break;-
135 case 5: _t->heightChanged(); break;-
136 case 6: _t->windowChanged(); break;-
137 case 7: _t->windowChange((*reinterpret_cast< QQuickWindow*(*)>(_a[1]))); break;-
138 default: ;-
139 }-
140 } else if (_c == QMetaObject::IndexOfMethod) {-
141 int *result = reinterpret_cast<int *>(_a[0]);-
142 {-
143 using _t = void (QQuickWindowAttached::*)();-
144 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWindowAttached::visibilityChanged)) {-
145 *result = 0;-
146 return;-
147 }-
148 }-
149 {-
150 using _t = void (QQuickWindowAttached::*)();-
151 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWindowAttached::activeChanged)) {-
152 *result = 1;-
153 return;-
154 }-
155 }-
156 {-
157 using _t = void (QQuickWindowAttached::*)();-
158 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWindowAttached::activeFocusItemChanged)) {-
159 *result = 2;-
160 return;-
161 }-
162 }-
163 {-
164 using _t = void (QQuickWindowAttached::*)();-
165 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWindowAttached::contentItemChanged)) {-
166 *result = 3;-
167 return;-
168 }-
169 }-
170 {-
171 using _t = void (QQuickWindowAttached::*)();-
172 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWindowAttached::widthChanged)) {-
173 *result = 4;-
174 return;-
175 }-
176 }-
177 {-
178 using _t = void (QQuickWindowAttached::*)();-
179 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWindowAttached::heightChanged)) {-
180 *result = 5;-
181 return;-
182 }-
183 }-
184 {-
185 using _t = void (QQuickWindowAttached::*)();-
186 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWindowAttached::windowChanged)) {-
187 *result = 6;-
188 return;-
189 }-
190 }-
191 }-
192#ifndef QT_NO_PROPERTIES-
193 else if (_c == QMetaObject::ReadProperty) {-
194 QQuickWindowAttached *_t = static_cast<QQuickWindowAttached *>(_o);-
195 Q_UNUSED(_t)-
196 void *_v = _a[0];-
197 switch (_id) {-
198 case 0: *reinterpret_cast< QWindow::Visibility*>(_v) = _t->visibility(); break;-
199 case 1: *reinterpret_cast< bool*>(_v) = _t->isActive(); break;-
200 case 2: *reinterpret_cast< QQuickItem**>(_v) = _t->activeFocusItem(); break;-
201 case 3: *reinterpret_cast< QQuickItem**>(_v) = _t->contentItem(); break;-
202 case 4: *reinterpret_cast< int*>(_v) = _t->width(); break;-
203 case 5: *reinterpret_cast< int*>(_v) = _t->height(); break;-
204 case 6: *reinterpret_cast< QQuickWindow**>(_v) = _t->window(); break;-
205 default: break;-
206 }-
207 } else if (_c == QMetaObject::WriteProperty) {-
208 } else if (_c == QMetaObject::ResetProperty) {-
209 }-
210#endif // QT_NO_PROPERTIES-
211}-
212-
213static const QMetaObject * const qt_meta_extradata_QQuickWindowAttached[] = {-
214 &QWindow::staticMetaObject,-
215 nullptr-
216};-
217-
218QT_INIT_METAOBJECT const QMetaObject QQuickWindowAttached::staticMetaObject = {-
219 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickWindowAttached.data,-
220 qt_meta_data_QQuickWindowAttached, qt_static_metacall, qt_meta_extradata_QQuickWindowAttached, nullptr}-
221};-
222-
223-
224const QMetaObject *QQuickWindowAttached::metaObject() const-
225{-
226 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
227}-
228-
229void *QQuickWindowAttached::qt_metacast(const char *_clname)-
230{-
231 if (!_clname) return nullptr;-
232 if (!strcmp(_clname, qt_meta_stringdata_QQuickWindowAttached.stringdata0))-
233 return static_cast<void*>(this);-
234 return QObject::qt_metacast(_clname);-
235}-
236-
237int QQuickWindowAttached::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
238{-
239 _id = QObject::qt_metacall(_c, _id, _a);-
240 if (_id < 0)-
241 return _id;-
242 if (_c == QMetaObject::InvokeMetaMethod) {-
243 if (_id < 8)-
244 qt_static_metacall(this, _c, _id, _a);-
245 _id -= 8;-
246 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
247 if (_id < 8)-
248 *reinterpret_cast<int*>(_a[0]) = -1;-
249 _id -= 8;-
250 }-
251#ifndef QT_NO_PROPERTIES-
252 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
253 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
254 qt_static_metacall(this, _c, _id, _a);-
255 _id -= 7;-
256 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
257 _id -= 7;-
258 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
259 _id -= 7;-
260 } else if (_c == QMetaObject::QueryPropertyStored) {-
261 _id -= 7;-
262 } else if (_c == QMetaObject::QueryPropertyEditable) {-
263 _id -= 7;-
264 } else if (_c == QMetaObject::QueryPropertyUser) {-
265 _id -= 7;-
266 }-
267#endif // QT_NO_PROPERTIES-
268 return _id;-
269}-
270-
271// SIGNAL 0-
272void QQuickWindowAttached::visibilityChanged()-
273{-
274 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
275}
never executed: end of block
0
276-
277// SIGNAL 1-
278void QQuickWindowAttached::activeChanged()-
279{-
280 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
281}
never executed: end of block
0
282-
283// SIGNAL 2-
284void QQuickWindowAttached::activeFocusItemChanged()-
285{-
286 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
287}
never executed: end of block
0
288-
289// SIGNAL 3-
290void QQuickWindowAttached::contentItemChanged()-
291{-
292 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
293}
never executed: end of block
0
294-
295// SIGNAL 4-
296void QQuickWindowAttached::widthChanged()-
297{-
298 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
299}
never executed: end of block
0
300-
301// SIGNAL 5-
302void QQuickWindowAttached::heightChanged()-
303{-
304 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
305}
never executed: end of block
0
306-
307// SIGNAL 6-
308void QQuickWindowAttached::windowChanged()-
309{-
310 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);-
311}
never executed: end of block
0
312QT_WARNING_POP-
313QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0