OpenCoverage

moc_qquickframebufferobject.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickframebufferobject.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3#pragma GCC diagnostic push-
4-
5-
6#pragma GCC diagnostic ignored "-Wdeprecated-declarations"-
7-
8struct qt_meta_stringdata_QQuickFramebufferObject_t {-
9 QByteArrayData data[7];-
10 char stringdata0[140];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickFramebufferObject_t qt_meta_stringdata_QQuickFramebufferObject = {-
18 {-
19{ { { -1 } }, 23, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickFramebufferObject_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 29, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickFramebufferObject_t-
29, -
30stringdata0-
31) -
32+ 24 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickFramebufferObject_t-
36, -
37stringdata0-
38) -
39+ 54 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 23, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickFramebufferObject_t-
43, -
44stringdata0-
45) -
46+ 55 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 20, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickFramebufferObject_t-
50, -
51stringdata0-
52) -
53+ 79 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 22, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickFramebufferObject_t-
57, -
58stringdata0-
59) -
60+ 100 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 16, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickFramebufferObject_t-
64, -
65stringdata0-
66) -
67+ 123 - 6 * sizeof(QByteArrayData)) }-
68-
69 },-
70 "QQuickFramebufferObject\0"-
71 "textureFollowsItemSizeChanged\0\0"-
72 "mirrorVerticallyChanged\0invalidateSceneGraph\0"-
73 "textureFollowsItemSize\0mirrorVertically"-
74};-
75-
76-
77static const uint qt_meta_data_QQuickFramebufferObject[] = {-
78-
79-
80 7,-
81 0,-
82 0, 0,-
83 3, 14,-
84 2, 36,-
85 0, 0,-
86 0, 0,-
87 0,-
88 2,-
89-
90-
91 1, 1, 29, 2, 0x06 ,-
92 3, 1, 32, 2, 0x06 ,-
93-
94-
95 4, 0, 35, 2, 0x08 ,-
96-
97-
98 QMetaType::Void, QMetaType::Bool, 2,-
99 QMetaType::Void, QMetaType::Bool, 2,-
100-
101-
102 QMetaType::Void,-
103-
104-
105 5, QMetaType::Bool, 0x00495103,-
106 6, QMetaType::Bool, 0x00495103,-
107-
108-
109 0,-
110 1,-
111-
112 0-
113};-
114-
115void QQuickFramebufferObject::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
116{-
117 if (_c == QMetaObject::InvokeMetaMethod) {-
118 QQuickFramebufferObject *_t = static_cast<QQuickFramebufferObject *>(_o);-
119 (void)_t;-
120 switch (_id) {-
121 case 0: _t->textureFollowsItemSizeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;-
122 case 1: _t->mirrorVerticallyChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;-
123 case 2: _t->invalidateSceneGraph(); break;-
124 default: ;-
125 }-
126 } else if (_c == QMetaObject::IndexOfMethod) {-
127 int *result = reinterpret_cast<int *>(_a[0]);-
128 {-
129 using _t = void (QQuickFramebufferObject::*)(bool );-
130 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickFramebufferObject::textureFollowsItemSizeChanged)) {-
131 *result = 0;-
132 return;-
133 }-
134 }-
135 {-
136 using _t = void (QQuickFramebufferObject::*)(bool );-
137 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickFramebufferObject::mirrorVerticallyChanged)) {-
138 *result = 1;-
139 return;-
140 }-
141 }-
142 }-
143-
144 else if (_c == QMetaObject::ReadProperty) {-
145 QQuickFramebufferObject *_t = static_cast<QQuickFramebufferObject *>(_o);-
146 (void)_t;-
147 void *_v = _a[0];-
148 switch (_id) {-
149 case 0: *reinterpret_cast< bool*>(_v) = _t->textureFollowsItemSize(); break;-
150 case 1: *reinterpret_cast< bool*>(_v) = _t->mirrorVertically(); break;-
151 default: break;-
152 }-
153 } else if (_c == QMetaObject::WriteProperty) {-
154 QQuickFramebufferObject *_t = static_cast<QQuickFramebufferObject *>(_o);-
155 (void)_t;-
156 void *_v = _a[0];-
157 switch (_id) {-
158 case 0: _t->setTextureFollowsItemSize(*reinterpret_cast< bool*>(_v)); break;-
159 case 1: _t->setMirrorVertically(*reinterpret_cast< bool*>(_v)); break;-
160 default: break;-
161 }-
162 } else if (_c == QMetaObject::ResetProperty) {-
163 }-
164-
165}-
166-
167 const QMetaObject QQuickFramebufferObject::staticMetaObject = {-
168 { &QQuickItem::staticMetaObject, qt_meta_stringdata_QQuickFramebufferObject.data,-
169 qt_meta_data_QQuickFramebufferObject, qt_static_metacall, nullptr, nullptr}-
170};-
171-
172-
173const QMetaObject *QQuickFramebufferObject::metaObject() const-
174{-
175 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
176}-
177-
178void *QQuickFramebufferObject::qt_metacast(const char *_clname)-
179{-
180 if (!_clname) return nullptr;-
181 if (!strcmp(_clname, qt_meta_stringdata_QQuickFramebufferObject.stringdata0))-
182 return static_cast<void*>(this);-
183 return QQuickItem::qt_metacast(_clname);-
184}-
185-
186int QQuickFramebufferObject::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
187{-
188 _id = QQuickItem::qt_metacall(_c, _id, _a);-
189 if (_id < 0)-
190 return _id;-
191 if (_c == QMetaObject::InvokeMetaMethod) {-
192 if (_id < 3)-
193 qt_static_metacall(this, _c, _id, _a);-
194 _id -= 3;-
195 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
196 if (_id < 3)-
197 *reinterpret_cast<int*>(_a[0]) = -1;-
198 _id -= 3;-
199 }-
200-
201 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
202 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
203 qt_static_metacall(this, _c, _id, _a);-
204 _id -= 2;-
205 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
206 _id -= 2;-
207 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
208 _id -= 2;-
209 } else if (_c == QMetaObject::QueryPropertyStored) {-
210 _id -= 2;-
211 } else if (_c == QMetaObject::QueryPropertyEditable) {-
212 _id -= 2;-
213 } else if (_c == QMetaObject::QueryPropertyUser) {-
214 _id -= 2;-
215 }-
216-
217 return _id;-
218}-
219-
220-
221void QQuickFramebufferObject::textureFollowsItemSizeChanged(bool _t1)-
222{-
223 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
224 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
225}
executed 6 times by 1 test: end of block
Executed by:
  • tst_qquickframebufferobject
6
226-
227-
228void QQuickFramebufferObject::mirrorVerticallyChanged(bool _t1)-
229{-
230 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
231 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
232}
never executed: end of block
0
233-
234#pragma GCC diagnostic pop-
235-
236-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0