1/****************************************************************************
2** Meta object code from reading C++ file 'main.cpp'
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 <QtCore/qbytearray.h>
11#include <QtCore/qmetatype.h>
12#include <QtCore/QList>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'main.cpp' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 68
16#error "This file was generated using the moc from 6.0.0. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
19#endif
20
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
24struct qt_meta_stringdata_DownloadManager_t {
25 const uint offsetsAndSize[18];
26 char stringdata0[97];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_DownloadManager_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_DownloadManager_t qt_meta_stringdata_DownloadManager = {
31 {
32QT_MOC_LITERAL(0, 15), // "DownloadManager"
33QT_MOC_LITERAL(16, 7), // "execute"
34QT_MOC_LITERAL(24, 0), // ""
35QT_MOC_LITERAL(25, 16), // "downloadFinished"
36QT_MOC_LITERAL(42, 14), // "QNetworkReply*"
37QT_MOC_LITERAL(57, 5), // "reply"
38QT_MOC_LITERAL(63, 9), // "sslErrors"
39QT_MOC_LITERAL(73, 16), // "QList<QSslError>"
40QT_MOC_LITERAL(90, 6) // "errors"
41
42 },
43 "DownloadManager\0execute\0\0downloadFinished\0"
44 "QNetworkReply*\0reply\0sslErrors\0"
45 "QList<QSslError>\0errors"
46};
47#undef QT_MOC_LITERAL
48
49static const uint qt_meta_data_DownloadManager[] = {
50
51 // content:
52 9, // revision
53 0, // classname
54 0, 0, // classinfo
55 3, 14, // methods
56 0, 0, // properties
57 0, 0, // enums/sets
58 0, 0, // constructors
59 0, // flags
60 0, // signalCount
61
62 // slots: name, argc, parameters, tag, flags, initial metatype offsets
63 1, 0, 32, 2, 0x0a, 0 /* Public */,
64 3, 1, 33, 2, 0x0a, 1 /* Public */,
65 6, 1, 36, 2, 0x0a, 3 /* Public */,
66
67 // slots: parameters
68 QMetaType::Void,
69 QMetaType::Void, 0x80000000 | 4, 5,
70 QMetaType::Void, 0x80000000 | 7, 8,
71
72 0 // eod
73};
74
75void DownloadManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
76{
77 if (_c == QMetaObject::InvokeMetaMethod) {
78 Q_ASSERT(staticMetaObject.cast(_o));
79 auto *_t = static_cast<DownloadManager *>(_o);
80 Q_UNUSED(_t)
81 switch (_id) {
82 case 0: _t->execute(); break;
83 case 1: _t->downloadFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
84 case 2: _t->sslErrors((*reinterpret_cast< const QList<QSslError>(*)>(_a[1]))); break;
85 default: ;
86 }
87 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
88 switch (_id) {
89 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
90 case 1:
91 switch (*reinterpret_cast<int*>(_a[1])) {
92 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
93 case 0:
94 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkReply* >(); break;
95 }
96 break;
97 }
98 }
99}
100
101const QMetaObject DownloadManager::staticMetaObject = { {
102 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
103 qt_meta_stringdata_DownloadManager.offsetsAndSize,
104 qt_meta_data_DownloadManager,
105 qt_static_metacall,
106 nullptr,
107qt_incomplete_metaTypeArray<qt_meta_stringdata_DownloadManager_t
108
109, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QNetworkReply *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<QSslError> &, std::false_type>
110
111
112>,
113 nullptr
114} };
115
116
117const QMetaObject *DownloadManager::metaObject() const
118{
119 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
120}
121
122void *DownloadManager::qt_metacast(const char *_clname)
123{
124 if (!_clname) return nullptr;
125 if (!strcmp(_clname, qt_meta_stringdata_DownloadManager.stringdata0))
126 return static_cast<void*>(this);
127 return QObject::qt_metacast(_clname);
128}
129
130int DownloadManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
131{
132 _id = QObject::qt_metacall(_c, _id, _a);
133 if (_id < 0)
134 return _id;
135 if (_c == QMetaObject::InvokeMetaMethod) {
136 if (_id < 3)
137 qt_static_metacall(this, _c, _id, _a);
138 _id -= 3;
139 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
140 if (_id < 3)
141 qt_static_metacall(this, _c, _id, _a);
142 _id -= 3;
143 }
144 return _id;
145}
146QT_WARNING_POP
147QT_END_MOC_NAMESPACE
148