Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/.moc/moc_qqmlcomponentattached_p.cpp |
Switch to Source code | Preprocessed file |
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_QQmlComponentAttached_t { | - |
9 | QByteArrayData data[4]; | - |
10 | char stringdata0[45]; | - |
11 | }; | - |
12 | - | |
13 | - | |
14 | - | |
15 | - | |
16 | - | |
17 | static const qt_meta_stringdata_QQmlComponentAttached_t qt_meta_stringdata_QQmlComponentAttached = { | - |
18 | { | - |
19 | { { { -1 } }, 21, 0, 0, qptrdiff( | - |
20 | __builtin_offsetof ( | - |
21 | qt_meta_stringdata_QQmlComponentAttached_t | - |
22 | , | - |
23 | stringdata0 | - |
24 | ) | - |
25 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
26 | { { { -1 } }, 9, 0, 0, qptrdiff( | - |
27 | __builtin_offsetof ( | - |
28 | qt_meta_stringdata_QQmlComponentAttached_t | - |
29 | , | - |
30 | stringdata0 | - |
31 | ) | - |
32 | + 22 - 1 * sizeof(QByteArrayData)) }, | - |
33 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
34 | __builtin_offsetof ( | - |
35 | qt_meta_stringdata_QQmlComponentAttached_t | - |
36 | , | - |
37 | stringdata0 | - |
38 | ) | - |
39 | + 32 - 2 * sizeof(QByteArrayData)) }, | - |
40 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
41 | __builtin_offsetof ( | - |
42 | qt_meta_stringdata_QQmlComponentAttached_t | - |
43 | , | - |
44 | stringdata0 | - |
45 | ) | - |
46 | + 33 - 3 * sizeof(QByteArrayData)) } | - |
47 | - | |
48 | }, | - |
49 | "QQmlComponentAttached\0completed\0\0" | - |
50 | "destruction" | - |
51 | }; | - |
52 | - | |
53 | - | |
54 | static const uint qt_meta_data_QQmlComponentAttached[] = { | - |
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 QQmlComponentAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
79 | { | - |
80 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
81 | QQmlComponentAttached *_t = static_cast<QQmlComponentAttached *>(_o); | - |
82 | (void)_t; | - |
83 | switch (_id) { | - |
84 | case 0: _t->completed(); break; | - |
85 | case 1: _t->destruction(); break; | - |
86 | default: ; | - |
87 | } | - |
88 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
89 | int *result = reinterpret_cast<int *>(_a[0]); | - |
90 | { | - |
91 | using _t = void (QQmlComponentAttached::*)(); | - |
92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlComponentAttached::completed)) { | - |
93 | *result = 0; | - |
94 | return; | - |
95 | } | - |
96 | } | - |
97 | { | - |
98 | using _t = void (QQmlComponentAttached::*)(); | - |
99 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlComponentAttached::destruction)) { | - |
100 | *result = 1; | - |
101 | return; | - |
102 | } | - |
103 | } | - |
104 | } | - |
105 | (void)_a;; | - |
106 | } | - |
107 | - | |
108 | const QMetaObject QQmlComponentAttached::staticMetaObject = { | - |
109 | { &QObject::staticMetaObject, qt_meta_stringdata_QQmlComponentAttached.data, | - |
110 | qt_meta_data_QQmlComponentAttached, qt_static_metacall, nullptr, nullptr} | - |
111 | }; | - |
112 | - | |
113 | - | |
114 | const QMetaObject *QQmlComponentAttached::metaObject() const | - |
115 | { | - |
116 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
117 | } | - |
118 | - | |
119 | void *QQmlComponentAttached::qt_metacast(const char *_clname) | - |
120 | { | - |
121 | if (!_clname) return nullptr; | - |
122 | if (!strcmp(_clname, qt_meta_stringdata_QQmlComponentAttached.stringdata0)) | - |
123 | return static_cast<void*>(this); | - |
124 | return QObject::qt_metacast(_clname); | - |
125 | } | - |
126 | - | |
127 | int QQmlComponentAttached::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 QQmlComponentAttached::completed() | - |
146 | { | - |
147 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
148 | } executed 4457 times by 59 tests: end of block Executed by:
| 4457 |
149 | - | |
150 | - | |
151 | void QQmlComponentAttached::destruction() | - |
152 | { | - |
153 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
154 | } executed 4423 times by 58 tests: end of block Executed by:
| 4423 |
155 | - | |
156 | #pragma GCC diagnostic pop | - |
157 | - | |
158 | - | |
Switch to Source code | Preprocessed file |