Line | Source | Count |
1 | | - |
2 | | - |
3 | #pragma GCC diagnostic push | - |
4 | | - |
5 | | - |
6 | #pragma GCC diagnostic ignored "-Wdeprecated-declarations" | - |
7 | | - |
8 | struct qt_meta_stringdata_QQuickRenderControl_t { | - |
9 | QByteArrayData data[4]; | - |
10 | char stringdata0[50]; | - |
11 | }; | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | static const qt_meta_stringdata_QQuickRenderControl_t qt_meta_stringdata_QQuickRenderControl = { | - |
18 | { | - |
19 | { { { -1 } }, 19, 0, 0, qptrdiff( | - |
20 | __builtin_offsetof ( | - |
21 | qt_meta_stringdata_QQuickRenderControl_t | - |
22 | , | - |
23 | stringdata0 | - |
24 | ) | - |
25 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
26 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
27 | __builtin_offsetof ( | - |
28 | qt_meta_stringdata_QQuickRenderControl_t | - |
29 | , | - |
30 | stringdata0 | - |
31 | ) | - |
32 | + 20 - 1 * sizeof(QByteArrayData)) }, | - |
33 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
34 | __builtin_offsetof ( | - |
35 | qt_meta_stringdata_QQuickRenderControl_t | - |
36 | , | - |
37 | stringdata0 | - |
38 | ) | - |
39 | + 36 - 2 * sizeof(QByteArrayData)) }, | - |
40 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
41 | __builtin_offsetof ( | - |
42 | qt_meta_stringdata_QQuickRenderControl_t | - |
43 | , | - |
44 | stringdata0 | - |
45 | ) | - |
46 | + 37 - 3 * sizeof(QByteArrayData)) } | - |
47 | | - |
48 | }, | - |
49 | "QQuickRenderControl\0renderRequested\0" | - |
50 | "\0sceneChanged" | - |
51 | }; | - |
52 | | - |
53 | | - |
54 | static const uint qt_meta_data_QQuickRenderControl[] = { | - |
55 | | - |
56 | | - |
57 | 7, | - |
58 | 0, | - |
59 | 0, 0, | - |
60 | 2, 14, | - |
61 | 0, 0, | - |
62 | 0, 0, | - |
63 | 0, 0, | - |
64 | 0, | - |
65 | 2, | - |
66 | | - |
67 | | - |
68 | 1, 0, 24, 2, 0x06 , | - |
69 | 3, 0, 25, 2, 0x06 , | - |
70 | | - |
71 | | - |
72 | QMetaType::Void, | - |
73 | QMetaType::Void, | - |
74 | | - |
75 | 0 | - |
76 | }; | - |
77 | | - |
78 | void QQuickRenderControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
79 | { | - |
80 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
81 | QQuickRenderControl *_t = static_cast<QQuickRenderControl *>(_o); | - |
82 | (void)_t; | - |
83 | switch (_id) { | - |
84 | case 0: _t->renderRequested(); break; | - |
85 | case 1: _t->sceneChanged(); break; | - |
86 | default: ; | - |
87 | } | - |
88 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
89 | int *result = reinterpret_cast<int *>(_a[0]); | - |
90 | { | - |
91 | using _t = void (QQuickRenderControl::*)(); | - |
92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickRenderControl::renderRequested)) { | - |
93 | *result = 0; | - |
94 | return; | - |
95 | } | - |
96 | } | - |
97 | { | - |
98 | using _t = void (QQuickRenderControl::*)(); | - |
99 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickRenderControl::sceneChanged)) { | - |
100 | *result = 1; | - |
101 | return; | - |
102 | } | - |
103 | } | - |
104 | } | - |
105 | (void)_a;; | - |
106 | } | - |
107 | | - |
108 | const QMetaObject QQuickRenderControl::staticMetaObject = { | - |
109 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickRenderControl.data, | - |
110 | qt_meta_data_QQuickRenderControl, qt_static_metacall, nullptr, nullptr} | - |
111 | }; | - |
112 | | - |
113 | | - |
114 | const QMetaObject *QQuickRenderControl::metaObject() const | - |
115 | { | - |
116 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
117 | } | - |
118 | | - |
119 | void *QQuickRenderControl::qt_metacast(const char *_clname) | - |
120 | { | - |
121 | if (!_clname) return nullptr; | - |
122 | if (!strcmp(_clname, qt_meta_stringdata_QQuickRenderControl.stringdata0)) | - |
123 | return static_cast<void*>(this); | - |
124 | return QObject::qt_metacast(_clname); | - |
125 | } | - |
126 | | - |
127 | int QQuickRenderControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
128 | { | - |
129 | _id = QObject::qt_metacall(_c, _id, _a); | - |
130 | if (_id < 0) | - |
131 | return _id; | - |
132 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
133 | if (_id < 2) | - |
134 | qt_static_metacall(this, _c, _id, _a); | - |
135 | _id -= 2; | - |
136 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
137 | if (_id < 2) | - |
138 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
139 | _id -= 2; | - |
140 | } | - |
141 | return _id; | - |
142 | } | - |
143 | | - |
144 | | - |
145 | void QQuickRenderControl::renderRequested() | - |
146 | { | - |
147 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
148 | } never executed: end of block | 0 |
149 | | - |
150 | | - |
151 | void QQuickRenderControl::sceneChanged() | - |
152 | { | - |
153 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
154 | }executed 1290 times by 2 tests: end of block Executed by:- tst_qquickshortcut
- tst_qquickwidget
| 1290 |
155 | | - |
156 | #pragma GCC diagnostic pop | - |
157 | | - |
158 | | - |
| | |