1/****************************************************************************
2** Meta object code from reading C++ file 'qibusproxy.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 "qibusproxy.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qibusproxy.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_QIBusProxy_t {
25 const uint offsetsAndSize[44];
26 char stringdata0[301];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QIBusProxy_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QIBusProxy_t qt_meta_stringdata_QIBusProxy = {
31 {
32QT_MOC_LITERAL(0, 10), // "QIBusProxy"
33QT_MOC_LITERAL(11, 19), // "GlobalEngineChanged"
34QT_MOC_LITERAL(31, 0), // ""
35QT_MOC_LITERAL(32, 11), // "engine_name"
36QT_MOC_LITERAL(44, 18), // "CreateInputContext"
37QT_MOC_LITERAL(63, 34), // "QDBusPendingReply<QDBusObject..."
38QT_MOC_LITERAL(98, 4), // "name"
39QT_MOC_LITERAL(103, 4), // "Exit"
40QT_MOC_LITERAL(108, 19), // "QDBusPendingReply<>"
41QT_MOC_LITERAL(128, 7), // "restart"
42QT_MOC_LITERAL(136, 4), // "Ping"
43QT_MOC_LITERAL(141, 31), // "QDBusPendingReply<QDBusVariant>"
44QT_MOC_LITERAL(173, 12), // "QDBusVariant"
45QT_MOC_LITERAL(186, 4), // "data"
46QT_MOC_LITERAL(191, 17), // "RegisterComponent"
47QT_MOC_LITERAL(209, 10), // "components"
48QT_MOC_LITERAL(220, 11), // "GetProperty"
49QT_MOC_LITERAL(232, 16), // "QDBusPendingCall"
50QT_MOC_LITERAL(249, 6), // "method"
51QT_MOC_LITERAL(256, 12), // "GlobalEngine"
52QT_MOC_LITERAL(269, 15), // "getGlobalEngine"
53QT_MOC_LITERAL(285, 15) // "QIBusEngineDesc"
54
55 },
56 "QIBusProxy\0GlobalEngineChanged\0\0"
57 "engine_name\0CreateInputContext\0"
58 "QDBusPendingReply<QDBusObjectPath>\0"
59 "name\0Exit\0QDBusPendingReply<>\0restart\0"
60 "Ping\0QDBusPendingReply<QDBusVariant>\0"
61 "QDBusVariant\0data\0RegisterComponent\0"
62 "components\0GetProperty\0QDBusPendingCall\0"
63 "method\0GlobalEngine\0getGlobalEngine\0"
64 "QIBusEngineDesc"
65};
66#undef QT_MOC_LITERAL
67
68static const uint qt_meta_data_QIBusProxy[] = {
69
70 // content:
71 9, // revision
72 0, // classname
73 0, 0, // classinfo
74 8, 14, // methods
75 0, 0, // properties
76 0, 0, // enums/sets
77 0, 0, // constructors
78 0, // flags
79 1, // signalCount
80
81 // signals: name, argc, parameters, tag, flags, initial metatype offsets
82 1, 1, 62, 2, 0x06, 0 /* Public */,
83
84 // slots: name, argc, parameters, tag, flags, initial metatype offsets
85 4, 1, 65, 2, 0x0a, 2 /* Public */,
86 7, 1, 68, 2, 0x0a, 4 /* Public */,
87 10, 1, 71, 2, 0x0a, 6 /* Public */,
88 14, 1, 74, 2, 0x0a, 8 /* Public */,
89 16, 1, 77, 2, 0x0a, 10 /* Public */,
90 19, 0, 80, 2, 0x0a, 12 /* Public */,
91 20, 0, 81, 2, 0x0a, 13 /* Public */,
92
93 // signals: parameters
94 QMetaType::Void, QMetaType::QString, 3,
95
96 // slots: parameters
97 0x80000000 | 5, QMetaType::QString, 6,
98 0x80000000 | 8, QMetaType::Bool, 9,
99 0x80000000 | 11, 0x80000000 | 12, 13,
100 0x80000000 | 8, 0x80000000 | 12, 15,
101 0x80000000 | 17, QMetaType::QString, 18,
102 0x80000000 | 17,
103 0x80000000 | 21,
104
105 0 // eod
106};
107
108void QIBusProxy::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
109{
110 if (_c == QMetaObject::InvokeMetaMethod) {
111 Q_ASSERT(staticMetaObject.cast(_o));
112 auto *_t = static_cast<QIBusProxy *>(_o);
113 Q_UNUSED(_t)
114 switch (_id) {
115 case 0: _t->GlobalEngineChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
116 case 1: { QDBusPendingReply<QDBusObjectPath> _r = _t->CreateInputContext((*reinterpret_cast< const QString(*)>(_a[1])));
117 if (_a[0]) *reinterpret_cast< QDBusPendingReply<QDBusObjectPath>*>(_a[0]) = std::move(_r); } break;
118 case 2: { QDBusPendingReply<> _r = _t->Exit((*reinterpret_cast< bool(*)>(_a[1])));
119 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); } break;
120 case 3: { QDBusPendingReply<QDBusVariant> _r = _t->Ping((*reinterpret_cast< const QDBusVariant(*)>(_a[1])));
121 if (_a[0]) *reinterpret_cast< QDBusPendingReply<QDBusVariant>*>(_a[0]) = std::move(_r); } break;
122 case 4: { QDBusPendingReply<> _r = _t->RegisterComponent((*reinterpret_cast< const QDBusVariant(*)>(_a[1])));
123 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); } break;
124 case 5: { QDBusPendingCall _r = _t->GetProperty((*reinterpret_cast< const QString(*)>(_a[1])));
125 if (_a[0]) *reinterpret_cast< QDBusPendingCall*>(_a[0]) = std::move(_r); } break;
126 case 6: { QDBusPendingCall _r = _t->GlobalEngine();
127 if (_a[0]) *reinterpret_cast< QDBusPendingCall*>(_a[0]) = std::move(_r); } break;
128 case 7: { QIBusEngineDesc _r = _t->getGlobalEngine();
129 if (_a[0]) *reinterpret_cast< QIBusEngineDesc*>(_a[0]) = std::move(_r); } break;
130 default: ;
131 }
132 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
133 switch (_id) {
134 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
135 case 3:
136 switch (*reinterpret_cast<int*>(_a[1])) {
137 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
138 case 0:
139 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusVariant >(); break;
140 }
141 break;
142 case 4:
143 switch (*reinterpret_cast<int*>(_a[1])) {
144 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
145 case 0:
146 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusVariant >(); break;
147 }
148 break;
149 }
150 } else if (_c == QMetaObject::IndexOfMethod) {
151 int *result = reinterpret_cast<int *>(_a[0]);
152 {
153 using _t = void (QIBusProxy::*)(const QString & );
154 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QIBusProxy::GlobalEngineChanged)) {
155 *result = 0;
156 return;
157 }
158 }
159 }
160}
161
162const QMetaObject QIBusProxy::staticMetaObject = { {
163 QMetaObject::SuperData::link<QDBusAbstractInterface::staticMetaObject>(),
164 qt_meta_stringdata_QIBusProxy.offsetsAndSize,
165 qt_meta_data_QIBusProxy,
166 qt_static_metacall,
167 nullptr,
168qt_incomplete_metaTypeArray<qt_meta_stringdata_QIBusProxy_t
169, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
170, QtPrivate::TypeAndForceComplete<QDBusPendingReply<QDBusObjectPath>, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusPendingReply<>, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusPendingReply<QDBusVariant>, std::false_type>, QtPrivate::TypeAndForceComplete<const QDBusVariant &, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusPendingReply<>, std::false_type>, QtPrivate::TypeAndForceComplete<const QDBusVariant &, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusPendingCall, std::false_type>, QtPrivate::TypeAndForceComplete<const QString, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusPendingCall, std::false_type>, QtPrivate::TypeAndForceComplete<QIBusEngineDesc, std::false_type>
171
172
173>,
174 nullptr
175} };
176
177
178const QMetaObject *QIBusProxy::metaObject() const
179{
180 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
181}
182
183void *QIBusProxy::qt_metacast(const char *_clname)
184{
185 if (!_clname) return nullptr;
186 if (!strcmp(_clname, qt_meta_stringdata_QIBusProxy.stringdata0))
187 return static_cast<void*>(this);
188 return QDBusAbstractInterface::qt_metacast(_clname);
189}
190
191int QIBusProxy::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
192{
193 _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
194 if (_id < 0)
195 return _id;
196 if (_c == QMetaObject::InvokeMetaMethod) {
197 if (_id < 8)
198 qt_static_metacall(this, _c, _id, _a);
199 _id -= 8;
200 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
201 if (_id < 8)
202 qt_static_metacall(this, _c, _id, _a);
203 _id -= 8;
204 }
205 return _id;
206}
207
208// SIGNAL 0
209void QIBusProxy::GlobalEngineChanged(const QString & _t1)
210{
211 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
212 QMetaObject::activate(this, &staticMetaObject, 0, _a);
213}
214QT_WARNING_POP
215QT_END_MOC_NAMESPACE
216