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