1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qnetworkreply.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 "access/qnetworkreply.h" |
11 | #include <QtNetwork/QSslError> |
12 | #include <QtCore/qbytearray.h> |
13 | #include <QtCore/qmetatype.h> |
14 | #if !defined(Q_MOC_OUTPUT_REVISION) |
15 | #error "The header file 'qnetworkreply.h' doesn't include <QObject>." |
16 | #elif Q_MOC_OUTPUT_REVISION != 68 |
17 | #error "This file was generated using the moc from 6.0.0. It" |
18 | #error "cannot be used with the include files from this version of Qt." |
19 | #error "(The moc has changed too much.)" |
20 | #endif |
21 | |
22 | QT_BEGIN_MOC_NAMESPACE |
23 | QT_WARNING_PUSH |
24 | QT_WARNING_DISABLE_DEPRECATED |
25 | struct qt_meta_stringdata_QNetworkReply_t { |
26 | const uint offsetsAndSize[102]; |
27 | char stringdata0[980]; |
28 | }; |
29 | #define QT_MOC_LITERAL(ofs, len) \ |
30 | uint(offsetof(qt_meta_stringdata_QNetworkReply_t, stringdata0) + ofs), len |
31 | static const qt_meta_stringdata_QNetworkReply_t qt_meta_stringdata_QNetworkReply = { |
32 | { |
33 | QT_MOC_LITERAL(0, 13), // "QNetworkReply" |
34 | QT_MOC_LITERAL(14, 15), // "metaDataChanged" |
35 | QT_MOC_LITERAL(30, 0), // "" |
36 | QT_MOC_LITERAL(31, 8), // "finished" |
37 | QT_MOC_LITERAL(40, 13), // "errorOccurred" |
38 | QT_MOC_LITERAL(54, 27), // "QNetworkReply::NetworkError" |
39 | QT_MOC_LITERAL(82, 10), // "redirected" |
40 | QT_MOC_LITERAL(93, 3), // "url" |
41 | QT_MOC_LITERAL(97, 15), // "redirectAllowed" |
42 | QT_MOC_LITERAL(113, 14), // "uploadProgress" |
43 | QT_MOC_LITERAL(128, 9), // "bytesSent" |
44 | QT_MOC_LITERAL(138, 10), // "bytesTotal" |
45 | QT_MOC_LITERAL(149, 16), // "downloadProgress" |
46 | QT_MOC_LITERAL(166, 13), // "bytesReceived" |
47 | QT_MOC_LITERAL(180, 5), // "abort" |
48 | QT_MOC_LITERAL(186, 15), // "ignoreSslErrors" |
49 | QT_MOC_LITERAL(202, 12), // "NetworkError" |
50 | QT_MOC_LITERAL(215, 7), // "NoError" |
51 | QT_MOC_LITERAL(223, 22), // "ConnectionRefusedError" |
52 | QT_MOC_LITERAL(246, 21), // "RemoteHostClosedError" |
53 | QT_MOC_LITERAL(268, 17), // "HostNotFoundError" |
54 | QT_MOC_LITERAL(286, 12), // "TimeoutError" |
55 | QT_MOC_LITERAL(299, 22), // "OperationCanceledError" |
56 | QT_MOC_LITERAL(322, 23), // "SslHandshakeFailedError" |
57 | QT_MOC_LITERAL(346, 28), // "TemporaryNetworkFailureError" |
58 | QT_MOC_LITERAL(375, 25), // "NetworkSessionFailedError" |
59 | QT_MOC_LITERAL(401, 32), // "BackgroundRequestNotAllowedError" |
60 | QT_MOC_LITERAL(434, 21), // "TooManyRedirectsError" |
61 | QT_MOC_LITERAL(456, 21), // "InsecureRedirectError" |
62 | QT_MOC_LITERAL(478, 19), // "UnknownNetworkError" |
63 | QT_MOC_LITERAL(498, 27), // "ProxyConnectionRefusedError" |
64 | QT_MOC_LITERAL(526, 26), // "ProxyConnectionClosedError" |
65 | QT_MOC_LITERAL(553, 18), // "ProxyNotFoundError" |
66 | QT_MOC_LITERAL(572, 17), // "ProxyTimeoutError" |
67 | QT_MOC_LITERAL(590, 32), // "ProxyAuthenticationRequiredError" |
68 | QT_MOC_LITERAL(623, 17), // "UnknownProxyError" |
69 | QT_MOC_LITERAL(641, 19), // "ContentAccessDenied" |
70 | QT_MOC_LITERAL(661, 33), // "ContentOperationNotPermittedE..." |
71 | QT_MOC_LITERAL(695, 20), // "ContentNotFoundError" |
72 | QT_MOC_LITERAL(716, 27), // "AuthenticationRequiredError" |
73 | QT_MOC_LITERAL(744, 18), // "ContentReSendError" |
74 | QT_MOC_LITERAL(763, 20), // "ContentConflictError" |
75 | QT_MOC_LITERAL(784, 16), // "ContentGoneError" |
76 | QT_MOC_LITERAL(801, 19), // "UnknownContentError" |
77 | QT_MOC_LITERAL(821, 20), // "ProtocolUnknownError" |
78 | QT_MOC_LITERAL(842, 29), // "ProtocolInvalidOperationError" |
79 | QT_MOC_LITERAL(872, 15), // "ProtocolFailure" |
80 | QT_MOC_LITERAL(888, 19), // "InternalServerError" |
81 | QT_MOC_LITERAL(908, 28), // "OperationNotImplementedError" |
82 | QT_MOC_LITERAL(937, 23), // "ServiceUnavailableError" |
83 | QT_MOC_LITERAL(961, 18) // "UnknownServerError" |
84 | |
85 | }, |
86 | "QNetworkReply\0metaDataChanged\0\0finished\0" |
87 | "errorOccurred\0QNetworkReply::NetworkError\0" |
88 | "redirected\0url\0redirectAllowed\0" |
89 | "uploadProgress\0bytesSent\0bytesTotal\0" |
90 | "downloadProgress\0bytesReceived\0abort\0" |
91 | "ignoreSslErrors\0NetworkError\0NoError\0" |
92 | "ConnectionRefusedError\0RemoteHostClosedError\0" |
93 | "HostNotFoundError\0TimeoutError\0" |
94 | "OperationCanceledError\0SslHandshakeFailedError\0" |
95 | "TemporaryNetworkFailureError\0" |
96 | "NetworkSessionFailedError\0" |
97 | "BackgroundRequestNotAllowedError\0" |
98 | "TooManyRedirectsError\0InsecureRedirectError\0" |
99 | "UnknownNetworkError\0ProxyConnectionRefusedError\0" |
100 | "ProxyConnectionClosedError\0" |
101 | "ProxyNotFoundError\0ProxyTimeoutError\0" |
102 | "ProxyAuthenticationRequiredError\0" |
103 | "UnknownProxyError\0ContentAccessDenied\0" |
104 | "ContentOperationNotPermittedError\0" |
105 | "ContentNotFoundError\0AuthenticationRequiredError\0" |
106 | "ContentReSendError\0ContentConflictError\0" |
107 | "ContentGoneError\0UnknownContentError\0" |
108 | "ProtocolUnknownError\0ProtocolInvalidOperationError\0" |
109 | "ProtocolFailure\0InternalServerError\0" |
110 | "OperationNotImplementedError\0" |
111 | "ServiceUnavailableError\0UnknownServerError" |
112 | }; |
113 | #undef QT_MOC_LITERAL |
114 | |
115 | static const uint qt_meta_data_QNetworkReply[] = { |
116 | |
117 | // content: |
118 | 9, // revision |
119 | 0, // classname |
120 | 0, 0, // classinfo |
121 | 9, 14, // methods |
122 | 0, 0, // properties |
123 | 1, 89, // enums/sets |
124 | 0, 0, // constructors |
125 | 0, // flags |
126 | 7, // signalCount |
127 | |
128 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
129 | 1, 0, 68, 2, 0x06, 0 /* Public */, |
130 | 3, 0, 69, 2, 0x06, 1 /* Public */, |
131 | 4, 1, 70, 2, 0x06, 2 /* Public */, |
132 | 6, 1, 73, 2, 0x06, 4 /* Public */, |
133 | 8, 0, 76, 2, 0x06, 6 /* Public */, |
134 | 9, 2, 77, 2, 0x06, 7 /* Public */, |
135 | 12, 2, 82, 2, 0x06, 10 /* Public */, |
136 | |
137 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
138 | 14, 0, 87, 2, 0x0a, 13 /* Public */, |
139 | 15, 0, 88, 2, 0x0a, 14 /* Public */, |
140 | |
141 | // signals: parameters |
142 | QMetaType::Void, |
143 | QMetaType::Void, |
144 | QMetaType::Void, 0x80000000 | 5, 2, |
145 | QMetaType::Void, QMetaType::QUrl, 7, |
146 | QMetaType::Void, |
147 | QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong, 10, 11, |
148 | QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong, 13, 11, |
149 | |
150 | // slots: parameters |
151 | QMetaType::Void, |
152 | QMetaType::Void, |
153 | |
154 | // enums: name, alias, flags, count, data |
155 | 16, 16, 0x0, 34, 94, |
156 | |
157 | // enum data: key, value |
158 | 17, uint(QNetworkReply::NoError), |
159 | 18, uint(QNetworkReply::ConnectionRefusedError), |
160 | 19, uint(QNetworkReply::RemoteHostClosedError), |
161 | 20, uint(QNetworkReply::HostNotFoundError), |
162 | 21, uint(QNetworkReply::TimeoutError), |
163 | 22, uint(QNetworkReply::OperationCanceledError), |
164 | 23, uint(QNetworkReply::SslHandshakeFailedError), |
165 | 24, uint(QNetworkReply::TemporaryNetworkFailureError), |
166 | 25, uint(QNetworkReply::NetworkSessionFailedError), |
167 | 26, uint(QNetworkReply::BackgroundRequestNotAllowedError), |
168 | 27, uint(QNetworkReply::TooManyRedirectsError), |
169 | 28, uint(QNetworkReply::InsecureRedirectError), |
170 | 29, uint(QNetworkReply::UnknownNetworkError), |
171 | 30, uint(QNetworkReply::ProxyConnectionRefusedError), |
172 | 31, uint(QNetworkReply::ProxyConnectionClosedError), |
173 | 32, uint(QNetworkReply::ProxyNotFoundError), |
174 | 33, uint(QNetworkReply::ProxyTimeoutError), |
175 | 34, uint(QNetworkReply::ProxyAuthenticationRequiredError), |
176 | 35, uint(QNetworkReply::UnknownProxyError), |
177 | 36, uint(QNetworkReply::ContentAccessDenied), |
178 | 37, uint(QNetworkReply::ContentOperationNotPermittedError), |
179 | 38, uint(QNetworkReply::ContentNotFoundError), |
180 | 39, uint(QNetworkReply::AuthenticationRequiredError), |
181 | 40, uint(QNetworkReply::ContentReSendError), |
182 | 41, uint(QNetworkReply::ContentConflictError), |
183 | 42, uint(QNetworkReply::ContentGoneError), |
184 | 43, uint(QNetworkReply::UnknownContentError), |
185 | 44, uint(QNetworkReply::ProtocolUnknownError), |
186 | 45, uint(QNetworkReply::ProtocolInvalidOperationError), |
187 | 46, uint(QNetworkReply::ProtocolFailure), |
188 | 47, uint(QNetworkReply::InternalServerError), |
189 | 48, uint(QNetworkReply::OperationNotImplementedError), |
190 | 49, uint(QNetworkReply::ServiceUnavailableError), |
191 | 50, uint(QNetworkReply::UnknownServerError), |
192 | |
193 | 0 // eod |
194 | }; |
195 | |
196 | void QNetworkReply::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
197 | { |
198 | if (_c == QMetaObject::InvokeMetaMethod) { |
199 | Q_ASSERT(staticMetaObject.cast(_o)); |
200 | auto *_t = static_cast<QNetworkReply *>(_o); |
201 | Q_UNUSED(_t) |
202 | switch (_id) { |
203 | case 0: _t->metaDataChanged(); break; |
204 | case 1: _t->finished(); break; |
205 | case 2: _t->errorOccurred((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1]))); break; |
206 | case 3: _t->redirected((*reinterpret_cast< const QUrl(*)>(_a[1]))); break; |
207 | case 4: _t->redirectAllowed(); break; |
208 | case 5: _t->uploadProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break; |
209 | case 6: _t->downloadProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break; |
210 | case 7: _t->abort(); break; |
211 | case 8: _t->ignoreSslErrors(); break; |
212 | default: ; |
213 | } |
214 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
215 | switch (_id) { |
216 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
217 | case 2: |
218 | switch (*reinterpret_cast<int*>(_a[1])) { |
219 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
220 | case 0: |
221 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkReply::NetworkError >(); break; |
222 | } |
223 | break; |
224 | } |
225 | } else if (_c == QMetaObject::IndexOfMethod) { |
226 | int *result = reinterpret_cast<int *>(_a[0]); |
227 | { |
228 | using _t = void (QNetworkReply::*)(); |
229 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkReply::metaDataChanged)) { |
230 | *result = 0; |
231 | return; |
232 | } |
233 | } |
234 | { |
235 | using _t = void (QNetworkReply::*)(); |
236 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkReply::finished)) { |
237 | *result = 1; |
238 | return; |
239 | } |
240 | } |
241 | { |
242 | using _t = void (QNetworkReply::*)(QNetworkReply::NetworkError ); |
243 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkReply::errorOccurred)) { |
244 | *result = 2; |
245 | return; |
246 | } |
247 | } |
248 | { |
249 | using _t = void (QNetworkReply::*)(const QUrl & ); |
250 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkReply::redirected)) { |
251 | *result = 3; |
252 | return; |
253 | } |
254 | } |
255 | { |
256 | using _t = void (QNetworkReply::*)(); |
257 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkReply::redirectAllowed)) { |
258 | *result = 4; |
259 | return; |
260 | } |
261 | } |
262 | { |
263 | using _t = void (QNetworkReply::*)(qint64 , qint64 ); |
264 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkReply::uploadProgress)) { |
265 | *result = 5; |
266 | return; |
267 | } |
268 | } |
269 | { |
270 | using _t = void (QNetworkReply::*)(qint64 , qint64 ); |
271 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkReply::downloadProgress)) { |
272 | *result = 6; |
273 | return; |
274 | } |
275 | } |
276 | } |
277 | } |
278 | |
279 | const QMetaObject QNetworkReply::staticMetaObject = { { |
280 | QMetaObject::SuperData::link<QIODevice::staticMetaObject>(), |
281 | qt_meta_stringdata_QNetworkReply.offsetsAndSize, |
282 | qt_meta_data_QNetworkReply, |
283 | qt_static_metacall, |
284 | nullptr, |
285 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QNetworkReply_t |
286 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QNetworkReply::NetworkError, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qint64, std::false_type>, QtPrivate::TypeAndForceComplete<qint64, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qint64, std::false_type>, QtPrivate::TypeAndForceComplete<qint64, std::false_type> |
287 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
288 | |
289 | |
290 | >, |
291 | nullptr |
292 | } }; |
293 | |
294 | |
295 | const QMetaObject *QNetworkReply::metaObject() const |
296 | { |
297 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
298 | } |
299 | |
300 | void *QNetworkReply::qt_metacast(const char *_clname) |
301 | { |
302 | if (!_clname) return nullptr; |
303 | if (!strcmp(_clname, qt_meta_stringdata_QNetworkReply.stringdata0)) |
304 | return static_cast<void*>(this); |
305 | return QIODevice::qt_metacast(_clname); |
306 | } |
307 | |
308 | int QNetworkReply::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
309 | { |
310 | _id = QIODevice::qt_metacall(_c, _id, _a); |
311 | if (_id < 0) |
312 | return _id; |
313 | if (_c == QMetaObject::InvokeMetaMethod) { |
314 | if (_id < 9) |
315 | qt_static_metacall(this, _c, _id, _a); |
316 | _id -= 9; |
317 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
318 | if (_id < 9) |
319 | qt_static_metacall(this, _c, _id, _a); |
320 | _id -= 9; |
321 | } |
322 | return _id; |
323 | } |
324 | |
325 | // SIGNAL 0 |
326 | void QNetworkReply::metaDataChanged() |
327 | { |
328 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
329 | } |
330 | |
331 | // SIGNAL 1 |
332 | void QNetworkReply::finished() |
333 | { |
334 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); |
335 | } |
336 | |
337 | // SIGNAL 2 |
338 | void QNetworkReply::errorOccurred(QNetworkReply::NetworkError _t1) |
339 | { |
340 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
341 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
342 | } |
343 | |
344 | // SIGNAL 3 |
345 | void QNetworkReply::redirected(const QUrl & _t1) |
346 | { |
347 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
348 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
349 | } |
350 | |
351 | // SIGNAL 4 |
352 | void QNetworkReply::redirectAllowed() |
353 | { |
354 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); |
355 | } |
356 | |
357 | // SIGNAL 5 |
358 | void QNetworkReply::uploadProgress(qint64 _t1, qint64 _t2) |
359 | { |
360 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
361 | QMetaObject::activate(this, &staticMetaObject, 5, _a); |
362 | } |
363 | |
364 | // SIGNAL 6 |
365 | void QNetworkReply::downloadProgress(qint64 _t1, qint64 _t2) |
366 | { |
367 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
368 | QMetaObject::activate(this, &staticMetaObject, 6, _a); |
369 | } |
370 | QT_WARNING_POP |
371 | QT_END_MOC_NAMESPACE |
372 | |