OpenCoverage

moc_qquickrectangleextruder_p.cpp

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

Generated by Squish Coco 4.2.0