Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/.moc/moc_qqmlcomponentattached_p.cpp |
Source code | Switch to Preprocessed file |
Line | Source | Count |
---|---|---|
1 | /**************************************************************************** | - |
2 | ** Meta object code from reading C++ file 'qqmlcomponentattached_p.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 "../qml/qqmlcomponentattached_p.h" | - |
10 | #include <QtCore/qbytearray.h> | - |
11 | #include <QtCore/qmetatype.h> | - |
12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
13 | #error "The header file 'qqmlcomponentattached_p.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 | - | |
20 | QT_BEGIN_MOC_NAMESPACE | - |
21 | QT_WARNING_PUSH | - |
22 | QT_WARNING_DISABLE_DEPRECATED | - |
23 | struct qt_meta_stringdata_QQmlComponentAttached_t { | - |
24 | QByteArrayData data[4]; | - |
25 | char stringdata0[45]; | - |
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_QQmlComponentAttached_t, stringdata0) + ofs \ | - |
30 | - idx * sizeof(QByteArrayData)) \ | - |
31 | ) | - |
32 | static const qt_meta_stringdata_QQmlComponentAttached_t qt_meta_stringdata_QQmlComponentAttached = { | - |
33 | { | - |
34 | QT_MOC_LITERAL(0, 0, 21), // "QQmlComponentAttached" | - |
35 | QT_MOC_LITERAL(1, 22, 9), // "completed" | - |
36 | QT_MOC_LITERAL(2, 32, 0), // "" | - |
37 | QT_MOC_LITERAL(3, 33, 11) // "destruction" | - |
38 | - | |
39 | }, | - |
40 | "QQmlComponentAttached\0completed\0\0" | - |
41 | "destruction" | - |
42 | }; | - |
43 | #undef QT_MOC_LITERAL | - |
44 | - | |
45 | static const uint qt_meta_data_QQmlComponentAttached[] = { | - |
46 | - | |
47 | // content: | - |
48 | 7, // revision | - |
49 | 0, // classname | - |
50 | 0, 0, // classinfo | - |
51 | 2, 14, // methods | - |
52 | 0, 0, // properties | - |
53 | 0, 0, // enums/sets | - |
54 | 0, 0, // constructors | - |
55 | 0, // flags | - |
56 | 2, // signalCount | - |
57 | - | |
58 | // signals: name, argc, parameters, tag, flags | - |
59 | 1, 0, 24, 2, 0x06 /* Public */, | - |
60 | 3, 0, 25, 2, 0x06 /* Public */, | - |
61 | - | |
62 | // signals: parameters | - |
63 | QMetaType::Void, | - |
64 | QMetaType::Void, | - |
65 | - | |
66 | 0 // eod | - |
67 | }; | - |
68 | - | |
69 | void QQmlComponentAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
70 | { | - |
71 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
72 | QQmlComponentAttached *_t = static_cast<QQmlComponentAttached *>(_o); | - |
73 | Q_UNUSED(_t) | - |
74 | switch (_id) { | - |
75 | case 0: _t->completed(); break; | - |
76 | case 1: _t->destruction(); break; | - |
77 | default: ; | - |
78 | } | - |
79 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
80 | int *result = reinterpret_cast<int *>(_a[0]); | - |
81 | { | - |
82 | using _t = void (QQmlComponentAttached::*)(); | - |
83 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlComponentAttached::completed)) { | - |
84 | *result = 0; | - |
85 | return; | - |
86 | } | - |
87 | } | - |
88 | { | - |
89 | using _t = void (QQmlComponentAttached::*)(); | - |
90 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlComponentAttached::destruction)) { | - |
91 | *result = 1; | - |
92 | return; | - |
93 | } | - |
94 | } | - |
95 | } | - |
96 | Q_UNUSED(_a); | - |
97 | } | - |
98 | - | |
99 | QT_INIT_METAOBJECT const QMetaObject QQmlComponentAttached::staticMetaObject = { | - |
100 | { &QObject::staticMetaObject, qt_meta_stringdata_QQmlComponentAttached.data, | - |
101 | qt_meta_data_QQmlComponentAttached, qt_static_metacall, nullptr, nullptr} | - |
102 | }; | - |
103 | - | |
104 | - | |
105 | const QMetaObject *QQmlComponentAttached::metaObject() const | - |
106 | { | - |
107 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
108 | } | - |
109 | - | |
110 | void *QQmlComponentAttached::qt_metacast(const char *_clname) | - |
111 | { | - |
112 | if (!_clname) return nullptr; | - |
113 | if (!strcmp(_clname, qt_meta_stringdata_QQmlComponentAttached.stringdata0)) | - |
114 | return static_cast<void*>(this); | - |
115 | return QObject::qt_metacast(_clname); | - |
116 | } | - |
117 | - | |
118 | int QQmlComponentAttached::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
119 | { | - |
120 | _id = QObject::qt_metacall(_c, _id, _a); | - |
121 | if (_id < 0) | - |
122 | return _id; | - |
123 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
124 | if (_id < 2) | - |
125 | qt_static_metacall(this, _c, _id, _a); | - |
126 | _id -= 2; | - |
127 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
128 | if (_id < 2) | - |
129 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
130 | _id -= 2; | - |
131 | } | - |
132 | return _id; | - |
133 | } | - |
134 | - | |
135 | // SIGNAL 0 | - |
136 | void QQmlComponentAttached::completed() | - |
137 | { | - |
138 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
139 | } executed 4457 times by 59 tests: end of block Executed by:
| 4457 |
140 | - | |
141 | // SIGNAL 1 | - |
142 | void QQmlComponentAttached::destruction() | - |
143 | { | - |
144 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
145 | } executed 4423 times by 58 tests: end of block Executed by:
| 4423 |
146 | QT_WARNING_POP | - |
147 | QT_END_MOC_NAMESPACE | - |
Source code | Switch to Preprocessed file |