OpenCoverage

moc_qquickmaskextruder_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/.moc/moc_qquickmaskextruder_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickmaskextruder_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 "../qquickmaskextruder_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickmaskextruder_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_QQuickMaskExtruder_t {-
24 QByteArrayData data[8];-
25 char stringdata0[90];-
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_QQuickMaskExtruder_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickMaskExtruder_t qt_meta_stringdata_QQuickMaskExtruder = {-
33 {-
34QT_MOC_LITERAL(0, 0, 18), // "QQuickMaskExtruder"-
35QT_MOC_LITERAL(1, 19, 13), // "sourceChanged"-
36QT_MOC_LITERAL(2, 33, 0), // ""-
37QT_MOC_LITERAL(3, 34, 3), // "arg"-
38QT_MOC_LITERAL(4, 38, 9), // "setSource"-
39QT_MOC_LITERAL(5, 48, 16), // "startMaskLoading"-
40QT_MOC_LITERAL(6, 65, 17), // "finishMaskLoading"-
41QT_MOC_LITERAL(7, 83, 6) // "source"-
42-
43 },-
44 "QQuickMaskExtruder\0sourceChanged\0\0arg\0"-
45 "setSource\0startMaskLoading\0finishMaskLoading\0"-
46 "source"-
47};-
48#undef QT_MOC_LITERAL-
49-
50static const uint qt_meta_data_QQuickMaskExtruder[] = {-
51-
52 // content:-
53 7, // revision-
54 0, // classname-
55 0, 0, // classinfo-
56 4, 14, // methods-
57 1, 42, // properties-
58 0, 0, // enums/sets-
59 0, 0, // constructors-
60 0, // flags-
61 1, // signalCount-
62-
63 // signals: name, argc, parameters, tag, flags-
64 1, 1, 34, 2, 0x06 /* Public */,-
65-
66 // slots: name, argc, parameters, tag, flags-
67 4, 1, 37, 2, 0x0a /* Public */,-
68 5, 0, 40, 2, 0x08 /* Private */,-
69 6, 0, 41, 2, 0x08 /* Private */,-
70-
71 // signals: parameters-
72 QMetaType::Void, QMetaType::QUrl, 3,-
73-
74 // slots: parameters-
75 QMetaType::Void, QMetaType::QUrl, 3,-
76 QMetaType::Void,-
77 QMetaType::Void,-
78-
79 // properties: name, type, flags-
80 7, QMetaType::QUrl, 0x00495103,-
81-
82 // properties: notify_signal_id-
83 0,-
84-
85 0 // eod-
86};-
87-
88void QQuickMaskExtruder::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
89{-
90 if (_c == QMetaObject::InvokeMetaMethod) {-
91 QQuickMaskExtruder *_t = static_cast<QQuickMaskExtruder *>(_o);-
92 Q_UNUSED(_t)-
93 switch (_id) {-
94 case 0: _t->sourceChanged((*reinterpret_cast< QUrl(*)>(_a[1]))); break;-
95 case 1: _t->setSource((*reinterpret_cast< QUrl(*)>(_a[1]))); break;-
96 case 2: _t->startMaskLoading(); break;-
97 case 3: _t->finishMaskLoading(); break;-
98 default: ;-
99 }-
100 } else if (_c == QMetaObject::IndexOfMethod) {-
101 int *result = reinterpret_cast<int *>(_a[0]);-
102 {-
103 using _t = void (QQuickMaskExtruder::*)(QUrl );-
104 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickMaskExtruder::sourceChanged)) {-
105 *result = 0;-
106 return;-
107 }-
108 }-
109 }-
110#ifndef QT_NO_PROPERTIES-
111 else if (_c == QMetaObject::ReadProperty) {-
112 QQuickMaskExtruder *_t = static_cast<QQuickMaskExtruder *>(_o);-
113 Q_UNUSED(_t)-
114 void *_v = _a[0];-
115 switch (_id) {-
116 case 0: *reinterpret_cast< QUrl*>(_v) = _t->source(); break;-
117 default: break;-
118 }-
119 } else if (_c == QMetaObject::WriteProperty) {-
120 QQuickMaskExtruder *_t = static_cast<QQuickMaskExtruder *>(_o);-
121 Q_UNUSED(_t)-
122 void *_v = _a[0];-
123 switch (_id) {-
124 case 0: _t->setSource(*reinterpret_cast< QUrl*>(_v)); break;-
125 default: break;-
126 }-
127 } else if (_c == QMetaObject::ResetProperty) {-
128 }-
129#endif // QT_NO_PROPERTIES-
130}-
131-
132QT_INIT_METAOBJECT const QMetaObject QQuickMaskExtruder::staticMetaObject = {-
133 { &QQuickParticleExtruder::staticMetaObject, qt_meta_stringdata_QQuickMaskExtruder.data,-
134 qt_meta_data_QQuickMaskExtruder, qt_static_metacall, nullptr, nullptr}-
135};-
136-
137-
138const QMetaObject *QQuickMaskExtruder::metaObject() const-
139{-
140 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
141}-
142-
143void *QQuickMaskExtruder::qt_metacast(const char *_clname)-
144{-
145 if (!_clname) return nullptr;-
146 if (!strcmp(_clname, qt_meta_stringdata_QQuickMaskExtruder.stringdata0))-
147 return static_cast<void*>(this);-
148 return QQuickParticleExtruder::qt_metacast(_clname);-
149}-
150-
151int QQuickMaskExtruder::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
152{-
153 _id = QQuickParticleExtruder::qt_metacall(_c, _id, _a);-
154 if (_id < 0)-
155 return _id;-
156 if (_c == QMetaObject::InvokeMetaMethod) {-
157 if (_id < 4)-
158 qt_static_metacall(this, _c, _id, _a);-
159 _id -= 4;-
160 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
161 if (_id < 4)-
162 *reinterpret_cast<int*>(_a[0]) = -1;-
163 _id -= 4;-
164 }-
165#ifndef QT_NO_PROPERTIES-
166 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
167 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
168 qt_static_metacall(this, _c, _id, _a);-
169 _id -= 1;-
170 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
171 _id -= 1;-
172 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
173 _id -= 1;-
174 } else if (_c == QMetaObject::QueryPropertyStored) {-
175 _id -= 1;-
176 } else if (_c == QMetaObject::QueryPropertyEditable) {-
177 _id -= 1;-
178 } else if (_c == QMetaObject::QueryPropertyUser) {-
179 _id -= 1;-
180 }-
181#endif // QT_NO_PROPERTIES-
182 return _id;-
183}-
184-
185// SIGNAL 0-
186void QQuickMaskExtruder::sourceChanged(QUrl _t1)-
187{-
188 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
189 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
190}
executed 14 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickmaskextruder
14
191QT_WARNING_POP-
192QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0