Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | #include "../qqmldebugmessageclient_p.h" | - |
10 | #include <QtCore/qbytearray.h> | - |
11 | #include <QtCore/qmetatype.h> | - |
12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
13 | #error "The header file 'qqmldebugmessageclient_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_QQmlDebugMessageClient_t { | - |
24 | QByteArrayData data[5]; | - |
25 | char stringdata0[63]; | - |
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_QQmlDebugMessageClient_t, stringdata0) + ofs \ | - |
30 | - idx * sizeof(QByteArrayData)) \ | - |
31 | ) | - |
32 | static const qt_meta_stringdata_QQmlDebugMessageClient_t qt_meta_stringdata_QQmlDebugMessageClient = { | - |
33 | { | - |
34 | QT_MOC_LITERAL(0, 0, 22), | - |
35 | QT_MOC_LITERAL(1, 23, 7), | - |
36 | QT_MOC_LITERAL(2, 31, 0), | - |
37 | QT_MOC_LITERAL(3, 32, 9), | - |
38 | QT_MOC_LITERAL(4, 42, 20) | - |
39 | | - |
40 | }, | - |
41 | "QQmlDebugMessageClient\0message\0\0" | - |
42 | "QtMsgType\0QQmlDebugContextInfo" | - |
43 | }; | - |
44 | #undef QT_MOC_LITERAL | - |
45 | | - |
46 | static const uint qt_meta_data_QQmlDebugMessageClient[] = { | - |
47 | | - |
48 | | - |
49 | 7, | - |
50 | 0, | - |
51 | 0, 0, | - |
52 | 1, 14, | - |
53 | 0, 0, | - |
54 | 0, 0, | - |
55 | 0, 0, | - |
56 | 0, | - |
57 | 1, | - |
58 | | - |
59 | | - |
60 | 1, 3, 19, 2, 0x06 , | - |
61 | | - |
62 | | - |
63 | QMetaType::Void, 0x80000000 | 3, QMetaType::QString, 0x80000000 | 4, 2, 2, 2, | - |
64 | | - |
65 | 0 | - |
66 | }; | - |
67 | | - |
68 | void QQmlDebugMessageClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
69 | { | - |
70 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
71 | QQmlDebugMessageClient *_t = static_cast<QQmlDebugMessageClient *>(_o); | - |
72 | Q_UNUSED(_t) | - |
73 | switch (_id) { | - |
74 | case 0: _t->message((*reinterpret_cast< QtMsgType(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QQmlDebugContextInfo(*)>(_a[3]))); break; | - |
75 | default: ; | - |
76 | } | - |
77 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
78 | int *result = reinterpret_cast<int *>(_a[0]); | - |
79 | { | - |
80 | using _t = void (QQmlDebugMessageClient::*)(QtMsgType , const QString & , const QQmlDebugContextInfo & ); | - |
81 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDebugMessageClient::message)) { | - |
82 | *result = 0; | - |
83 | return; | - |
84 | } | - |
85 | } | - |
86 | } | - |
87 | } | - |
88 | | - |
89 | QT_INIT_METAOBJECT const QMetaObject QQmlDebugMessageClient::staticMetaObject = { | - |
90 | { &QQmlDebugClient::staticMetaObject, qt_meta_stringdata_QQmlDebugMessageClient.data, | - |
91 | qt_meta_data_QQmlDebugMessageClient, qt_static_metacall, nullptr, nullptr} | - |
92 | }; | - |
93 | | - |
94 | | - |
95 | const QMetaObject *QQmlDebugMessageClient::metaObject() const | - |
96 | { | - |
97 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
98 | } | - |
99 | | - |
100 | void *QQmlDebugMessageClient::qt_metacast(const char *_clname) | - |
101 | { | - |
102 | if (!_clname) return nullptr; | - |
103 | if (!strcmp(_clname, qt_meta_stringdata_QQmlDebugMessageClient.stringdata0)) | - |
104 | return static_cast<void*>(this); | - |
105 | return QQmlDebugClient::qt_metacast(_clname); | - |
106 | } | - |
107 | | - |
108 | int QQmlDebugMessageClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
109 | { | - |
110 | _id = QQmlDebugClient::qt_metacall(_c, _id, _a); | - |
111 | if (_id < 0) | - |
112 | return _id; | - |
113 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
114 | if (_id < 1) | - |
115 | qt_static_metacall(this, _c, _id, _a); | - |
116 | _id -= 1; | - |
117 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
118 | if (_id < 1) | - |
119 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
120 | _id -= 1; | - |
121 | } | - |
122 | return _id; | - |
123 | } | - |
124 | | - |
125 | | - |
126 | void QQmlDebugMessageClient::message(QtMsgType _t1, const QString & _t2, const QQmlDebugContextInfo & _t3) | - |
127 | { | - |
128 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) }; | - |
129 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | - |
130 | }executed 18 times by 1 test: end of block | 18 |
131 | QT_WARNING_POP | - |
132 | QT_END_MOC_NAMESPACE | - |
| | |