| 1 | /**************************************************************************** |
| 2 | ** Meta object code from reading C++ file 'qdnslookup.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.h" |
| 11 | #include <QtCore/qbytearray.h> |
| 12 | #include <QtCore/qmetatype.h> |
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
| 14 | #error "The header file 'qdnslookup.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 | |
| 21 | QT_BEGIN_MOC_NAMESPACE |
| 22 | QT_WARNING_PUSH |
| 23 | QT_WARNING_DISABLE_DEPRECATED |
| 24 | struct qt_meta_stringdata_QDnsLookup_t { |
| 25 | const uint offsetsAndSize[72]; |
| 26 | char stringdata0[350]; |
| 27 | }; |
| 28 | #define QT_MOC_LITERAL(ofs, len) \ |
| 29 | uint(offsetof(qt_meta_stringdata_QDnsLookup_t, stringdata0) + ofs), len |
| 30 | static const qt_meta_stringdata_QDnsLookup_t qt_meta_stringdata_QDnsLookup = { |
| 31 | { |
| 32 | QT_MOC_LITERAL(0, 10), // "QDnsLookup" |
| 33 | QT_MOC_LITERAL(11, 8), // "finished" |
| 34 | QT_MOC_LITERAL(20, 0), // "" |
| 35 | QT_MOC_LITERAL(21, 11), // "nameChanged" |
| 36 | QT_MOC_LITERAL(33, 4), // "name" |
| 37 | QT_MOC_LITERAL(38, 11), // "typeChanged" |
| 38 | QT_MOC_LITERAL(50, 4), // "Type" |
| 39 | QT_MOC_LITERAL(55, 4), // "type" |
| 40 | QT_MOC_LITERAL(60, 17), // "nameserverChanged" |
| 41 | QT_MOC_LITERAL(78, 12), // "QHostAddress" |
| 42 | QT_MOC_LITERAL(91, 10), // "nameserver" |
| 43 | QT_MOC_LITERAL(102, 5), // "abort" |
| 44 | QT_MOC_LITERAL(108, 6), // "lookup" |
| 45 | QT_MOC_LITERAL(115, 17), // "_q_lookupFinished" |
| 46 | QT_MOC_LITERAL(133, 15), // "QDnsLookupReply" |
| 47 | QT_MOC_LITERAL(149, 5), // "reply" |
| 48 | QT_MOC_LITERAL(155, 5), // "error" |
| 49 | QT_MOC_LITERAL(161, 5), // "Error" |
| 50 | QT_MOC_LITERAL(167, 11), // "errorString" |
| 51 | QT_MOC_LITERAL(179, 7), // "NoError" |
| 52 | QT_MOC_LITERAL(187, 13), // "ResolverError" |
| 53 | QT_MOC_LITERAL(201, 23), // "OperationCancelledError" |
| 54 | QT_MOC_LITERAL(225, 19), // "InvalidRequestError" |
| 55 | QT_MOC_LITERAL(245, 17), // "InvalidReplyError" |
| 56 | QT_MOC_LITERAL(263, 18), // "ServerFailureError" |
| 57 | QT_MOC_LITERAL(282, 18), // "ServerRefusedError" |
| 58 | QT_MOC_LITERAL(301, 13), // "NotFoundError" |
| 59 | QT_MOC_LITERAL(315, 1), // "A" |
| 60 | QT_MOC_LITERAL(317, 4), // "AAAA" |
| 61 | QT_MOC_LITERAL(322, 3), // "ANY" |
| 62 | QT_MOC_LITERAL(326, 5), // "CNAME" |
| 63 | QT_MOC_LITERAL(332, 2), // "MX" |
| 64 | QT_MOC_LITERAL(335, 2), // "NS" |
| 65 | QT_MOC_LITERAL(338, 3), // "PTR" |
| 66 | QT_MOC_LITERAL(342, 3), // "SRV" |
| 67 | QT_MOC_LITERAL(346, 3) // "TXT" |
| 68 | |
| 69 | }, |
| 70 | "QDnsLookup\0finished\0\0nameChanged\0name\0" |
| 71 | "typeChanged\0Type\0type\0nameserverChanged\0" |
| 72 | "QHostAddress\0nameserver\0abort\0lookup\0" |
| 73 | "_q_lookupFinished\0QDnsLookupReply\0" |
| 74 | "reply\0error\0Error\0errorString\0NoError\0" |
| 75 | "ResolverError\0OperationCancelledError\0" |
| 76 | "InvalidRequestError\0InvalidReplyError\0" |
| 77 | "ServerFailureError\0ServerRefusedError\0" |
| 78 | "NotFoundError\0A\0AAAA\0ANY\0CNAME\0MX\0NS\0" |
| 79 | "PTR\0SRV\0TXT" |
| 80 | }; |
| 81 | #undef QT_MOC_LITERAL |
| 82 | |
| 83 | static const uint qt_meta_data_QDnsLookup[] = { |
| 84 | |
| 85 | // content: |
| 86 | 9, // revision |
| 87 | 0, // classname |
| 88 | 0, 0, // classinfo |
| 89 | 7, 14, // methods |
| 90 | 5, 71, // properties |
| 91 | 2, 96, // enums/sets |
| 92 | 0, 0, // constructors |
| 93 | 0, // flags |
| 94 | 4, // signalCount |
| 95 | |
| 96 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
| 97 | 1, 0, 56, 2, 0x06, 5 /* Public */, |
| 98 | 3, 1, 57, 2, 0x06, 6 /* Public */, |
| 99 | 5, 1, 60, 2, 0x06, 8 /* Public */, |
| 100 | 8, 1, 63, 2, 0x06, 10 /* Public */, |
| 101 | |
| 102 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
| 103 | 11, 0, 66, 2, 0x0a, 12 /* Public */, |
| 104 | 12, 0, 67, 2, 0x0a, 13 /* Public */, |
| 105 | 13, 1, 68, 2, 0x08, 14 /* Private */, |
| 106 | |
| 107 | // signals: parameters |
| 108 | QMetaType::Void, |
| 109 | QMetaType::Void, QMetaType::QString, 4, |
| 110 | QMetaType::Void, 0x80000000 | 6, 7, |
| 111 | QMetaType::Void, 0x80000000 | 9, 10, |
| 112 | |
| 113 | // slots: parameters |
| 114 | QMetaType::Void, |
| 115 | QMetaType::Void, |
| 116 | QMetaType::Void, 0x80000000 | 14, 15, |
| 117 | |
| 118 | // properties: name, type, flags |
| 119 | 16, 0x80000000 | 17, 0x00015009, uint(0), 0, |
| 120 | 18, QMetaType::QString, 0x00015001, uint(0), 0, |
| 121 | 4, QMetaType::QString, 0x00015103, uint(1), 0, |
| 122 | 7, 0x80000000 | 6, 0x0001510b, uint(2), 0, |
| 123 | 10, 0x80000000 | 9, 0x0001510b, uint(3), 0, |
| 124 | |
| 125 | // enums: name, alias, flags, count, data |
| 126 | 17, 17, 0x0, 8, 106, |
| 127 | 6, 6, 0x0, 9, 122, |
| 128 | |
| 129 | // enum data: key, value |
| 130 | 19, uint(QDnsLookup::NoError), |
| 131 | 20, uint(QDnsLookup::ResolverError), |
| 132 | 21, uint(QDnsLookup::OperationCancelledError), |
| 133 | 22, uint(QDnsLookup::InvalidRequestError), |
| 134 | 23, uint(QDnsLookup::InvalidReplyError), |
| 135 | 24, uint(QDnsLookup::ServerFailureError), |
| 136 | 25, uint(QDnsLookup::ServerRefusedError), |
| 137 | 26, uint(QDnsLookup::NotFoundError), |
| 138 | 27, uint(QDnsLookup::A), |
| 139 | 28, uint(QDnsLookup::AAAA), |
| 140 | 29, uint(QDnsLookup::ANY), |
| 141 | 30, uint(QDnsLookup::CNAME), |
| 142 | 31, uint(QDnsLookup::MX), |
| 143 | 32, uint(QDnsLookup::NS), |
| 144 | 33, uint(QDnsLookup::PTR), |
| 145 | 34, uint(QDnsLookup::SRV), |
| 146 | 35, uint(QDnsLookup::TXT), |
| 147 | |
| 148 | 0 // eod |
| 149 | }; |
| 150 | |
| 151 | void QDnsLookup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 152 | { |
| 153 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 154 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 155 | auto *_t = static_cast<QDnsLookup *>(_o); |
| 156 | Q_UNUSED(_t) |
| 157 | switch (_id) { |
| 158 | case 0: _t->finished(); break; |
| 159 | case 1: _t->nameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 160 | case 2: _t->typeChanged((*reinterpret_cast< Type(*)>(_a[1]))); break; |
| 161 | case 3: _t->nameserverChanged((*reinterpret_cast< const QHostAddress(*)>(_a[1]))); break; |
| 162 | case 4: _t->abort(); break; |
| 163 | case 5: _t->lookup(); break; |
| 164 | case 6: _t->d_func()->_q_lookupFinished((*reinterpret_cast< const QDnsLookupReply(*)>(_a[1]))); break; |
| 165 | default: ; |
| 166 | } |
| 167 | } else if (_c == QMetaObject::IndexOfMethod) { |
| 168 | int *result = reinterpret_cast<int *>(_a[0]); |
| 169 | { |
| 170 | using _t = void (QDnsLookup::*)(); |
| 171 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDnsLookup::finished)) { |
| 172 | *result = 0; |
| 173 | return; |
| 174 | } |
| 175 | } |
| 176 | { |
| 177 | using _t = void (QDnsLookup::*)(const QString & ); |
| 178 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDnsLookup::nameChanged)) { |
| 179 | *result = 1; |
| 180 | return; |
| 181 | } |
| 182 | } |
| 183 | { |
| 184 | using _t = void (QDnsLookup::*)(Type ); |
| 185 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDnsLookup::typeChanged)) { |
| 186 | *result = 2; |
| 187 | return; |
| 188 | } |
| 189 | } |
| 190 | { |
| 191 | using _t = void (QDnsLookup::*)(const QHostAddress & ); |
| 192 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDnsLookup::nameserverChanged)) { |
| 193 | *result = 3; |
| 194 | return; |
| 195 | } |
| 196 | } |
| 197 | } |
| 198 | #ifndef QT_NO_PROPERTIES |
| 199 | else if (_c == QMetaObject::ReadProperty) { |
| 200 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 201 | auto *_t = static_cast<QDnsLookup *>(_o); |
| 202 | Q_UNUSED(_t) |
| 203 | void *_v = _a[0]; |
| 204 | switch (_id) { |
| 205 | case 0: *reinterpret_cast< Error*>(_v) = _t->error(); break; |
| 206 | case 1: *reinterpret_cast< QString*>(_v) = _t->errorString(); break; |
| 207 | case 2: *reinterpret_cast< QString*>(_v) = _t->name(); break; |
| 208 | case 3: *reinterpret_cast< Type*>(_v) = _t->type(); break; |
| 209 | case 4: *reinterpret_cast< QHostAddress*>(_v) = _t->nameserver(); break; |
| 210 | default: break; |
| 211 | } |
| 212 | } else if (_c == QMetaObject::WriteProperty) { |
| 213 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 214 | auto *_t = static_cast<QDnsLookup *>(_o); |
| 215 | Q_UNUSED(_t) |
| 216 | void *_v = _a[0]; |
| 217 | switch (_id) { |
| 218 | case 2: _t->setName(*reinterpret_cast< QString*>(_v)); break; |
| 219 | case 3: _t->setType(*reinterpret_cast< Type*>(_v)); break; |
| 220 | case 4: _t->setNameserver(*reinterpret_cast< QHostAddress*>(_v)); break; |
| 221 | default: break; |
| 222 | } |
| 223 | } else if (_c == QMetaObject::ResetProperty) { |
| 224 | } else if (_c == QMetaObject::BindableProperty) { |
| 225 | } |
| 226 | #endif // QT_NO_PROPERTIES |
| 227 | } |
| 228 | |
| 229 | const QMetaObject QDnsLookup::staticMetaObject = { { |
| 230 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
| 231 | qt_meta_stringdata_QDnsLookup.offsetsAndSize, |
| 232 | qt_meta_data_QDnsLookup, |
| 233 | qt_static_metacall, |
| 234 | nullptr, |
| 235 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QDnsLookup_t |
| 236 | , QtPrivate::TypeAndForceComplete<Error, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<Type, std::true_type>, QtPrivate::TypeAndForceComplete<QHostAddress, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<Type, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QHostAddress &, std::false_type> |
| 237 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QDnsLookupReply &, std::false_type> |
| 238 | |
| 239 | |
| 240 | >, |
| 241 | nullptr |
| 242 | } }; |
| 243 | |
| 244 | |
| 245 | const QMetaObject *QDnsLookup::metaObject() const |
| 246 | { |
| 247 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 248 | } |
| 249 | |
| 250 | void *QDnsLookup::qt_metacast(const char *_clname) |
| 251 | { |
| 252 | if (!_clname) return nullptr; |
| 253 | if (!strcmp(_clname, qt_meta_stringdata_QDnsLookup.stringdata0)) |
| 254 | return static_cast<void*>(this); |
| 255 | return QObject::qt_metacast(_clname); |
| 256 | } |
| 257 | |
| 258 | int QDnsLookup::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 259 | { |
| 260 | _id = QObject::qt_metacall(_c, _id, _a); |
| 261 | if (_id < 0) |
| 262 | return _id; |
| 263 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 264 | if (_id < 7) |
| 265 | qt_static_metacall(this, _c, _id, _a); |
| 266 | _id -= 7; |
| 267 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 268 | if (_id < 7) |
| 269 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
| 270 | _id -= 7; |
| 271 | } |
| 272 | #ifndef QT_NO_PROPERTIES |
| 273 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
| 274 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
| 275 | || _c == QMetaObject::RegisterPropertyMetaType) { |
| 276 | qt_static_metacall(this, _c, _id, _a); |
| 277 | _id -= 5; |
| 278 | } |
| 279 | #endif // QT_NO_PROPERTIES |
| 280 | return _id; |
| 281 | } |
| 282 | |
| 283 | // SIGNAL 0 |
| 284 | void QDnsLookup::finished() |
| 285 | { |
| 286 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
| 287 | } |
| 288 | |
| 289 | // SIGNAL 1 |
| 290 | void QDnsLookup::nameChanged(const QString & _t1) |
| 291 | { |
| 292 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 293 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
| 294 | } |
| 295 | |
| 296 | // SIGNAL 2 |
| 297 | void QDnsLookup::typeChanged(Type _t1) |
| 298 | { |
| 299 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 300 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
| 301 | } |
| 302 | |
| 303 | // SIGNAL 3 |
| 304 | void QDnsLookup::nameserverChanged(const QHostAddress & _t1) |
| 305 | { |
| 306 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 307 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
| 308 | } |
| 309 | QT_WARNING_POP |
| 310 | QT_END_MOC_NAMESPACE |
| 311 | |