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