1/****************************************************************************
2** Meta object code from reading C++ file 'qnetworkaccessmanager.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/qnetworkaccessmanager.h"
11#include <QtNetwork/QSslError>
12#include <QtCore/qbytearray.h>
13#include <QtCore/qmetatype.h>
14#include <QtCore/QList>
15#if !defined(Q_MOC_OUTPUT_REVISION)
16#error "The header file 'qnetworkaccessmanager.h' doesn't include <QObject>."
17#elif Q_MOC_OUTPUT_REVISION != 68
18#error "This file was generated using the moc from 6.0.0. It"
19#error "cannot be used with the include files from this version of Qt."
20#error "(The moc has changed too much.)"
21#endif
22
23QT_BEGIN_MOC_NAMESPACE
24QT_WARNING_PUSH
25QT_WARNING_DISABLE_DEPRECATED
26struct qt_meta_stringdata_QNetworkAccessManager_t {
27 const uint offsetsAndSize[28];
28 char stringdata0[220];
29};
30#define QT_MOC_LITERAL(ofs, len) \
31 uint(offsetof(qt_meta_stringdata_QNetworkAccessManager_t, stringdata0) + ofs), len
32static const qt_meta_stringdata_QNetworkAccessManager_t qt_meta_stringdata_QNetworkAccessManager = {
33 {
34QT_MOC_LITERAL(0, 21), // "QNetworkAccessManager"
35QT_MOC_LITERAL(22, 27), // "proxyAuthenticationRequired"
36QT_MOC_LITERAL(50, 0), // ""
37QT_MOC_LITERAL(51, 13), // "QNetworkProxy"
38QT_MOC_LITERAL(65, 5), // "proxy"
39QT_MOC_LITERAL(71, 15), // "QAuthenticator*"
40QT_MOC_LITERAL(87, 13), // "authenticator"
41QT_MOC_LITERAL(101, 22), // "authenticationRequired"
42QT_MOC_LITERAL(124, 14), // "QNetworkReply*"
43QT_MOC_LITERAL(139, 5), // "reply"
44QT_MOC_LITERAL(145, 8), // "finished"
45QT_MOC_LITERAL(154, 30), // "supportedSchemesImplementation"
46QT_MOC_LITERAL(185, 17), // "_q_replySslErrors"
47QT_MOC_LITERAL(203, 16) // "QList<QSslError>"
48
49 },
50 "QNetworkAccessManager\0proxyAuthenticationRequired\0"
51 "\0QNetworkProxy\0proxy\0QAuthenticator*\0"
52 "authenticator\0authenticationRequired\0"
53 "QNetworkReply*\0reply\0finished\0"
54 "supportedSchemesImplementation\0"
55 "_q_replySslErrors\0QList<QSslError>"
56};
57#undef QT_MOC_LITERAL
58
59static const uint qt_meta_data_QNetworkAccessManager[] = {
60
61 // content:
62 9, // revision
63 0, // classname
64 0, 0, // classinfo
65 5, 14, // methods
66 0, 0, // properties
67 0, 0, // enums/sets
68 0, 0, // constructors
69 0, // flags
70 3, // signalCount
71
72 // signals: name, argc, parameters, tag, flags, initial metatype offsets
73 1, 2, 44, 2, 0x06, 0 /* Public */,
74 7, 2, 49, 2, 0x06, 3 /* Public */,
75 10, 1, 54, 2, 0x06, 6 /* Public */,
76
77 // slots: name, argc, parameters, tag, flags, initial metatype offsets
78 11, 0, 57, 2, 0x09, 8 /* Protected */,
79 12, 1, 58, 2, 0x08, 9 /* Private */,
80
81 // signals: parameters
82 QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 4, 6,
83 QMetaType::Void, 0x80000000 | 8, 0x80000000 | 5, 9, 6,
84 QMetaType::Void, 0x80000000 | 8, 9,
85
86 // slots: parameters
87 QMetaType::QStringList,
88 QMetaType::Void, 0x80000000 | 13, 2,
89
90 0 // eod
91};
92
93void QNetworkAccessManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
94{
95 if (_c == QMetaObject::InvokeMetaMethod) {
96 Q_ASSERT(staticMetaObject.cast(_o));
97 auto *_t = static_cast<QNetworkAccessManager *>(_o);
98 Q_UNUSED(_t)
99 switch (_id) {
100 case 0: _t->proxyAuthenticationRequired((*reinterpret_cast< const QNetworkProxy(*)>(_a[1])),(*reinterpret_cast< QAuthenticator*(*)>(_a[2]))); break;
101 case 1: _t->authenticationRequired((*reinterpret_cast< QNetworkReply*(*)>(_a[1])),(*reinterpret_cast< QAuthenticator*(*)>(_a[2]))); break;
102 case 2: _t->finished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
103 case 3: { QStringList _r = _t->supportedSchemesImplementation();
104 if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); } break;
105 case 4: _t->d_func()->_q_replySslErrors((*reinterpret_cast< QList<QSslError>(*)>(_a[1]))); break;
106 default: ;
107 }
108 } else if (_c == QMetaObject::IndexOfMethod) {
109 int *result = reinterpret_cast<int *>(_a[0]);
110 {
111 using _t = void (QNetworkAccessManager::*)(const QNetworkProxy & , QAuthenticator * );
112 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkAccessManager::proxyAuthenticationRequired)) {
113 *result = 0;
114 return;
115 }
116 }
117 {
118 using _t = void (QNetworkAccessManager::*)(QNetworkReply * , QAuthenticator * );
119 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkAccessManager::authenticationRequired)) {
120 *result = 1;
121 return;
122 }
123 }
124 {
125 using _t = void (QNetworkAccessManager::*)(QNetworkReply * );
126 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkAccessManager::finished)) {
127 *result = 2;
128 return;
129 }
130 }
131 }
132}
133
134const QMetaObject QNetworkAccessManager::staticMetaObject = { {
135 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
136 qt_meta_stringdata_QNetworkAccessManager.offsetsAndSize,
137 qt_meta_data_QNetworkAccessManager,
138 qt_static_metacall,
139 nullptr,
140qt_incomplete_metaTypeArray<qt_meta_stringdata_QNetworkAccessManager_t
141, 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<QNetworkReply *, std::false_type>, QtPrivate::TypeAndForceComplete<QAuthenticator *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QNetworkReply *, std::false_type>
142, QtPrivate::TypeAndForceComplete<QStringList, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QList<QSslError>, std::false_type>
143
144
145>,
146 nullptr
147} };
148
149
150const QMetaObject *QNetworkAccessManager::metaObject() const
151{
152 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
153}
154
155void *QNetworkAccessManager::qt_metacast(const char *_clname)
156{
157 if (!_clname) return nullptr;
158 if (!strcmp(_clname, qt_meta_stringdata_QNetworkAccessManager.stringdata0))
159 return static_cast<void*>(this);
160 return QObject::qt_metacast(_clname);
161}
162
163int QNetworkAccessManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
164{
165 _id = QObject::qt_metacall(_c, _id, _a);
166 if (_id < 0)
167 return _id;
168 if (_c == QMetaObject::InvokeMetaMethod) {
169 if (_id < 5)
170 qt_static_metacall(this, _c, _id, _a);
171 _id -= 5;
172 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
173 if (_id < 5)
174 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
175 _id -= 5;
176 }
177 return _id;
178}
179
180// SIGNAL 0
181void QNetworkAccessManager::proxyAuthenticationRequired(const QNetworkProxy & _t1, QAuthenticator * _t2)
182{
183 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
184 QMetaObject::activate(this, &staticMetaObject, 0, _a);
185}
186
187// SIGNAL 1
188void QNetworkAccessManager::authenticationRequired(QNetworkReply * _t1, QAuthenticator * _t2)
189{
190 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
191 QMetaObject::activate(this, &staticMetaObject, 1, _a);
192}
193
194// SIGNAL 2
195void QNetworkAccessManager::finished(QNetworkReply * _t1)
196{
197 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
198 QMetaObject::activate(this, &staticMetaObject, 2, _a);
199}
200QT_WARNING_POP
201QT_END_MOC_NAMESPACE
202