1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qdbusplatformmenu_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 "platform/unix/dbusmenu/qdbusplatformmenu_p.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qdbusplatformmenu_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 { |
25 | const uint offsetsAndSize[2]; |
26 | char [22]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QDBusPlatformMenuItem_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QDBusPlatformMenuItem_t = { |
31 | { |
32 | QT_MOC_LITERAL(0, 21) // "QDBusPlatformMenuItem" |
33 | |
34 | }, |
35 | "QDBusPlatformMenuItem" |
36 | }; |
37 | #undef QT_MOC_LITERAL |
38 | |
39 | static const uint [] = { |
40 | |
41 | // content: |
42 | 9, // revision |
43 | 0, // classname |
44 | 0, 0, // classinfo |
45 | 0, 0, // methods |
46 | 0, 0, // properties |
47 | 0, 0, // enums/sets |
48 | 0, 0, // constructors |
49 | 0, // flags |
50 | 0, // signalCount |
51 | |
52 | 0 // eod |
53 | }; |
54 | |
55 | void QDBusPlatformMenuItem::(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
56 | { |
57 | Q_UNUSED(_o); |
58 | Q_UNUSED(_id); |
59 | Q_UNUSED(_c); |
60 | Q_UNUSED(_a); |
61 | } |
62 | |
63 | const QMetaObject QDBusPlatformMenuItem:: = { { |
64 | QMetaObject::SuperData::link<QPlatformMenuItem::staticMetaObject>(), |
65 | qt_meta_stringdata_QDBusPlatformMenuItem.offsetsAndSize, |
66 | qt_meta_data_QDBusPlatformMenuItem, |
67 | qt_static_metacall, |
68 | nullptr, |
69 | nullptr, |
70 | nullptr |
71 | } }; |
72 | |
73 | |
74 | const QMetaObject *QDBusPlatformMenuItem::() const |
75 | { |
76 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
77 | } |
78 | |
79 | void *QDBusPlatformMenuItem::(const char *_clname) |
80 | { |
81 | if (!_clname) return nullptr; |
82 | if (!strcmp(_clname, qt_meta_stringdata_QDBusPlatformMenuItem.stringdata0)) |
83 | return static_cast<void*>(this); |
84 | return QPlatformMenuItem::qt_metacast(_clname); |
85 | } |
86 | |
87 | int QDBusPlatformMenuItem::(QMetaObject::Call _c, int _id, void **_a) |
88 | { |
89 | _id = QPlatformMenuItem::qt_metacall(_c, _id, _a); |
90 | return _id; |
91 | } |
92 | struct { |
93 | const uint offsetsAndSize[26]; |
94 | char [155]; |
95 | }; |
96 | #define QT_MOC_LITERAL(ofs, len) \ |
97 | uint(offsetof(qt_meta_stringdata_QDBusPlatformMenu_t, stringdata0) + ofs), len |
98 | static const qt_meta_stringdata_QDBusPlatformMenu_t = { |
99 | { |
100 | QT_MOC_LITERAL(0, 17), // "QDBusPlatformMenu" |
101 | QT_MOC_LITERAL(18, 7), // "updated" |
102 | QT_MOC_LITERAL(26, 0), // "" |
103 | QT_MOC_LITERAL(27, 8), // "revision" |
104 | QT_MOC_LITERAL(36, 6), // "dbusId" |
105 | QT_MOC_LITERAL(43, 17), // "propertiesUpdated" |
106 | QT_MOC_LITERAL(61, 17), // "QDBusMenuItemList" |
107 | QT_MOC_LITERAL(79, 12), // "updatedProps" |
108 | QT_MOC_LITERAL(92, 21), // "QDBusMenuItemKeysList" |
109 | QT_MOC_LITERAL(114, 12), // "removedProps" |
110 | QT_MOC_LITERAL(127, 14), // "popupRequested" |
111 | QT_MOC_LITERAL(142, 2), // "id" |
112 | QT_MOC_LITERAL(145, 9) // "timestamp" |
113 | |
114 | }, |
115 | "QDBusPlatformMenu\0updated\0\0revision\0" |
116 | "dbusId\0propertiesUpdated\0QDBusMenuItemList\0" |
117 | "updatedProps\0QDBusMenuItemKeysList\0" |
118 | "removedProps\0popupRequested\0id\0timestamp" |
119 | }; |
120 | #undef QT_MOC_LITERAL |
121 | |
122 | static const uint [] = { |
123 | |
124 | // content: |
125 | 9, // revision |
126 | 0, // classname |
127 | 0, 0, // classinfo |
128 | 3, 14, // methods |
129 | 0, 0, // properties |
130 | 0, 0, // enums/sets |
131 | 0, 0, // constructors |
132 | 0, // flags |
133 | 3, // signalCount |
134 | |
135 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
136 | 1, 2, 32, 2, 0x06, 0 /* Public */, |
137 | 5, 2, 37, 2, 0x06, 3 /* Public */, |
138 | 10, 2, 42, 2, 0x06, 6 /* Public */, |
139 | |
140 | // signals: parameters |
141 | QMetaType::Void, QMetaType::UInt, QMetaType::Int, 3, 4, |
142 | QMetaType::Void, 0x80000000 | 6, 0x80000000 | 8, 7, 9, |
143 | QMetaType::Void, QMetaType::Int, QMetaType::UInt, 11, 12, |
144 | |
145 | 0 // eod |
146 | }; |
147 | |
148 | void QDBusPlatformMenu::(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
149 | { |
150 | if (_c == QMetaObject::InvokeMetaMethod) { |
151 | Q_ASSERT(staticMetaObject.cast(_o)); |
152 | auto *_t = static_cast<QDBusPlatformMenu *>(_o); |
153 | Q_UNUSED(_t) |
154 | switch (_id) { |
155 | case 0: _t->updated((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; |
156 | case 1: _t->propertiesUpdated((*reinterpret_cast< QDBusMenuItemList(*)>(_a[1])),(*reinterpret_cast< QDBusMenuItemKeysList(*)>(_a[2]))); break; |
157 | case 2: _t->popupRequested((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break; |
158 | default: ; |
159 | } |
160 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
161 | switch (_id) { |
162 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
163 | case 1: |
164 | switch (*reinterpret_cast<int*>(_a[1])) { |
165 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
166 | case 1: |
167 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusMenuItemKeysList >(); break; |
168 | case 0: |
169 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusMenuItemList >(); break; |
170 | } |
171 | break; |
172 | } |
173 | } else if (_c == QMetaObject::IndexOfMethod) { |
174 | int *result = reinterpret_cast<int *>(_a[0]); |
175 | { |
176 | using _t = void (QDBusPlatformMenu::*)(uint , int ); |
177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusPlatformMenu::updated)) { |
178 | *result = 0; |
179 | return; |
180 | } |
181 | } |
182 | { |
183 | using _t = void (QDBusPlatformMenu::*)(QDBusMenuItemList , QDBusMenuItemKeysList ); |
184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusPlatformMenu::propertiesUpdated)) { |
185 | *result = 1; |
186 | return; |
187 | } |
188 | } |
189 | { |
190 | using _t = void (QDBusPlatformMenu::*)(int , uint ); |
191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusPlatformMenu::popupRequested)) { |
192 | *result = 2; |
193 | return; |
194 | } |
195 | } |
196 | } |
197 | } |
198 | |
199 | const QMetaObject QDBusPlatformMenu:: = { { |
200 | QMetaObject::SuperData::link<QPlatformMenu::staticMetaObject>(), |
201 | qt_meta_stringdata_QDBusPlatformMenu.offsetsAndSize, |
202 | qt_meta_data_QDBusPlatformMenu, |
203 | qt_static_metacall, |
204 | nullptr, |
205 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QDBusPlatformMenu_t |
206 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<uint, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusMenuItemList, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusMenuItemKeysList, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<uint, std::false_type> |
207 | |
208 | |
209 | |
210 | >, |
211 | nullptr |
212 | } }; |
213 | |
214 | |
215 | const QMetaObject *QDBusPlatformMenu::() const |
216 | { |
217 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
218 | } |
219 | |
220 | void *QDBusPlatformMenu::(const char *_clname) |
221 | { |
222 | if (!_clname) return nullptr; |
223 | if (!strcmp(_clname, qt_meta_stringdata_QDBusPlatformMenu.stringdata0)) |
224 | return static_cast<void*>(this); |
225 | return QPlatformMenu::qt_metacast(_clname); |
226 | } |
227 | |
228 | int QDBusPlatformMenu::(QMetaObject::Call _c, int _id, void **_a) |
229 | { |
230 | _id = QPlatformMenu::qt_metacall(_c, _id, _a); |
231 | if (_id < 0) |
232 | return _id; |
233 | if (_c == QMetaObject::InvokeMetaMethod) { |
234 | if (_id < 3) |
235 | qt_static_metacall(this, _c, _id, _a); |
236 | _id -= 3; |
237 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
238 | if (_id < 3) |
239 | qt_static_metacall(this, _c, _id, _a); |
240 | _id -= 3; |
241 | } |
242 | return _id; |
243 | } |
244 | |
245 | // SIGNAL 0 |
246 | void QDBusPlatformMenu::(uint _t1, int _t2) |
247 | { |
248 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
249 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
250 | } |
251 | |
252 | // SIGNAL 1 |
253 | void QDBusPlatformMenu::(QDBusMenuItemList _t1, QDBusMenuItemKeysList _t2) |
254 | { |
255 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
256 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
257 | } |
258 | |
259 | // SIGNAL 2 |
260 | void QDBusPlatformMenu::(int _t1, uint _t2) |
261 | { |
262 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
263 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
264 | } |
265 | QT_WARNING_POP |
266 | QT_END_MOC_NAMESPACE |
267 | |