| 1 | /**************************************************************************** |
| 2 | ** Meta object code from reading C++ file 'qhttpthreaddelegate_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/qhttpthreaddelegate_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 | #include <QtCore/QSharedPointer> |
| 17 | #include <QtCore/QList> |
| 18 | #if !defined(Q_MOC_OUTPUT_REVISION) |
| 19 | #error "The header file 'qhttpthreaddelegate_p.h' doesn't include <QObject>." |
| 20 | #elif Q_MOC_OUTPUT_REVISION != 68 |
| 21 | #error "This file was generated using the moc from 6.0.0. It" |
| 22 | #error "cannot be used with the include files from this version of Qt." |
| 23 | #error "(The moc has changed too much.)" |
| 24 | #endif |
| 25 | |
| 26 | QT_BEGIN_MOC_NAMESPACE |
| 27 | QT_WARNING_PUSH |
| 28 | QT_WARNING_DISABLE_DEPRECATED |
| 29 | struct qt_meta_stringdata_QHttpThreadDelegate_t { |
| 30 | const uint offsetsAndSize[84]; |
| 31 | char stringdata0[749]; |
| 32 | }; |
| 33 | #define QT_MOC_LITERAL(ofs, len) \ |
| 34 | uint(offsetof(qt_meta_stringdata_QHttpThreadDelegate_t, stringdata0) + ofs), len |
| 35 | static const qt_meta_stringdata_QHttpThreadDelegate_t qt_meta_stringdata_QHttpThreadDelegate = { |
| 36 | { |
| 37 | QT_MOC_LITERAL(0, 19), // "QHttpThreadDelegate" |
| 38 | QT_MOC_LITERAL(20, 22), // "authenticationRequired" |
| 39 | QT_MOC_LITERAL(43, 0), // "" |
| 40 | QT_MOC_LITERAL(44, 19), // "QHttpNetworkRequest" |
| 41 | QT_MOC_LITERAL(64, 7), // "request" |
| 42 | QT_MOC_LITERAL(72, 15), // "QAuthenticator*" |
| 43 | QT_MOC_LITERAL(88, 27), // "proxyAuthenticationRequired" |
| 44 | QT_MOC_LITERAL(116, 13), // "QNetworkProxy" |
| 45 | QT_MOC_LITERAL(130, 16), // "downloadMetaData" |
| 46 | QT_MOC_LITERAL(147, 39), // "QList<std::pair<QByteArray,QB..." |
| 47 | QT_MOC_LITERAL(187, 20), // "QSharedPointer<char>" |
| 48 | QT_MOC_LITERAL(208, 16), // "downloadProgress" |
| 49 | QT_MOC_LITERAL(225, 12), // "downloadData" |
| 50 | QT_MOC_LITERAL(238, 5), // "error" |
| 51 | QT_MOC_LITERAL(244, 27), // "QNetworkReply::NetworkError" |
| 52 | QT_MOC_LITERAL(272, 16), // "downloadFinished" |
| 53 | QT_MOC_LITERAL(289, 10), // "redirected" |
| 54 | QT_MOC_LITERAL(300, 3), // "url" |
| 55 | QT_MOC_LITERAL(304, 10), // "httpStatus" |
| 56 | QT_MOC_LITERAL(315, 20), // "maxRedirectsRemainig" |
| 57 | QT_MOC_LITERAL(336, 12), // "startRequest" |
| 58 | QT_MOC_LITERAL(349, 12), // "abortRequest" |
| 59 | QT_MOC_LITERAL(362, 21), // "readBufferSizeChanged" |
| 60 | QT_MOC_LITERAL(384, 4), // "size" |
| 61 | QT_MOC_LITERAL(389, 15), // "readBufferFreed" |
| 62 | QT_MOC_LITERAL(405, 25), // "startRequestSynchronously" |
| 63 | QT_MOC_LITERAL(431, 13), // "readyReadSlot" |
| 64 | QT_MOC_LITERAL(445, 12), // "finishedSlot" |
| 65 | QT_MOC_LITERAL(458, 21), // "finishedWithErrorSlot" |
| 66 | QT_MOC_LITERAL(480, 9), // "errorCode" |
| 67 | QT_MOC_LITERAL(490, 6), // "detail" |
| 68 | QT_MOC_LITERAL(497, 23), // "synchronousFinishedSlot" |
| 69 | QT_MOC_LITERAL(521, 32), // "synchronousFinishedWithErrorSlot" |
| 70 | QT_MOC_LITERAL(554, 17), // "headerChangedSlot" |
| 71 | QT_MOC_LITERAL(572, 28), // "synchronousHeaderChangedSlot" |
| 72 | QT_MOC_LITERAL(601, 20), // "dataReadProgressSlot" |
| 73 | QT_MOC_LITERAL(622, 4), // "done" |
| 74 | QT_MOC_LITERAL(627, 5), // "total" |
| 75 | QT_MOC_LITERAL(633, 20), // "cacheCredentialsSlot" |
| 76 | QT_MOC_LITERAL(654, 13), // "authenticator" |
| 77 | QT_MOC_LITERAL(668, 37), // "synchronousAuthenticationRequ..." |
| 78 | QT_MOC_LITERAL(706, 42) // "synchronousProxyAuthenticatio..." |
| 79 | |
| 80 | }, |
| 81 | "QHttpThreadDelegate\0authenticationRequired\0" |
| 82 | "\0QHttpNetworkRequest\0request\0" |
| 83 | "QAuthenticator*\0proxyAuthenticationRequired\0" |
| 84 | "QNetworkProxy\0downloadMetaData\0" |
| 85 | "QList<std::pair<QByteArray,QByteArray>>\0" |
| 86 | "QSharedPointer<char>\0downloadProgress\0" |
| 87 | "downloadData\0error\0QNetworkReply::NetworkError\0" |
| 88 | "downloadFinished\0redirected\0url\0" |
| 89 | "httpStatus\0maxRedirectsRemainig\0" |
| 90 | "startRequest\0abortRequest\0" |
| 91 | "readBufferSizeChanged\0size\0readBufferFreed\0" |
| 92 | "startRequestSynchronously\0readyReadSlot\0" |
| 93 | "finishedSlot\0finishedWithErrorSlot\0" |
| 94 | "errorCode\0detail\0synchronousFinishedSlot\0" |
| 95 | "synchronousFinishedWithErrorSlot\0" |
| 96 | "headerChangedSlot\0synchronousHeaderChangedSlot\0" |
| 97 | "dataReadProgressSlot\0done\0total\0" |
| 98 | "cacheCredentialsSlot\0authenticator\0" |
| 99 | "synchronousAuthenticationRequiredSlot\0" |
| 100 | "synchronousProxyAuthenticationRequiredSlot" |
| 101 | }; |
| 102 | #undef QT_MOC_LITERAL |
| 103 | |
| 104 | static const uint qt_meta_data_QHttpThreadDelegate[] = { |
| 105 | |
| 106 | // content: |
| 107 | 9, // revision |
| 108 | 0, // classname |
| 109 | 0, 0, // classinfo |
| 110 | 26, 14, // methods |
| 111 | 0, 0, // properties |
| 112 | 0, 0, // enums/sets |
| 113 | 0, 0, // constructors |
| 114 | 0, // flags |
| 115 | 8, // signalCount |
| 116 | |
| 117 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
| 118 | 1, 2, 170, 2, 0x06, 0 /* Public */, |
| 119 | 6, 2, 175, 2, 0x06, 3 /* Public */, |
| 120 | 8, 8, 180, 2, 0x06, 6 /* Public */, |
| 121 | 11, 2, 197, 2, 0x06, 15 /* Public */, |
| 122 | 12, 1, 202, 2, 0x06, 18 /* Public */, |
| 123 | 13, 2, 205, 2, 0x06, 20 /* Public */, |
| 124 | 15, 0, 210, 2, 0x06, 23 /* Public */, |
| 125 | 16, 3, 211, 2, 0x06, 24 /* Public */, |
| 126 | |
| 127 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
| 128 | 20, 0, 218, 2, 0x0a, 28 /* Public */, |
| 129 | 21, 0, 219, 2, 0x0a, 29 /* Public */, |
| 130 | 22, 1, 220, 2, 0x0a, 30 /* Public */, |
| 131 | 24, 1, 223, 2, 0x0a, 32 /* Public */, |
| 132 | 25, 0, 226, 2, 0x0a, 34 /* Public */, |
| 133 | 26, 0, 227, 2, 0x09, 35 /* Protected */, |
| 134 | 27, 0, 228, 2, 0x09, 36 /* Protected */, |
| 135 | 28, 2, 229, 2, 0x09, 37 /* Protected */, |
| 136 | 28, 1, 234, 2, 0x29, 40 /* Protected | MethodCloned */, |
| 137 | 31, 0, 237, 2, 0x09, 42 /* Protected */, |
| 138 | 32, 2, 238, 2, 0x09, 43 /* Protected */, |
| 139 | 32, 1, 243, 2, 0x29, 46 /* Protected | MethodCloned */, |
| 140 | 33, 0, 246, 2, 0x09, 48 /* Protected */, |
| 141 | 34, 0, 247, 2, 0x09, 49 /* Protected */, |
| 142 | 35, 2, 248, 2, 0x09, 50 /* Protected */, |
| 143 | 38, 2, 253, 2, 0x09, 53 /* Protected */, |
| 144 | 40, 2, 258, 2, 0x09, 56 /* Protected */, |
| 145 | 41, 2, 263, 2, 0x09, 59 /* Protected */, |
| 146 | |
| 147 | // signals: parameters |
| 148 | QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 4, 2, |
| 149 | QMetaType::Void, 0x80000000 | 7, 0x80000000 | 5, 2, 2, |
| 150 | QMetaType::Void, 0x80000000 | 9, QMetaType::Int, QMetaType::QString, QMetaType::Bool, 0x80000000 | 10, QMetaType::LongLong, QMetaType::LongLong, QMetaType::Bool, 2, 2, 2, 2, 2, 2, 2, 2, |
| 151 | QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong, 2, 2, |
| 152 | QMetaType::Void, QMetaType::QByteArray, 2, |
| 153 | QMetaType::Void, 0x80000000 | 14, QMetaType::QString, 2, 2, |
| 154 | QMetaType::Void, |
| 155 | QMetaType::Void, QMetaType::QUrl, QMetaType::Int, QMetaType::Int, 17, 18, 19, |
| 156 | |
| 157 | // slots: parameters |
| 158 | QMetaType::Void, |
| 159 | QMetaType::Void, |
| 160 | QMetaType::Void, QMetaType::LongLong, 23, |
| 161 | QMetaType::Void, QMetaType::LongLong, 23, |
| 162 | QMetaType::Void, |
| 163 | QMetaType::Void, |
| 164 | QMetaType::Void, |
| 165 | QMetaType::Void, 0x80000000 | 14, QMetaType::QString, 29, 30, |
| 166 | QMetaType::Void, 0x80000000 | 14, 29, |
| 167 | QMetaType::Void, |
| 168 | QMetaType::Void, 0x80000000 | 14, QMetaType::QString, 29, 30, |
| 169 | QMetaType::Void, 0x80000000 | 14, 29, |
| 170 | QMetaType::Void, |
| 171 | QMetaType::Void, |
| 172 | QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong, 36, 37, |
| 173 | QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 4, 39, |
| 174 | QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 4, 2, |
| 175 | QMetaType::Void, 0x80000000 | 7, 0x80000000 | 5, 2, 2, |
| 176 | |
| 177 | 0 // eod |
| 178 | }; |
| 179 | |
| 180 | void QHttpThreadDelegate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 181 | { |
| 182 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 183 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 184 | auto *_t = static_cast<QHttpThreadDelegate *>(_o); |
| 185 | Q_UNUSED(_t) |
| 186 | switch (_id) { |
| 187 | case 0: _t->authenticationRequired((*reinterpret_cast< const QHttpNetworkRequest(*)>(_a[1])),(*reinterpret_cast< QAuthenticator*(*)>(_a[2]))); break; |
| 188 | case 1: _t->proxyAuthenticationRequired((*reinterpret_cast< const QNetworkProxy(*)>(_a[1])),(*reinterpret_cast< QAuthenticator*(*)>(_a[2]))); break; |
| 189 | case 2: _t->downloadMetaData((*reinterpret_cast< const QList<std::pair<QByteArray,QByteArray>>(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])),(*reinterpret_cast< QSharedPointer<char>(*)>(_a[5])),(*reinterpret_cast< qint64(*)>(_a[6])),(*reinterpret_cast< qint64(*)>(_a[7])),(*reinterpret_cast< bool(*)>(_a[8]))); break; |
| 190 | case 3: _t->downloadProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break; |
| 191 | case 4: _t->downloadData((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; |
| 192 | case 5: _t->error((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; |
| 193 | case 6: _t->downloadFinished(); break; |
| 194 | case 7: _t->redirected((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
| 195 | case 8: _t->startRequest(); break; |
| 196 | case 9: _t->abortRequest(); break; |
| 197 | case 10: _t->readBufferSizeChanged((*reinterpret_cast< qint64(*)>(_a[1]))); break; |
| 198 | case 11: _t->readBufferFreed((*reinterpret_cast< qint64(*)>(_a[1]))); break; |
| 199 | case 12: _t->startRequestSynchronously(); break; |
| 200 | case 13: _t->readyReadSlot(); break; |
| 201 | case 14: _t->finishedSlot(); break; |
| 202 | case 15: _t->finishedWithErrorSlot((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; |
| 203 | case 16: _t->finishedWithErrorSlot((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1]))); break; |
| 204 | case 17: _t->synchronousFinishedSlot(); break; |
| 205 | case 18: _t->synchronousFinishedWithErrorSlot((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; |
| 206 | case 19: _t->synchronousFinishedWithErrorSlot((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1]))); break; |
| 207 | case 20: _t->headerChangedSlot(); break; |
| 208 | case 21: _t->synchronousHeaderChangedSlot(); break; |
| 209 | case 22: _t->dataReadProgressSlot((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break; |
| 210 | case 23: _t->cacheCredentialsSlot((*reinterpret_cast< const QHttpNetworkRequest(*)>(_a[1])),(*reinterpret_cast< QAuthenticator*(*)>(_a[2]))); break; |
| 211 | case 24: _t->synchronousAuthenticationRequiredSlot((*reinterpret_cast< const QHttpNetworkRequest(*)>(_a[1])),(*reinterpret_cast< QAuthenticator*(*)>(_a[2]))); break; |
| 212 | case 25: _t->synchronousProxyAuthenticationRequiredSlot((*reinterpret_cast< const QNetworkProxy(*)>(_a[1])),(*reinterpret_cast< QAuthenticator*(*)>(_a[2]))); break; |
| 213 | default: ; |
| 214 | } |
| 215 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 216 | switch (_id) { |
| 217 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 218 | case 0: |
| 219 | switch (*reinterpret_cast<int*>(_a[1])) { |
| 220 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 221 | case 0: |
| 222 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QHttpNetworkRequest >(); break; |
| 223 | } |
| 224 | break; |
| 225 | case 1: |
| 226 | switch (*reinterpret_cast<int*>(_a[1])) { |
| 227 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 228 | case 0: |
| 229 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkProxy >(); break; |
| 230 | } |
| 231 | break; |
| 232 | case 5: |
| 233 | switch (*reinterpret_cast<int*>(_a[1])) { |
| 234 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 235 | case 0: |
| 236 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkReply::NetworkError >(); break; |
| 237 | } |
| 238 | break; |
| 239 | case 15: |
| 240 | switch (*reinterpret_cast<int*>(_a[1])) { |
| 241 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 242 | case 0: |
| 243 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkReply::NetworkError >(); break; |
| 244 | } |
| 245 | break; |
| 246 | case 16: |
| 247 | switch (*reinterpret_cast<int*>(_a[1])) { |
| 248 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 249 | case 0: |
| 250 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkReply::NetworkError >(); break; |
| 251 | } |
| 252 | break; |
| 253 | case 18: |
| 254 | switch (*reinterpret_cast<int*>(_a[1])) { |
| 255 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 256 | case 0: |
| 257 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkReply::NetworkError >(); break; |
| 258 | } |
| 259 | break; |
| 260 | case 19: |
| 261 | switch (*reinterpret_cast<int*>(_a[1])) { |
| 262 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 263 | case 0: |
| 264 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkReply::NetworkError >(); break; |
| 265 | } |
| 266 | break; |
| 267 | case 23: |
| 268 | switch (*reinterpret_cast<int*>(_a[1])) { |
| 269 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 270 | case 0: |
| 271 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QHttpNetworkRequest >(); break; |
| 272 | } |
| 273 | break; |
| 274 | case 24: |
| 275 | switch (*reinterpret_cast<int*>(_a[1])) { |
| 276 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 277 | case 0: |
| 278 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QHttpNetworkRequest >(); break; |
| 279 | } |
| 280 | break; |
| 281 | case 25: |
| 282 | switch (*reinterpret_cast<int*>(_a[1])) { |
| 283 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 284 | case 0: |
| 285 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkProxy >(); break; |
| 286 | } |
| 287 | break; |
| 288 | } |
| 289 | } else if (_c == QMetaObject::IndexOfMethod) { |
| 290 | int *result = reinterpret_cast<int *>(_a[0]); |
| 291 | { |
| 292 | using _t = void (QHttpThreadDelegate::*)(const QHttpNetworkRequest & , QAuthenticator * ); |
| 293 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHttpThreadDelegate::authenticationRequired)) { |
| 294 | *result = 0; |
| 295 | return; |
| 296 | } |
| 297 | } |
| 298 | { |
| 299 | using _t = void (QHttpThreadDelegate::*)(const QNetworkProxy & , QAuthenticator * ); |
| 300 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHttpThreadDelegate::proxyAuthenticationRequired)) { |
| 301 | *result = 1; |
| 302 | return; |
| 303 | } |
| 304 | } |
| 305 | { |
| 306 | using _t = void (QHttpThreadDelegate::*)(const QList<QPair<QByteArray,QByteArray> > & , int , const QString & , bool , QSharedPointer<char> , qint64 , qint64 , bool ); |
| 307 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHttpThreadDelegate::downloadMetaData)) { |
| 308 | *result = 2; |
| 309 | return; |
| 310 | } |
| 311 | } |
| 312 | { |
| 313 | using _t = void (QHttpThreadDelegate::*)(qint64 , qint64 ); |
| 314 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHttpThreadDelegate::downloadProgress)) { |
| 315 | *result = 3; |
| 316 | return; |
| 317 | } |
| 318 | } |
| 319 | { |
| 320 | using _t = void (QHttpThreadDelegate::*)(const QByteArray & ); |
| 321 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHttpThreadDelegate::downloadData)) { |
| 322 | *result = 4; |
| 323 | return; |
| 324 | } |
| 325 | } |
| 326 | { |
| 327 | using _t = void (QHttpThreadDelegate::*)(QNetworkReply::NetworkError , const QString & ); |
| 328 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHttpThreadDelegate::error)) { |
| 329 | *result = 5; |
| 330 | return; |
| 331 | } |
| 332 | } |
| 333 | { |
| 334 | using _t = void (QHttpThreadDelegate::*)(); |
| 335 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHttpThreadDelegate::downloadFinished)) { |
| 336 | *result = 6; |
| 337 | return; |
| 338 | } |
| 339 | } |
| 340 | { |
| 341 | using _t = void (QHttpThreadDelegate::*)(const QUrl & , int , int ); |
| 342 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHttpThreadDelegate::redirected)) { |
| 343 | *result = 7; |
| 344 | return; |
| 345 | } |
| 346 | } |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | const QMetaObject QHttpThreadDelegate::staticMetaObject = { { |
| 351 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
| 352 | qt_meta_stringdata_QHttpThreadDelegate.offsetsAndSize, |
| 353 | qt_meta_data_QHttpThreadDelegate, |
| 354 | qt_static_metacall, |
| 355 | nullptr, |
| 356 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QHttpThreadDelegate_t |
| 357 | , 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 QList<QPair<QByteArray,QByteArray> > &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<QSharedPointer<char>, std::false_type>, QtPrivate::TypeAndForceComplete<qint64, std::false_type>, QtPrivate::TypeAndForceComplete<qint64, std::false_type>, QtPrivate::TypeAndForceComplete<bool, 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 QByteArray &, 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<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> |
| 358 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qint64, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qint64, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, 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<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<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 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> |
| 359 | |
| 360 | |
| 361 | >, |
| 362 | nullptr |
| 363 | } }; |
| 364 | |
| 365 | |
| 366 | const QMetaObject *QHttpThreadDelegate::metaObject() const |
| 367 | { |
| 368 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 369 | } |
| 370 | |
| 371 | void *QHttpThreadDelegate::qt_metacast(const char *_clname) |
| 372 | { |
| 373 | if (!_clname) return nullptr; |
| 374 | if (!strcmp(_clname, qt_meta_stringdata_QHttpThreadDelegate.stringdata0)) |
| 375 | return static_cast<void*>(this); |
| 376 | return QObject::qt_metacast(_clname); |
| 377 | } |
| 378 | |
| 379 | int QHttpThreadDelegate::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 380 | { |
| 381 | _id = QObject::qt_metacall(_c, _id, _a); |
| 382 | if (_id < 0) |
| 383 | return _id; |
| 384 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 385 | if (_id < 26) |
| 386 | qt_static_metacall(this, _c, _id, _a); |
| 387 | _id -= 26; |
| 388 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 389 | if (_id < 26) |
| 390 | qt_static_metacall(this, _c, _id, _a); |
| 391 | _id -= 26; |
| 392 | } |
| 393 | return _id; |
| 394 | } |
| 395 | |
| 396 | // SIGNAL 0 |
| 397 | void QHttpThreadDelegate::authenticationRequired(const QHttpNetworkRequest & _t1, QAuthenticator * _t2) |
| 398 | { |
| 399 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
| 400 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
| 401 | } |
| 402 | |
| 403 | // SIGNAL 1 |
| 404 | void QHttpThreadDelegate::proxyAuthenticationRequired(const QNetworkProxy & _t1, QAuthenticator * _t2) |
| 405 | { |
| 406 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
| 407 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
| 408 | } |
| 409 | |
| 410 | // SIGNAL 2 |
| 411 | void QHttpThreadDelegate::downloadMetaData(const QList<QPair<QByteArray,QByteArray> > & _t1, int _t2, const QString & _t3, bool _t4, QSharedPointer<char> _t5, qint64 _t6, qint64 _t7, bool _t8) |
| 412 | { |
| 413 | 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))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t5))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t6))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t7))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t8))) }; |
| 414 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
| 415 | } |
| 416 | |
| 417 | // SIGNAL 3 |
| 418 | void QHttpThreadDelegate::downloadProgress(qint64 _t1, qint64 _t2) |
| 419 | { |
| 420 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
| 421 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
| 422 | } |
| 423 | |
| 424 | // SIGNAL 4 |
| 425 | void QHttpThreadDelegate::downloadData(const QByteArray & _t1) |
| 426 | { |
| 427 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 428 | QMetaObject::activate(this, &staticMetaObject, 4, _a); |
| 429 | } |
| 430 | |
| 431 | // SIGNAL 5 |
| 432 | void QHttpThreadDelegate::error(QNetworkReply::NetworkError _t1, const QString & _t2) |
| 433 | { |
| 434 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
| 435 | QMetaObject::activate(this, &staticMetaObject, 5, _a); |
| 436 | } |
| 437 | |
| 438 | // SIGNAL 6 |
| 439 | void QHttpThreadDelegate::downloadFinished() |
| 440 | { |
| 441 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); |
| 442 | } |
| 443 | |
| 444 | // SIGNAL 7 |
| 445 | void QHttpThreadDelegate::redirected(const QUrl & _t1, int _t2, int _t3) |
| 446 | { |
| 447 | 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))) }; |
| 448 | QMetaObject::activate(this, &staticMetaObject, 7, _a); |
| 449 | } |
| 450 | struct qt_meta_stringdata_QNonContiguousByteDeviceThreadForwardImpl_t { |
| 451 | const uint offsetsAndSize[26]; |
| 452 | char stringdata0[137]; |
| 453 | }; |
| 454 | #define QT_MOC_LITERAL(ofs, len) \ |
| 455 | uint(offsetof(qt_meta_stringdata_QNonContiguousByteDeviceThreadForwardImpl_t, stringdata0) + ofs), len |
| 456 | static const qt_meta_stringdata_QNonContiguousByteDeviceThreadForwardImpl_t qt_meta_stringdata_QNonContiguousByteDeviceThreadForwardImpl = { |
| 457 | { |
| 458 | QT_MOC_LITERAL(0, 41), // "QNonContiguousByteDeviceThrea..." |
| 459 | QT_MOC_LITERAL(42, 8), // "wantData" |
| 460 | QT_MOC_LITERAL(51, 0), // "" |
| 461 | QT_MOC_LITERAL(52, 13), // "processedData" |
| 462 | QT_MOC_LITERAL(66, 3), // "pos" |
| 463 | QT_MOC_LITERAL(70, 6), // "amount" |
| 464 | QT_MOC_LITERAL(77, 9), // "resetData" |
| 465 | QT_MOC_LITERAL(87, 5), // "bool*" |
| 466 | QT_MOC_LITERAL(93, 1), // "b" |
| 467 | QT_MOC_LITERAL(95, 12), // "haveDataSlot" |
| 468 | QT_MOC_LITERAL(108, 9), // "dataArray" |
| 469 | QT_MOC_LITERAL(118, 9), // "dataAtEnd" |
| 470 | QT_MOC_LITERAL(128, 8) // "dataSize" |
| 471 | |
| 472 | }, |
| 473 | "QNonContiguousByteDeviceThreadForwardImpl\0" |
| 474 | "wantData\0\0processedData\0pos\0amount\0" |
| 475 | "resetData\0bool*\0b\0haveDataSlot\0dataArray\0" |
| 476 | "dataAtEnd\0dataSize" |
| 477 | }; |
| 478 | #undef QT_MOC_LITERAL |
| 479 | |
| 480 | static const uint qt_meta_data_QNonContiguousByteDeviceThreadForwardImpl[] = { |
| 481 | |
| 482 | // content: |
| 483 | 9, // revision |
| 484 | 0, // classname |
| 485 | 0, 0, // classinfo |
| 486 | 4, 14, // methods |
| 487 | 0, 0, // properties |
| 488 | 0, 0, // enums/sets |
| 489 | 0, 0, // constructors |
| 490 | 0, // flags |
| 491 | 3, // signalCount |
| 492 | |
| 493 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
| 494 | 1, 1, 38, 2, 0x06, 0 /* Public */, |
| 495 | 3, 2, 41, 2, 0x06, 2 /* Public */, |
| 496 | 6, 1, 46, 2, 0x06, 5 /* Public */, |
| 497 | |
| 498 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
| 499 | 9, 4, 49, 2, 0x0a, 7 /* Public */, |
| 500 | |
| 501 | // signals: parameters |
| 502 | QMetaType::Void, QMetaType::LongLong, 2, |
| 503 | QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong, 4, 5, |
| 504 | QMetaType::Void, 0x80000000 | 7, 8, |
| 505 | |
| 506 | // slots: parameters |
| 507 | QMetaType::Void, QMetaType::LongLong, QMetaType::QByteArray, QMetaType::Bool, QMetaType::LongLong, 4, 10, 11, 12, |
| 508 | |
| 509 | 0 // eod |
| 510 | }; |
| 511 | |
| 512 | void QNonContiguousByteDeviceThreadForwardImpl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 513 | { |
| 514 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 515 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 516 | auto *_t = static_cast<QNonContiguousByteDeviceThreadForwardImpl *>(_o); |
| 517 | Q_UNUSED(_t) |
| 518 | switch (_id) { |
| 519 | case 0: _t->wantData((*reinterpret_cast< qint64(*)>(_a[1]))); break; |
| 520 | case 1: _t->processedData((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break; |
| 521 | case 2: _t->resetData((*reinterpret_cast< bool*(*)>(_a[1]))); break; |
| 522 | case 3: _t->haveDataSlot((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< qint64(*)>(_a[4]))); break; |
| 523 | default: ; |
| 524 | } |
| 525 | } else if (_c == QMetaObject::IndexOfMethod) { |
| 526 | int *result = reinterpret_cast<int *>(_a[0]); |
| 527 | { |
| 528 | using _t = void (QNonContiguousByteDeviceThreadForwardImpl::*)(qint64 ); |
| 529 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNonContiguousByteDeviceThreadForwardImpl::wantData)) { |
| 530 | *result = 0; |
| 531 | return; |
| 532 | } |
| 533 | } |
| 534 | { |
| 535 | using _t = void (QNonContiguousByteDeviceThreadForwardImpl::*)(qint64 , qint64 ); |
| 536 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNonContiguousByteDeviceThreadForwardImpl::processedData)) { |
| 537 | *result = 1; |
| 538 | return; |
| 539 | } |
| 540 | } |
| 541 | { |
| 542 | using _t = void (QNonContiguousByteDeviceThreadForwardImpl::*)(bool * ); |
| 543 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNonContiguousByteDeviceThreadForwardImpl::resetData)) { |
| 544 | *result = 2; |
| 545 | return; |
| 546 | } |
| 547 | } |
| 548 | } |
| 549 | } |
| 550 | |
| 551 | const QMetaObject QNonContiguousByteDeviceThreadForwardImpl::staticMetaObject = { { |
| 552 | QMetaObject::SuperData::link<QNonContiguousByteDevice::staticMetaObject>(), |
| 553 | qt_meta_stringdata_QNonContiguousByteDeviceThreadForwardImpl.offsetsAndSize, |
| 554 | qt_meta_data_QNonContiguousByteDeviceThreadForwardImpl, |
| 555 | qt_static_metacall, |
| 556 | nullptr, |
| 557 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QNonContiguousByteDeviceThreadForwardImpl_t |
| 558 | , QtPrivate::TypeAndForceComplete<void, 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<bool *, std::false_type> |
| 559 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qint64, std::false_type>, QtPrivate::TypeAndForceComplete<const QByteArray &, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<qint64, std::false_type> |
| 560 | |
| 561 | |
| 562 | >, |
| 563 | nullptr |
| 564 | } }; |
| 565 | |
| 566 | |
| 567 | const QMetaObject *QNonContiguousByteDeviceThreadForwardImpl::metaObject() const |
| 568 | { |
| 569 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 570 | } |
| 571 | |
| 572 | void *QNonContiguousByteDeviceThreadForwardImpl::qt_metacast(const char *_clname) |
| 573 | { |
| 574 | if (!_clname) return nullptr; |
| 575 | if (!strcmp(_clname, qt_meta_stringdata_QNonContiguousByteDeviceThreadForwardImpl.stringdata0)) |
| 576 | return static_cast<void*>(this); |
| 577 | return QNonContiguousByteDevice::qt_metacast(_clname); |
| 578 | } |
| 579 | |
| 580 | int QNonContiguousByteDeviceThreadForwardImpl::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 581 | { |
| 582 | _id = QNonContiguousByteDevice::qt_metacall(_c, _id, _a); |
| 583 | if (_id < 0) |
| 584 | return _id; |
| 585 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 586 | if (_id < 4) |
| 587 | qt_static_metacall(this, _c, _id, _a); |
| 588 | _id -= 4; |
| 589 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 590 | if (_id < 4) |
| 591 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
| 592 | _id -= 4; |
| 593 | } |
| 594 | return _id; |
| 595 | } |
| 596 | |
| 597 | // SIGNAL 0 |
| 598 | void QNonContiguousByteDeviceThreadForwardImpl::wantData(qint64 _t1) |
| 599 | { |
| 600 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 601 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
| 602 | } |
| 603 | |
| 604 | // SIGNAL 1 |
| 605 | void QNonContiguousByteDeviceThreadForwardImpl::processedData(qint64 _t1, qint64 _t2) |
| 606 | { |
| 607 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
| 608 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
| 609 | } |
| 610 | |
| 611 | // SIGNAL 2 |
| 612 | void QNonContiguousByteDeviceThreadForwardImpl::resetData(bool * _t1) |
| 613 | { |
| 614 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 615 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
| 616 | } |
| 617 | QT_WARNING_POP |
| 618 | QT_END_MOC_NAMESPACE |
| 619 | |