1/****************************************************************************
2** Meta object code from reading C++ file 'qdbusconnectionmanager_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 "qdbusconnectionmanager_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 'qdbusconnectionmanager_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_QDBusConnectionManager_t {
26 const uint offsetsAndSize[14];
27 char stringdata0[98];
28};
29#define QT_MOC_LITERAL(ofs, len) \
30 uint(offsetof(qt_meta_stringdata_QDBusConnectionManager_t, stringdata0) + ofs), len
31static const qt_meta_stringdata_QDBusConnectionManager_t qt_meta_stringdata_QDBusConnectionManager = {
32 {
33QT_MOC_LITERAL(0, 22), // "QDBusConnectionManager"
34QT_MOC_LITERAL(23, 19), // "connectionRequested"
35QT_MOC_LITERAL(43, 0), // ""
36QT_MOC_LITERAL(44, 22), // "ConnectionRequestData*"
37QT_MOC_LITERAL(67, 15), // "serverRequested"
38QT_MOC_LITERAL(83, 7), // "address"
39QT_MOC_LITERAL(91, 6) // "server"
40
41 },
42 "QDBusConnectionManager\0connectionRequested\0"
43 "\0ConnectionRequestData*\0serverRequested\0"
44 "address\0server"
45};
46#undef QT_MOC_LITERAL
47
48static const uint qt_meta_data_QDBusConnectionManager[] = {
49
50 // content:
51 9, // revision
52 0, // classname
53 0, 0, // classinfo
54 2, 14, // methods
55 0, 0, // properties
56 0, 0, // enums/sets
57 0, 0, // constructors
58 0, // flags
59 2, // signalCount
60
61 // signals: name, argc, parameters, tag, flags, initial metatype offsets
62 1, 1, 26, 2, 0x06, 0 /* Public */,
63 4, 2, 29, 2, 0x06, 2 /* Public */,
64
65 // signals: parameters
66 QMetaType::Void, 0x80000000 | 3, 2,
67 QMetaType::Void, QMetaType::QString, QMetaType::VoidStar, 5, 6,
68
69 0 // eod
70};
71
72void QDBusConnectionManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
73{
74 if (_c == QMetaObject::InvokeMetaMethod) {
75 Q_ASSERT(staticMetaObject.cast(_o));
76 auto *_t = static_cast<QDBusConnectionManager *>(_o);
77 Q_UNUSED(_t)
78 switch (_id) {
79 case 0: _t->connectionRequested((*reinterpret_cast< ConnectionRequestData*(*)>(_a[1]))); break;
80 case 1: _t->serverRequested((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< void*(*)>(_a[2]))); break;
81 default: ;
82 }
83 } else if (_c == QMetaObject::IndexOfMethod) {
84 int *result = reinterpret_cast<int *>(_a[0]);
85 {
86 using _t = void (QDBusConnectionManager::*)(ConnectionRequestData * );
87 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionManager::connectionRequested)) {
88 *result = 0;
89 return;
90 }
91 }
92 {
93 using _t = void (QDBusConnectionManager::*)(const QString & , void * );
94 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionManager::serverRequested)) {
95 *result = 1;
96 return;
97 }
98 }
99 }
100}
101
102const QMetaObject QDBusConnectionManager::staticMetaObject = { {
103 QMetaObject::SuperData::link<QDaemonThread::staticMetaObject>(),
104 qt_meta_stringdata_QDBusConnectionManager.offsetsAndSize,
105 qt_meta_data_QDBusConnectionManager,
106 qt_static_metacall,
107 nullptr,
108qt_incomplete_metaTypeArray<qt_meta_stringdata_QDBusConnectionManager_t
109, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<ConnectionRequestData *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void *, std::false_type>
110
111
112
113>,
114 nullptr
115} };
116
117
118const QMetaObject *QDBusConnectionManager::metaObject() const
119{
120 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
121}
122
123void *QDBusConnectionManager::qt_metacast(const char *_clname)
124{
125 if (!_clname) return nullptr;
126 if (!strcmp(_clname, qt_meta_stringdata_QDBusConnectionManager.stringdata0))
127 return static_cast<void*>(this);
128 return QDaemonThread::qt_metacast(_clname);
129}
130
131int QDBusConnectionManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
132{
133 _id = QDaemonThread::qt_metacall(_c, _id, _a);
134 if (_id < 0)
135 return _id;
136 if (_c == QMetaObject::InvokeMetaMethod) {
137 if (_id < 2)
138 qt_static_metacall(this, _c, _id, _a);
139 _id -= 2;
140 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
141 if (_id < 2)
142 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
143 _id -= 2;
144 }
145 return _id;
146}
147
148// SIGNAL 0
149void QDBusConnectionManager::connectionRequested(ConnectionRequestData * _t1)
150{
151 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
152 QMetaObject::activate(this, &staticMetaObject, 0, _a);
153}
154
155// SIGNAL 1
156void QDBusConnectionManager::serverRequested(const QString & _t1, void * _t2)
157{
158 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
159 QMetaObject::activate(this, &staticMetaObject, 1, _a);
160}
161QT_WARNING_POP
162QT_END_MOC_NAMESPACE
163