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