OpenCoverage

moc_qsgabstractrenderer.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qsgabstractrenderer.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_QSGAbstractRenderer_t {-
9 QByteArrayData data[3];-
10 char stringdata0[39];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QSGAbstractRenderer_t qt_meta_stringdata_QSGAbstractRenderer = {-
18 {-
19{ { { -1 } }, 19, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QSGAbstractRenderer_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 17, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QSGAbstractRenderer_t-
29, -
30stringdata0-
31) -
32+ 20 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QSGAbstractRenderer_t-
36, -
37stringdata0-
38) -
39+ 38 - 2 * sizeof(QByteArrayData)) }-
40-
41 },-
42 "QSGAbstractRenderer\0sceneGraphChanged\0"-
43 ""-
44};-
45-
46-
47static const uint qt_meta_data_QSGAbstractRenderer[] = {-
48-
49-
50 7,-
51 0,-
52 0, 0,-
53 1, 14,-
54 0, 0,-
55 0, 0,-
56 0, 0,-
57 0,-
58 1,-
59-
60-
61 1, 0, 19, 2, 0x06 ,-
62-
63-
64 QMetaType::Void,-
65-
66 0-
67};-
68-
69void QSGAbstractRenderer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
70{-
71 if (_c == QMetaObject::InvokeMetaMethod) {-
72 QSGAbstractRenderer *_t = static_cast<QSGAbstractRenderer *>(_o);-
73 (void)_t;-
74 switch (_id) {-
75 case 0: _t->sceneGraphChanged(); break;-
76 default: ;-
77 }-
78 } else if (_c == QMetaObject::IndexOfMethod) {-
79 int *result = reinterpret_cast<int *>(_a[0]);-
80 {-
81 using _t = void (QSGAbstractRenderer::*)();-
82 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSGAbstractRenderer::sceneGraphChanged)) {-
83 *result = 0;-
84 return;-
85 }-
86 }-
87 }-
88 (void)_a;;-
89}-
90-
91 const QMetaObject QSGAbstractRenderer::staticMetaObject = {-
92 { &QObject::staticMetaObject, qt_meta_stringdata_QSGAbstractRenderer.data,-
93 qt_meta_data_QSGAbstractRenderer, qt_static_metacall, nullptr, nullptr}-
94};-
95-
96-
97const QMetaObject *QSGAbstractRenderer::metaObject() const-
98{-
99 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
100}-
101-
102void *QSGAbstractRenderer::qt_metacast(const char *_clname)-
103{-
104 if (!_clname) return nullptr;-
105 if (!strcmp(_clname, qt_meta_stringdata_QSGAbstractRenderer.stringdata0))-
106 return static_cast<void*>(this);-
107 return QObject::qt_metacast(_clname);-
108}-
109-
110int QSGAbstractRenderer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
111{-
112 _id = QObject::qt_metacall(_c, _id, _a);-
113 if (_id < 0)-
114 return _id;-
115 if (_c == QMetaObject::InvokeMetaMethod) {-
116 if (_id < 1)-
117 qt_static_metacall(this, _c, _id, _a);-
118 _id -= 1;-
119 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
120 if (_id < 1)-
121 *reinterpret_cast<int*>(_a[0]) = -1;-
122 _id -= 1;-
123 }-
124 return _id;-
125}-
126-
127-
128void QSGAbstractRenderer::sceneGraphChanged()-
129{-
130 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
131}
executed 45788 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • ...
45788
132-
133#pragma GCC diagnostic pop-
134-
135-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0