1/****************************************************************************
2** Meta object code from reading C++ file 'qdbusconnection_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 "qdbusconnection_p.h"
11#include <QtDBus/private/qdbuspendingcall_p.h>
12#include <QtCore/qbytearray.h>
13#include <QtCore/qmetatype.h>
14#if !defined(Q_MOC_OUTPUT_REVISION)
15#error "The header file 'qdbusconnection_p.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_QDBusConnectionPrivate_t {
26 const uint offsetsAndSize[94];
27 char stringdata0[664];
28};
29#define QT_MOC_LITERAL(ofs, len) \
30 uint(offsetof(qt_meta_stringdata_QDBusConnectionPrivate_t, stringdata0) + ofs), len
31static const qt_meta_stringdata_QDBusConnectionPrivate_t qt_meta_stringdata_QDBusConnectionPrivate = {
32 {
33QT_MOC_LITERAL(0, 22), // "QDBusConnectionPrivate"
34QT_MOC_LITERAL(23, 21), // "dispatchStatusChanged"
35QT_MOC_LITERAL(45, 0), // ""
36QT_MOC_LITERAL(46, 16), // "spyHooksFinished"
37QT_MOC_LITERAL(63, 12), // "QDBusMessage"
38QT_MOC_LITERAL(76, 3), // "msg"
39QT_MOC_LITERAL(80, 19), // "messageNeedsSending"
40QT_MOC_LITERAL(100, 24), // "QDBusPendingCallPrivate*"
41QT_MOC_LITERAL(125, 5), // "pcall"
42QT_MOC_LITERAL(131, 7), // "timeout"
43QT_MOC_LITERAL(139, 21), // "signalNeedsConnecting"
44QT_MOC_LITERAL(161, 3), // "key"
45QT_MOC_LITERAL(165, 34), // "QDBusConnectionPrivate::Signa..."
46QT_MOC_LITERAL(200, 4), // "hook"
47QT_MOC_LITERAL(205, 24), // "signalNeedsDisconnecting"
48QT_MOC_LITERAL(230, 19), // "serviceOwnerChanged"
49QT_MOC_LITERAL(250, 4), // "name"
50QT_MOC_LITERAL(255, 8), // "oldOwner"
51QT_MOC_LITERAL(264, 8), // "newOwner"
52QT_MOC_LITERAL(273, 22), // "callWithCallbackFailed"
53QT_MOC_LITERAL(296, 10), // "QDBusError"
54QT_MOC_LITERAL(307, 5), // "error"
55QT_MOC_LITERAL(313, 7), // "message"
56QT_MOC_LITERAL(321, 19), // "newServerConnection"
57QT_MOC_LITERAL(341, 23), // "QDBusConnectionPrivate*"
58QT_MOC_LITERAL(365, 13), // "newConnection"
59QT_MOC_LITERAL(379, 18), // "setDispatchEnabled"
60QT_MOC_LITERAL(398, 6), // "enable"
61QT_MOC_LITERAL(405, 10), // "doDispatch"
62QT_MOC_LITERAL(416, 10), // "socketRead"
63QT_MOC_LITERAL(427, 7), // "qintptr"
64QT_MOC_LITERAL(435, 11), // "socketWrite"
65QT_MOC_LITERAL(447, 15), // "objectDestroyed"
66QT_MOC_LITERAL(463, 1), // "o"
67QT_MOC_LITERAL(465, 11), // "relaySignal"
68QT_MOC_LITERAL(477, 3), // "obj"
69QT_MOC_LITERAL(481, 18), // "const QMetaObject*"
70QT_MOC_LITERAL(500, 8), // "signalId"
71QT_MOC_LITERAL(509, 4), // "args"
72QT_MOC_LITERAL(514, 13), // "addSignalHook"
73QT_MOC_LITERAL(528, 10), // "SignalHook"
74QT_MOC_LITERAL(539, 16), // "removeSignalHook"
75QT_MOC_LITERAL(556, 25), // "serviceOwnerChangedNoLock"
76QT_MOC_LITERAL(582, 21), // "registerServiceNoLock"
77QT_MOC_LITERAL(604, 11), // "serviceName"
78QT_MOC_LITERAL(616, 23), // "unregisterServiceNoLock"
79QT_MOC_LITERAL(640, 23) // "handleDBusDisconnection"
80
81 },
82 "QDBusConnectionPrivate\0dispatchStatusChanged\0"
83 "\0spyHooksFinished\0QDBusMessage\0msg\0"
84 "messageNeedsSending\0QDBusPendingCallPrivate*\0"
85 "pcall\0timeout\0signalNeedsConnecting\0"
86 "key\0QDBusConnectionPrivate::SignalHook\0"
87 "hook\0signalNeedsDisconnecting\0"
88 "serviceOwnerChanged\0name\0oldOwner\0"
89 "newOwner\0callWithCallbackFailed\0"
90 "QDBusError\0error\0message\0newServerConnection\0"
91 "QDBusConnectionPrivate*\0newConnection\0"
92 "setDispatchEnabled\0enable\0doDispatch\0"
93 "socketRead\0qintptr\0socketWrite\0"
94 "objectDestroyed\0o\0relaySignal\0obj\0"
95 "const QMetaObject*\0signalId\0args\0"
96 "addSignalHook\0SignalHook\0removeSignalHook\0"
97 "serviceOwnerChangedNoLock\0"
98 "registerServiceNoLock\0serviceName\0"
99 "unregisterServiceNoLock\0handleDBusDisconnection"
100};
101#undef QT_MOC_LITERAL
102
103static const uint qt_meta_data_QDBusConnectionPrivate[] = {
104
105 // content:
106 9, // revision
107 0, // classname
108 0, 0, // classinfo
109 21, 14, // methods
110 0, 0, // properties
111 0, 0, // enums/sets
112 0, 0, // constructors
113 0, // flags
114 9, // signalCount
115
116 // signals: name, argc, parameters, tag, flags, initial metatype offsets
117 1, 0, 140, 2, 0x06, 0 /* Public */,
118 3, 1, 141, 2, 0x06, 1 /* Public */,
119 6, 3, 144, 2, 0x06, 3 /* Public */,
120 6, 2, 151, 2, 0x26, 7 /* Public | MethodCloned */,
121 10, 2, 156, 2, 0x06, 10 /* Public */,
122 14, 2, 161, 2, 0x06, 13 /* Public */,
123 15, 3, 166, 2, 0x06, 16 /* Public */,
124 19, 2, 173, 2, 0x06, 20 /* Public */,
125 23, 1, 178, 2, 0x06, 23 /* Public */,
126
127 // slots: name, argc, parameters, tag, flags, initial metatype offsets
128 26, 1, 181, 2, 0x0a, 25 /* Public */,
129 28, 0, 184, 2, 0x0a, 27 /* Public */,
130 29, 1, 185, 2, 0x0a, 28 /* Public */,
131 31, 1, 188, 2, 0x0a, 30 /* Public */,
132 32, 1, 191, 2, 0x0a, 32 /* Public */,
133 34, 4, 194, 2, 0x0a, 34 /* Public */,
134 39, 2, 203, 2, 0x0a, 39 /* Public */,
135 41, 2, 208, 2, 0x0a, 42 /* Public */,
136 42, 3, 213, 2, 0x08, 45 /* Private */,
137 43, 1, 220, 2, 0x08, 49 /* Private */,
138 45, 1, 223, 2, 0x08, 51 /* Private */,
139 46, 0, 226, 2, 0x08, 53 /* Private */,
140
141 // signals: parameters
142 QMetaType::Void,
143 QMetaType::Void, 0x80000000 | 4, 5,
144 QMetaType::Void, 0x80000000 | 7, QMetaType::VoidStar, QMetaType::Int, 8, 5, 9,
145 QMetaType::Void, 0x80000000 | 7, QMetaType::VoidStar, 8, 5,
146 QMetaType::Bool, QMetaType::QString, 0x80000000 | 12, 11, 13,
147 QMetaType::Bool, QMetaType::QString, 0x80000000 | 12, 11, 13,
148 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString, 16, 17, 18,
149 QMetaType::Void, 0x80000000 | 20, 0x80000000 | 4, 21, 22,
150 QMetaType::Void, 0x80000000 | 24, 25,
151
152 // slots: parameters
153 QMetaType::Void, QMetaType::Bool, 27,
154 QMetaType::Void,
155 QMetaType::Void, 0x80000000 | 30, 2,
156 QMetaType::Void, 0x80000000 | 30, 2,
157 QMetaType::Void, QMetaType::QObjectStar, 33,
158 QMetaType::Void, QMetaType::QObjectStar, 0x80000000 | 36, QMetaType::Int, QMetaType::QVariantList, 35, 2, 37, 38,
159 QMetaType::Bool, QMetaType::QString, 0x80000000 | 40, 11, 13,
160 QMetaType::Bool, QMetaType::QString, 0x80000000 | 40, 11, 13,
161 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString, 16, 17, 18,
162 QMetaType::Void, QMetaType::QString, 44,
163 QMetaType::Void, QMetaType::QString, 44,
164 QMetaType::Void,
165
166 0 // eod
167};
168
169void QDBusConnectionPrivate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
170{
171 if (_c == QMetaObject::InvokeMetaMethod) {
172 Q_ASSERT(staticMetaObject.cast(_o));
173 auto *_t = static_cast<QDBusConnectionPrivate *>(_o);
174 Q_UNUSED(_t)
175 switch (_id) {
176 case 0: _t->dispatchStatusChanged(); break;
177 case 1: _t->spyHooksFinished((*reinterpret_cast< const QDBusMessage(*)>(_a[1]))); break;
178 case 2: _t->messageNeedsSending((*reinterpret_cast< QDBusPendingCallPrivate*(*)>(_a[1])),(*reinterpret_cast< void*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
179 case 3: _t->messageNeedsSending((*reinterpret_cast< QDBusPendingCallPrivate*(*)>(_a[1])),(*reinterpret_cast< void*(*)>(_a[2]))); break;
180 case 4: { bool _r = _t->signalNeedsConnecting((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QDBusConnectionPrivate::SignalHook(*)>(_a[2])));
181 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
182 case 5: { bool _r = _t->signalNeedsDisconnecting((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QDBusConnectionPrivate::SignalHook(*)>(_a[2])));
183 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
184 case 6: _t->serviceOwnerChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
185 case 7: _t->callWithCallbackFailed((*reinterpret_cast< const QDBusError(*)>(_a[1])),(*reinterpret_cast< const QDBusMessage(*)>(_a[2]))); break;
186 case 8: _t->newServerConnection((*reinterpret_cast< QDBusConnectionPrivate*(*)>(_a[1]))); break;
187 case 9: _t->setDispatchEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
188 case 10: _t->doDispatch(); break;
189 case 11: _t->socketRead((*reinterpret_cast< qintptr(*)>(_a[1]))); break;
190 case 12: _t->socketWrite((*reinterpret_cast< qintptr(*)>(_a[1]))); break;
191 case 13: _t->objectDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
192 case 14: _t->relaySignal((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< const QMetaObject*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< const QVariantList(*)>(_a[4]))); break;
193 case 15: { bool _r = _t->addSignalHook((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const SignalHook(*)>(_a[2])));
194 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
195 case 16: { bool _r = _t->removeSignalHook((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const SignalHook(*)>(_a[2])));
196 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
197 case 17: _t->serviceOwnerChangedNoLock((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
198 case 18: _t->registerServiceNoLock((*reinterpret_cast< const QString(*)>(_a[1]))); break;
199 case 19: _t->unregisterServiceNoLock((*reinterpret_cast< const QString(*)>(_a[1]))); break;
200 case 20: _t->handleDBusDisconnection(); break;
201 default: ;
202 }
203 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
204 switch (_id) {
205 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
206 case 1:
207 switch (*reinterpret_cast<int*>(_a[1])) {
208 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
209 case 0:
210 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusMessage >(); break;
211 }
212 break;
213 case 7:
214 switch (*reinterpret_cast<int*>(_a[1])) {
215 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
216 case 0:
217 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusError >(); break;
218 case 1:
219 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusMessage >(); break;
220 }
221 break;
222 case 8:
223 switch (*reinterpret_cast<int*>(_a[1])) {
224 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
225 case 0:
226 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusConnectionPrivate* >(); break;
227 }
228 break;
229 }
230 } else if (_c == QMetaObject::IndexOfMethod) {
231 int *result = reinterpret_cast<int *>(_a[0]);
232 {
233 using _t = void (QDBusConnectionPrivate::*)();
234 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionPrivate::dispatchStatusChanged)) {
235 *result = 0;
236 return;
237 }
238 }
239 {
240 using _t = void (QDBusConnectionPrivate::*)(const QDBusMessage & );
241 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionPrivate::spyHooksFinished)) {
242 *result = 1;
243 return;
244 }
245 }
246 {
247 using _t = void (QDBusConnectionPrivate::*)(QDBusPendingCallPrivate * , void * , int );
248 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionPrivate::messageNeedsSending)) {
249 *result = 2;
250 return;
251 }
252 }
253 {
254 using _t = bool (QDBusConnectionPrivate::*)(const QString & , const QDBusConnectionPrivate::SignalHook & );
255 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionPrivate::signalNeedsConnecting)) {
256 *result = 4;
257 return;
258 }
259 }
260 {
261 using _t = bool (QDBusConnectionPrivate::*)(const QString & , const QDBusConnectionPrivate::SignalHook & );
262 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionPrivate::signalNeedsDisconnecting)) {
263 *result = 5;
264 return;
265 }
266 }
267 {
268 using _t = void (QDBusConnectionPrivate::*)(const QString & , const QString & , const QString & );
269 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionPrivate::serviceOwnerChanged)) {
270 *result = 6;
271 return;
272 }
273 }
274 {
275 using _t = void (QDBusConnectionPrivate::*)(const QDBusError & , const QDBusMessage & );
276 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionPrivate::callWithCallbackFailed)) {
277 *result = 7;
278 return;
279 }
280 }
281 {
282 using _t = void (QDBusConnectionPrivate::*)(QDBusConnectionPrivate * );
283 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionPrivate::newServerConnection)) {
284 *result = 8;
285 return;
286 }
287 }
288 }
289}
290
291const QMetaObject QDBusConnectionPrivate::staticMetaObject = { {
292 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
293 qt_meta_stringdata_QDBusConnectionPrivate.offsetsAndSize,
294 qt_meta_data_QDBusConnectionPrivate,
295 qt_static_metacall,
296 nullptr,
297qt_incomplete_metaTypeArray<qt_meta_stringdata_QDBusConnectionPrivate_t
298, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QDBusMessage &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusPendingCallPrivate *, std::false_type>, QtPrivate::TypeAndForceComplete<void *, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusPendingCallPrivate *, std::false_type>, QtPrivate::TypeAndForceComplete<void *, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QDBusConnectionPrivate::SignalHook &, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QDBusConnectionPrivate::SignalHook &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QDBusError &, std::false_type>, QtPrivate::TypeAndForceComplete<const QDBusMessage &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusConnectionPrivate *, std::false_type>
299, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qintptr, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qintptr, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QObject *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QObject *, std::false_type>, QtPrivate::TypeAndForceComplete<const QMetaObject *, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<const QVariantList &, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const SignalHook &, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const SignalHook &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
300
301
302>,
303 nullptr
304} };
305
306
307const QMetaObject *QDBusConnectionPrivate::metaObject() const
308{
309 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
310}
311
312void *QDBusConnectionPrivate::qt_metacast(const char *_clname)
313{
314 if (!_clname) return nullptr;
315 if (!strcmp(_clname, qt_meta_stringdata_QDBusConnectionPrivate.stringdata0))
316 return static_cast<void*>(this);
317 return QObject::qt_metacast(_clname);
318}
319
320int QDBusConnectionPrivate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
321{
322 _id = QObject::qt_metacall(_c, _id, _a);
323 if (_id < 0)
324 return _id;
325 if (_c == QMetaObject::InvokeMetaMethod) {
326 if (_id < 21)
327 qt_static_metacall(this, _c, _id, _a);
328 _id -= 21;
329 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
330 if (_id < 21)
331 qt_static_metacall(this, _c, _id, _a);
332 _id -= 21;
333 }
334 return _id;
335}
336
337// SIGNAL 0
338void QDBusConnectionPrivate::dispatchStatusChanged()
339{
340 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
341}
342
343// SIGNAL 1
344void QDBusConnectionPrivate::spyHooksFinished(const QDBusMessage & _t1)
345{
346 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
347 QMetaObject::activate(this, &staticMetaObject, 1, _a);
348}
349
350// SIGNAL 2
351void QDBusConnectionPrivate::messageNeedsSending(QDBusPendingCallPrivate * _t1, void * _t2, int _t3)
352{
353 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))) };
354 QMetaObject::activate(this, &staticMetaObject, 2, _a);
355}
356
357// SIGNAL 4
358bool QDBusConnectionPrivate::signalNeedsConnecting(const QString & _t1, const QDBusConnectionPrivate::SignalHook & _t2)
359{
360 bool _t0{};
361 void *_a[] = { const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t0))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
362 QMetaObject::activate(this, &staticMetaObject, 4, _a);
363 return _t0;
364}
365
366// SIGNAL 5
367bool QDBusConnectionPrivate::signalNeedsDisconnecting(const QString & _t1, const QDBusConnectionPrivate::SignalHook & _t2)
368{
369 bool _t0{};
370 void *_a[] = { const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t0))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
371 QMetaObject::activate(this, &staticMetaObject, 5, _a);
372 return _t0;
373}
374
375// SIGNAL 6
376void QDBusConnectionPrivate::serviceOwnerChanged(const QString & _t1, const QString & _t2, const QString & _t3)
377{
378 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))) };
379 QMetaObject::activate(this, &staticMetaObject, 6, _a);
380}
381
382// SIGNAL 7
383void QDBusConnectionPrivate::callWithCallbackFailed(const QDBusError & _t1, const QDBusMessage & _t2)
384{
385 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
386 QMetaObject::activate(this, &staticMetaObject, 7, _a);
387}
388
389// SIGNAL 8
390void QDBusConnectionPrivate::newServerConnection(QDBusConnectionPrivate * _t1)
391{
392 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
393 QMetaObject::activate(this, &staticMetaObject, 8, _a);
394}
395struct qt_meta_stringdata_QDBusConnectionDispatchEnabler_t {
396 const uint offsetsAndSize[6];
397 char stringdata0[40];
398};
399#define QT_MOC_LITERAL(ofs, len) \
400 uint(offsetof(qt_meta_stringdata_QDBusConnectionDispatchEnabler_t, stringdata0) + ofs), len
401static const qt_meta_stringdata_QDBusConnectionDispatchEnabler_t qt_meta_stringdata_QDBusConnectionDispatchEnabler = {
402 {
403QT_MOC_LITERAL(0, 30), // "QDBusConnectionDispatchEnabler"
404QT_MOC_LITERAL(31, 7), // "execute"
405QT_MOC_LITERAL(39, 0) // ""
406
407 },
408 "QDBusConnectionDispatchEnabler\0execute\0"
409 ""
410};
411#undef QT_MOC_LITERAL
412
413static const uint qt_meta_data_QDBusConnectionDispatchEnabler[] = {
414
415 // content:
416 9, // revision
417 0, // classname
418 0, 0, // classinfo
419 1, 14, // methods
420 0, 0, // properties
421 0, 0, // enums/sets
422 0, 0, // constructors
423 0, // flags
424 0, // signalCount
425
426 // slots: name, argc, parameters, tag, flags, initial metatype offsets
427 1, 0, 20, 2, 0x0a, 0 /* Public */,
428
429 // slots: parameters
430 QMetaType::Void,
431
432 0 // eod
433};
434
435void QDBusConnectionDispatchEnabler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
436{
437 if (_c == QMetaObject::InvokeMetaMethod) {
438 Q_ASSERT(staticMetaObject.cast(_o));
439 auto *_t = static_cast<QDBusConnectionDispatchEnabler *>(_o);
440 Q_UNUSED(_t)
441 switch (_id) {
442 case 0: _t->execute(); break;
443 default: ;
444 }
445 }
446 Q_UNUSED(_a);
447}
448
449const QMetaObject QDBusConnectionDispatchEnabler::staticMetaObject = { {
450 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
451 qt_meta_stringdata_QDBusConnectionDispatchEnabler.offsetsAndSize,
452 qt_meta_data_QDBusConnectionDispatchEnabler,
453 qt_static_metacall,
454 nullptr,
455qt_incomplete_metaTypeArray<qt_meta_stringdata_QDBusConnectionDispatchEnabler_t
456
457, QtPrivate::TypeAndForceComplete<void, std::false_type>
458
459
460>,
461 nullptr
462} };
463
464
465const QMetaObject *QDBusConnectionDispatchEnabler::metaObject() const
466{
467 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
468}
469
470void *QDBusConnectionDispatchEnabler::qt_metacast(const char *_clname)
471{
472 if (!_clname) return nullptr;
473 if (!strcmp(_clname, qt_meta_stringdata_QDBusConnectionDispatchEnabler.stringdata0))
474 return static_cast<void*>(this);
475 return QObject::qt_metacast(_clname);
476}
477
478int QDBusConnectionDispatchEnabler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
479{
480 _id = QObject::qt_metacall(_c, _id, _a);
481 if (_id < 0)
482 return _id;
483 if (_c == QMetaObject::InvokeMetaMethod) {
484 if (_id < 1)
485 qt_static_metacall(this, _c, _id, _a);
486 _id -= 1;
487 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
488 if (_id < 1)
489 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
490 _id -= 1;
491 }
492 return _id;
493}
494QT_WARNING_POP
495QT_END_MOC_NAMESPACE
496