1/****************************************************************************
2** Meta object code from reading C++ file 'httpwindow.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 "httpwindow.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 'httpwindow.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
22QT_BEGIN_MOC_NAMESPACE
23QT_WARNING_PUSH
24QT_WARNING_DISABLE_DEPRECATED
25struct qt_meta_stringdata_ProgressDialog_t {
26 const uint offsetsAndSize[10];
27 char stringdata0[58];
28};
29#define QT_MOC_LITERAL(ofs, len) \
30 uint(offsetof(qt_meta_stringdata_ProgressDialog_t, stringdata0) + ofs), len
31static const qt_meta_stringdata_ProgressDialog_t qt_meta_stringdata_ProgressDialog = {
32 {
33QT_MOC_LITERAL(0, 14), // "ProgressDialog"
34QT_MOC_LITERAL(15, 20), // "networkReplyProgress"
35QT_MOC_LITERAL(36, 0), // ""
36QT_MOC_LITERAL(37, 9), // "bytesRead"
37QT_MOC_LITERAL(47, 10) // "totalBytes"
38
39 },
40 "ProgressDialog\0networkReplyProgress\0"
41 "\0bytesRead\0totalBytes"
42};
43#undef QT_MOC_LITERAL
44
45static const uint qt_meta_data_ProgressDialog[] = {
46
47 // content:
48 9, // revision
49 0, // classname
50 0, 0, // classinfo
51 1, 14, // methods
52 0, 0, // properties
53 0, 0, // enums/sets
54 0, 0, // constructors
55 0, // flags
56 0, // signalCount
57
58 // slots: name, argc, parameters, tag, flags, initial metatype offsets
59 1, 2, 20, 2, 0x0a, 0 /* Public */,
60
61 // slots: parameters
62 QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong, 3, 4,
63
64 0 // eod
65};
66
67void ProgressDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
68{
69 if (_c == QMetaObject::InvokeMetaMethod) {
70 Q_ASSERT(staticMetaObject.cast(_o));
71 auto *_t = static_cast<ProgressDialog *>(_o);
72 Q_UNUSED(_t)
73 switch (_id) {
74 case 0: _t->networkReplyProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
75 default: ;
76 }
77 }
78}
79
80const QMetaObject ProgressDialog::staticMetaObject = { {
81 QMetaObject::SuperData::link<QProgressDialog::staticMetaObject>(),
82 qt_meta_stringdata_ProgressDialog.offsetsAndSize,
83 qt_meta_data_ProgressDialog,
84 qt_static_metacall,
85 nullptr,
86qt_incomplete_metaTypeArray<qt_meta_stringdata_ProgressDialog_t
87
88, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qint64, std::false_type>, QtPrivate::TypeAndForceComplete<qint64, std::false_type>
89
90
91>,
92 nullptr
93} };
94
95
96const QMetaObject *ProgressDialog::metaObject() const
97{
98 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
99}
100
101void *ProgressDialog::qt_metacast(const char *_clname)
102{
103 if (!_clname) return nullptr;
104 if (!strcmp(_clname, qt_meta_stringdata_ProgressDialog.stringdata0))
105 return static_cast<void*>(this);
106 return QProgressDialog::qt_metacast(_clname);
107}
108
109int ProgressDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
110{
111 _id = QProgressDialog::qt_metacall(_c, _id, _a);
112 if (_id < 0)
113 return _id;
114 if (_c == QMetaObject::InvokeMetaMethod) {
115 if (_id < 1)
116 qt_static_metacall(this, _c, _id, _a);
117 _id -= 1;
118 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
119 if (_id < 1)
120 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
121 _id -= 1;
122 }
123 return _id;
124}
125struct qt_meta_stringdata_HttpWindow_t {
126 const uint offsetsAndSize[22];
127 char stringdata0[160];
128};
129#define QT_MOC_LITERAL(ofs, len) \
130 uint(offsetof(qt_meta_stringdata_HttpWindow_t, stringdata0) + ofs), len
131static const qt_meta_stringdata_HttpWindow_t qt_meta_stringdata_HttpWindow = {
132 {
133QT_MOC_LITERAL(0, 10), // "HttpWindow"
134QT_MOC_LITERAL(11, 12), // "downloadFile"
135QT_MOC_LITERAL(24, 0), // ""
136QT_MOC_LITERAL(25, 14), // "cancelDownload"
137QT_MOC_LITERAL(40, 12), // "httpFinished"
138QT_MOC_LITERAL(53, 13), // "httpReadyRead"
139QT_MOC_LITERAL(67, 20), // "enableDownloadButton"
140QT_MOC_LITERAL(88, 26), // "slotAuthenticationRequired"
141QT_MOC_LITERAL(115, 14), // "QNetworkReply*"
142QT_MOC_LITERAL(130, 15), // "QAuthenticator*"
143QT_MOC_LITERAL(146, 13) // "authenticator"
144
145 },
146 "HttpWindow\0downloadFile\0\0cancelDownload\0"
147 "httpFinished\0httpReadyRead\0"
148 "enableDownloadButton\0slotAuthenticationRequired\0"
149 "QNetworkReply*\0QAuthenticator*\0"
150 "authenticator"
151};
152#undef QT_MOC_LITERAL
153
154static const uint qt_meta_data_HttpWindow[] = {
155
156 // content:
157 9, // revision
158 0, // classname
159 0, 0, // classinfo
160 6, 14, // methods
161 0, 0, // properties
162 0, 0, // enums/sets
163 0, 0, // constructors
164 0, // flags
165 0, // signalCount
166
167 // slots: name, argc, parameters, tag, flags, initial metatype offsets
168 1, 0, 50, 2, 0x08, 0 /* Private */,
169 3, 0, 51, 2, 0x08, 1 /* Private */,
170 4, 0, 52, 2, 0x08, 2 /* Private */,
171 5, 0, 53, 2, 0x08, 3 /* Private */,
172 6, 0, 54, 2, 0x08, 4 /* Private */,
173 7, 2, 55, 2, 0x08, 5 /* Private */,
174
175 // slots: parameters
176 QMetaType::Void,
177 QMetaType::Void,
178 QMetaType::Void,
179 QMetaType::Void,
180 QMetaType::Void,
181 QMetaType::Void, 0x80000000 | 8, 0x80000000 | 9, 2, 10,
182
183 0 // eod
184};
185
186void HttpWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
187{
188 if (_c == QMetaObject::InvokeMetaMethod) {
189 Q_ASSERT(staticMetaObject.cast(_o));
190 auto *_t = static_cast<HttpWindow *>(_o);
191 Q_UNUSED(_t)
192 switch (_id) {
193 case 0: _t->downloadFile(); break;
194 case 1: _t->cancelDownload(); break;
195 case 2: _t->httpFinished(); break;
196 case 3: _t->httpReadyRead(); break;
197 case 4: _t->enableDownloadButton(); break;
198 case 5: _t->slotAuthenticationRequired((*reinterpret_cast< QNetworkReply*(*)>(_a[1])),(*reinterpret_cast< QAuthenticator*(*)>(_a[2]))); break;
199 default: ;
200 }
201 }
202}
203
204const QMetaObject HttpWindow::staticMetaObject = { {
205 QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
206 qt_meta_stringdata_HttpWindow.offsetsAndSize,
207 qt_meta_data_HttpWindow,
208 qt_static_metacall,
209 nullptr,
210qt_incomplete_metaTypeArray<qt_meta_stringdata_HttpWindow_t
211
212, 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<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QNetworkReply *, std::false_type>, QtPrivate::TypeAndForceComplete<QAuthenticator *, std::false_type>
213
214
215>,
216 nullptr
217} };
218
219
220const QMetaObject *HttpWindow::metaObject() const
221{
222 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
223}
224
225void *HttpWindow::qt_metacast(const char *_clname)
226{
227 if (!_clname) return nullptr;
228 if (!strcmp(_clname, qt_meta_stringdata_HttpWindow.stringdata0))
229 return static_cast<void*>(this);
230 return QDialog::qt_metacast(_clname);
231}
232
233int HttpWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
234{
235 _id = QDialog::qt_metacall(_c, _id, _a);
236 if (_id < 0)
237 return _id;
238 if (_c == QMetaObject::InvokeMetaMethod) {
239 if (_id < 6)
240 qt_static_metacall(this, _c, _id, _a);
241 _id -= 6;
242 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
243 if (_id < 6)
244 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
245 _id -= 6;
246 }
247 return _id;
248}
249QT_WARNING_POP
250QT_END_MOC_NAMESPACE
251