OpenCoverage

moc_qquickview.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickview.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickview.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/qquickview.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickview.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_QQuickView_t {-
24 QByteArrayData data[22];-
25 char stringdata0[226];-
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_QQuickView_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickView_t qt_meta_stringdata_QQuickView = {-
33 {-
34QT_MOC_LITERAL(0, 0, 10), // "QQuickView"-
35QT_MOC_LITERAL(1, 11, 13), // "statusChanged"-
36QT_MOC_LITERAL(2, 25, 0), // ""-
37QT_MOC_LITERAL(3, 26, 18), // "QQuickView::Status"-
38QT_MOC_LITERAL(4, 45, 9), // "setSource"-
39QT_MOC_LITERAL(5, 55, 10), // "setContent"-
40QT_MOC_LITERAL(6, 66, 3), // "url"-
41QT_MOC_LITERAL(7, 70, 14), // "QQmlComponent*"-
42QT_MOC_LITERAL(8, 85, 9), // "component"-
43QT_MOC_LITERAL(9, 95, 4), // "item"-
44QT_MOC_LITERAL(10, 100, 15), // "continueExecute"-
45QT_MOC_LITERAL(11, 116, 10), // "resizeMode"-
46QT_MOC_LITERAL(12, 127, 10), // "ResizeMode"-
47QT_MOC_LITERAL(13, 138, 6), // "status"-
48QT_MOC_LITERAL(14, 145, 6), // "Status"-
49QT_MOC_LITERAL(15, 152, 6), // "source"-
50QT_MOC_LITERAL(16, 159, 20), // "SizeViewToRootObject"-
51QT_MOC_LITERAL(17, 180, 20), // "SizeRootObjectToView"-
52QT_MOC_LITERAL(18, 201, 4), // "Null"-
53QT_MOC_LITERAL(19, 206, 5), // "Ready"-
54QT_MOC_LITERAL(20, 212, 7), // "Loading"-
55QT_MOC_LITERAL(21, 220, 5) // "Error"-
56-
57 },-
58 "QQuickView\0statusChanged\0\0QQuickView::Status\0"-
59 "setSource\0setContent\0url\0QQmlComponent*\0"-
60 "component\0item\0continueExecute\0"-
61 "resizeMode\0ResizeMode\0status\0Status\0"-
62 "source\0SizeViewToRootObject\0"-
63 "SizeRootObjectToView\0Null\0Ready\0Loading\0"-
64 "Error"-
65};-
66#undef QT_MOC_LITERAL-
67-
68static const uint qt_meta_data_QQuickView[] = {-
69-
70 // content:-
71 7, // revision-
72 0, // classname-
73 0, 0, // classinfo-
74 4, 14, // methods-
75 3, 48, // properties-
76 2, 60, // enums/sets-
77 0, 0, // constructors-
78 0, // flags-
79 1, // signalCount-
80-
81 // signals: name, argc, parameters, tag, flags-
82 1, 1, 34, 2, 0x06 /* Public */,-
83-
84 // slots: name, argc, parameters, tag, flags-
85 4, 1, 37, 2, 0x0a /* Public */,-
86 5, 3, 40, 2, 0x0a /* Public */,-
87 10, 0, 47, 2, 0x08 /* Private */,-
88-
89 // signals: parameters-
90 QMetaType::Void, 0x80000000 | 3, 2,-
91-
92 // slots: parameters-
93 QMetaType::Void, QMetaType::QUrl, 2,-
94 QMetaType::Void, QMetaType::QUrl, 0x80000000 | 7, QMetaType::QObjectStar, 6, 8, 9,-
95 QMetaType::Void,-
96-
97 // properties: name, type, flags-
98 11, 0x80000000 | 12, 0x0009510b,-
99 13, 0x80000000 | 14, 0x00495009,-
100 15, QMetaType::QUrl, 0x00095103,-
101-
102 // properties: notify_signal_id-
103 0,-
104 0,-
105 0,-
106-
107 // enums: name, flags, count, data-
108 12, 0x0, 2, 68,-
109 14, 0x0, 4, 72,-
110-
111 // enum data: key, value-
112 16, uint(QQuickView::SizeViewToRootObject),-
113 17, uint(QQuickView::SizeRootObjectToView),-
114 18, uint(QQuickView::Null),-
115 19, uint(QQuickView::Ready),-
116 20, uint(QQuickView::Loading),-
117 21, uint(QQuickView::Error),-
118-
119 0 // eod-
120};-
121-
122void QQuickView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
123{-
124 if (_c == QMetaObject::InvokeMetaMethod) {-
125 QQuickView *_t = static_cast<QQuickView *>(_o);-
126 Q_UNUSED(_t)-
127 switch (_id) {-
128 case 0: _t->statusChanged((*reinterpret_cast< QQuickView::Status(*)>(_a[1]))); break;-
129 case 1: _t->setSource((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;-
130 case 2: _t->setContent((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< QQmlComponent*(*)>(_a[2])),(*reinterpret_cast< QObject*(*)>(_a[3]))); break;-
131 case 3: _t->continueExecute(); break;-
132 default: ;-
133 }-
134 } else if (_c == QMetaObject::IndexOfMethod) {-
135 int *result = reinterpret_cast<int *>(_a[0]);-
136 {-
137 using _t = void (QQuickView::*)(QQuickView::Status );-
138 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickView::statusChanged)) {-
139 *result = 0;-
140 return;-
141 }-
142 }-
143 }-
144#ifndef QT_NO_PROPERTIES-
145 else if (_c == QMetaObject::ReadProperty) {-
146 QQuickView *_t = static_cast<QQuickView *>(_o);-
147 Q_UNUSED(_t)-
148 void *_v = _a[0];-
149 switch (_id) {-
150 case 0: *reinterpret_cast< ResizeMode*>(_v) = _t->resizeMode(); break;-
151 case 1: *reinterpret_cast< Status*>(_v) = _t->status(); break;-
152 case 2: *reinterpret_cast< QUrl*>(_v) = _t->source(); break;-
153 default: break;-
154 }-
155 } else if (_c == QMetaObject::WriteProperty) {-
156 QQuickView *_t = static_cast<QQuickView *>(_o);-
157 Q_UNUSED(_t)-
158 void *_v = _a[0];-
159 switch (_id) {-
160 case 0: _t->setResizeMode(*reinterpret_cast< ResizeMode*>(_v)); break;-
161 case 2: _t->setSource(*reinterpret_cast< QUrl*>(_v)); break;-
162 default: break;-
163 }-
164 } else if (_c == QMetaObject::ResetProperty) {-
165 }-
166#endif // QT_NO_PROPERTIES-
167}-
168-
169QT_INIT_METAOBJECT const QMetaObject QQuickView::staticMetaObject = {-
170 { &QQuickWindow::staticMetaObject, qt_meta_stringdata_QQuickView.data,-
171 qt_meta_data_QQuickView, qt_static_metacall, nullptr, nullptr}-
172};-
173-
174-
175const QMetaObject *QQuickView::metaObject() const-
176{-
177 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
178}-
179-
180void *QQuickView::qt_metacast(const char *_clname)-
181{-
182 if (!_clname) return nullptr;-
183 if (!strcmp(_clname, qt_meta_stringdata_QQuickView.stringdata0))-
184 return static_cast<void*>(this);-
185 return QQuickWindow::qt_metacast(_clname);-
186}-
187-
188int QQuickView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
189{-
190 _id = QQuickWindow::qt_metacall(_c, _id, _a);-
191 if (_id < 0)-
192 return _id;-
193 if (_c == QMetaObject::InvokeMetaMethod) {-
194 if (_id < 4)-
195 qt_static_metacall(this, _c, _id, _a);-
196 _id -= 4;-
197 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
198 if (_id < 4)-
199 *reinterpret_cast<int*>(_a[0]) = -1;-
200 _id -= 4;-
201 }-
202#ifndef QT_NO_PROPERTIES-
203 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
204 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
205 qt_static_metacall(this, _c, _id, _a);-
206 _id -= 3;-
207 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
208 _id -= 3;-
209 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
210 _id -= 3;-
211 } else if (_c == QMetaObject::QueryPropertyStored) {-
212 _id -= 3;-
213 } else if (_c == QMetaObject::QueryPropertyEditable) {-
214 _id -= 3;-
215 } else if (_c == QMetaObject::QueryPropertyUser) {-
216 _id -= 3;-
217 }-
218#endif // QT_NO_PROPERTIES-
219 return _id;-
220}-
221-
222// SIGNAL 0-
223void QQuickView::statusChanged(QQuickView::Status _t1)-
224{-
225 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
226 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
227}
executed 5644 times by 82 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickdynamicpropertyanimation
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • ...
5644
228QT_WARNING_POP-
229QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0