OpenCoverage

moc_qquickframebufferobject.cpp

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

Generated by Squish Coco 4.2.0