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