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