1/****************************************************************************
2** Meta object code from reading C++ file 'qdnslookup_p.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "kernel/qdnslookup_p.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qdnslookup_p.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 68
16#error "This file was generated using the moc from 6.0.0. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
19#endif
20
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
24struct qt_meta_stringdata_QDnsLookupRunnable_t {
25 const uint offsetsAndSize[10];
26 char stringdata0[51];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QDnsLookupRunnable_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QDnsLookupRunnable_t qt_meta_stringdata_QDnsLookupRunnable = {
31 {
32QT_MOC_LITERAL(0, 18), // "QDnsLookupRunnable"
33QT_MOC_LITERAL(19, 8), // "finished"
34QT_MOC_LITERAL(28, 0), // ""
35QT_MOC_LITERAL(29, 15), // "QDnsLookupReply"
36QT_MOC_LITERAL(45, 5) // "reply"
37
38 },
39 "QDnsLookupRunnable\0finished\0\0"
40 "QDnsLookupReply\0reply"
41};
42#undef QT_MOC_LITERAL
43
44static const uint qt_meta_data_QDnsLookupRunnable[] = {
45
46 // content:
47 9, // revision
48 0, // classname
49 0, 0, // classinfo
50 1, 14, // methods
51 0, 0, // properties
52 0, 0, // enums/sets
53 0, 0, // constructors
54 0, // flags
55 1, // signalCount
56
57 // signals: name, argc, parameters, tag, flags, initial metatype offsets
58 1, 1, 20, 2, 0x06, 0 /* Public */,
59
60 // signals: parameters
61 QMetaType::Void, 0x80000000 | 3, 4,
62
63 0 // eod
64};
65
66void QDnsLookupRunnable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
67{
68 if (_c == QMetaObject::InvokeMetaMethod) {
69 Q_ASSERT(staticMetaObject.cast(_o));
70 auto *_t = static_cast<QDnsLookupRunnable *>(_o);
71 Q_UNUSED(_t)
72 switch (_id) {
73 case 0: _t->finished((*reinterpret_cast< const QDnsLookupReply(*)>(_a[1]))); break;
74 default: ;
75 }
76 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
77 switch (_id) {
78 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
79 case 0:
80 switch (*reinterpret_cast<int*>(_a[1])) {
81 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
82 case 0:
83 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDnsLookupReply >(); break;
84 }
85 break;
86 }
87 } else if (_c == QMetaObject::IndexOfMethod) {
88 int *result = reinterpret_cast<int *>(_a[0]);
89 {
90 using _t = void (QDnsLookupRunnable::*)(const QDnsLookupReply & );
91 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDnsLookupRunnable::finished)) {
92 *result = 0;
93 return;
94 }
95 }
96 }
97}
98
99const QMetaObject QDnsLookupRunnable::staticMetaObject = { {
100 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
101 qt_meta_stringdata_QDnsLookupRunnable.offsetsAndSize,
102 qt_meta_data_QDnsLookupRunnable,
103 qt_static_metacall,
104 nullptr,
105qt_incomplete_metaTypeArray<qt_meta_stringdata_QDnsLookupRunnable_t
106, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QDnsLookupReply &, std::false_type>
107
108
109
110>,
111 nullptr
112} };
113
114
115const QMetaObject *QDnsLookupRunnable::metaObject() const
116{
117 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
118}
119
120void *QDnsLookupRunnable::qt_metacast(const char *_clname)
121{
122 if (!_clname) return nullptr;
123 if (!strcmp(_clname, qt_meta_stringdata_QDnsLookupRunnable.stringdata0))
124 return static_cast<void*>(this);
125 if (!strcmp(_clname, "QRunnable"))
126 return static_cast< QRunnable*>(this);
127 return QObject::qt_metacast(_clname);
128}
129
130int QDnsLookupRunnable::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
131{
132 _id = QObject::qt_metacall(_c, _id, _a);
133 if (_id < 0)
134 return _id;
135 if (_c == QMetaObject::InvokeMetaMethod) {
136 if (_id < 1)
137 qt_static_metacall(this, _c, _id, _a);
138 _id -= 1;
139 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
140 if (_id < 1)
141 qt_static_metacall(this, _c, _id, _a);
142 _id -= 1;
143 }
144 return _id;
145}
146
147// SIGNAL 0
148void QDnsLookupRunnable::finished(const QDnsLookupReply & _t1)
149{
150 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
151 QMetaObject::activate(this, &staticMetaObject, 0, _a);
152}
153struct qt_meta_stringdata_QDnsLookupThreadPool_t {
154 const uint offsetsAndSize[6];
155 char stringdata0[46];
156};
157#define QT_MOC_LITERAL(ofs, len) \
158 uint(offsetof(qt_meta_stringdata_QDnsLookupThreadPool_t, stringdata0) + ofs), len
159static const qt_meta_stringdata_QDnsLookupThreadPool_t qt_meta_stringdata_QDnsLookupThreadPool = {
160 {
161QT_MOC_LITERAL(0, 20), // "QDnsLookupThreadPool"
162QT_MOC_LITERAL(21, 23), // "_q_applicationDestroyed"
163QT_MOC_LITERAL(45, 0) // ""
164
165 },
166 "QDnsLookupThreadPool\0_q_applicationDestroyed\0"
167 ""
168};
169#undef QT_MOC_LITERAL
170
171static const uint qt_meta_data_QDnsLookupThreadPool[] = {
172
173 // content:
174 9, // revision
175 0, // classname
176 0, 0, // classinfo
177 1, 14, // methods
178 0, 0, // properties
179 0, 0, // enums/sets
180 0, 0, // constructors
181 0, // flags
182 0, // signalCount
183
184 // slots: name, argc, parameters, tag, flags, initial metatype offsets
185 1, 0, 20, 2, 0x08, 0 /* Private */,
186
187 // slots: parameters
188 QMetaType::Void,
189
190 0 // eod
191};
192
193void QDnsLookupThreadPool::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
194{
195 if (_c == QMetaObject::InvokeMetaMethod) {
196 Q_ASSERT(staticMetaObject.cast(_o));
197 auto *_t = static_cast<QDnsLookupThreadPool *>(_o);
198 Q_UNUSED(_t)
199 switch (_id) {
200 case 0: _t->_q_applicationDestroyed(); break;
201 default: ;
202 }
203 }
204 Q_UNUSED(_a);
205}
206
207const QMetaObject QDnsLookupThreadPool::staticMetaObject = { {
208 QMetaObject::SuperData::link<QThreadPool::staticMetaObject>(),
209 qt_meta_stringdata_QDnsLookupThreadPool.offsetsAndSize,
210 qt_meta_data_QDnsLookupThreadPool,
211 qt_static_metacall,
212 nullptr,
213qt_incomplete_metaTypeArray<qt_meta_stringdata_QDnsLookupThreadPool_t
214
215, QtPrivate::TypeAndForceComplete<void, std::false_type>
216
217
218>,
219 nullptr
220} };
221
222
223const QMetaObject *QDnsLookupThreadPool::metaObject() const
224{
225 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
226}
227
228void *QDnsLookupThreadPool::qt_metacast(const char *_clname)
229{
230 if (!_clname) return nullptr;
231 if (!strcmp(_clname, qt_meta_stringdata_QDnsLookupThreadPool.stringdata0))
232 return static_cast<void*>(this);
233 return QThreadPool::qt_metacast(_clname);
234}
235
236int QDnsLookupThreadPool::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
237{
238 _id = QThreadPool::qt_metacall(_c, _id, _a);
239 if (_id < 0)
240 return _id;
241 if (_c == QMetaObject::InvokeMetaMethod) {
242 if (_id < 1)
243 qt_static_metacall(this, _c, _id, _a);
244 _id -= 1;
245 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
246 if (_id < 1)
247 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
248 _id -= 1;
249 }
250 return _id;
251}
252QT_WARNING_POP
253QT_END_MOC_NAMESPACE
254