1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qdbusmenuconnection_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/qdbusmenuconnection_p.h" |
11 | #include <QtDBus/QDBusError> |
12 | #include <QtCore/qbytearray.h> |
13 | #include <QtCore/qmetatype.h> |
14 | #if !defined(Q_MOC_OUTPUT_REVISION) |
15 | #error "The header file 'qdbusmenuconnection_p.h' doesn't include <QObject>." |
16 | #elif Q_MOC_OUTPUT_REVISION != 68 |
17 | #error "This file was generated using the moc from 6.0.0. It" |
18 | #error "cannot be used with the include files from this version of Qt." |
19 | #error "(The moc has changed too much.)" |
20 | #endif |
21 | |
22 | QT_BEGIN_MOC_NAMESPACE |
23 | QT_WARNING_PUSH |
24 | QT_WARNING_DISABLE_DEPRECATED |
25 | struct { |
26 | const uint offsetsAndSize[12]; |
27 | char [67]; |
28 | }; |
29 | #define QT_MOC_LITERAL(ofs, len) \ |
30 | uint(offsetof(qt_meta_stringdata_QDBusMenuConnection_t, stringdata0) + ofs), len |
31 | static const qt_meta_stringdata_QDBusMenuConnection_t = { |
32 | { |
33 | QT_MOC_LITERAL(0, 19), // "QDBusMenuConnection" |
34 | QT_MOC_LITERAL(20, 18), // "trayIconRegistered" |
35 | QT_MOC_LITERAL(39, 0), // "" |
36 | QT_MOC_LITERAL(40, 9), // "dbusError" |
37 | QT_MOC_LITERAL(50, 10), // "QDBusError" |
38 | QT_MOC_LITERAL(61, 5) // "error" |
39 | |
40 | }, |
41 | "QDBusMenuConnection\0trayIconRegistered\0" |
42 | "\0dbusError\0QDBusError\0error" |
43 | }; |
44 | #undef QT_MOC_LITERAL |
45 | |
46 | static const uint [] = { |
47 | |
48 | // content: |
49 | 9, // revision |
50 | 0, // classname |
51 | 0, 0, // classinfo |
52 | 2, 14, // methods |
53 | 0, 0, // properties |
54 | 0, 0, // enums/sets |
55 | 0, 0, // constructors |
56 | 0, // flags |
57 | 1, // signalCount |
58 | |
59 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
60 | 1, 0, 26, 2, 0x06, 0 /* Public */, |
61 | |
62 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
63 | 3, 1, 27, 2, 0x08, 1 /* Private */, |
64 | |
65 | // signals: parameters |
66 | QMetaType::Void, |
67 | |
68 | // slots: parameters |
69 | QMetaType::Void, 0x80000000 | 4, 5, |
70 | |
71 | 0 // eod |
72 | }; |
73 | |
74 | void QDBusMenuConnection::(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
75 | { |
76 | if (_c == QMetaObject::InvokeMetaMethod) { |
77 | Q_ASSERT(staticMetaObject.cast(_o)); |
78 | auto *_t = static_cast<QDBusMenuConnection *>(_o); |
79 | Q_UNUSED(_t) |
80 | switch (_id) { |
81 | case 0: _t->trayIconRegistered(); break; |
82 | case 1: _t->dbusError((*reinterpret_cast< const QDBusError(*)>(_a[1]))); break; |
83 | default: ; |
84 | } |
85 | } else if (_c == QMetaObject::IndexOfMethod) { |
86 | int *result = reinterpret_cast<int *>(_a[0]); |
87 | { |
88 | using _t = void (QDBusMenuConnection::*)(); |
89 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusMenuConnection::trayIconRegistered)) { |
90 | *result = 0; |
91 | return; |
92 | } |
93 | } |
94 | } |
95 | } |
96 | |
97 | const QMetaObject QDBusMenuConnection:: = { { |
98 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
99 | qt_meta_stringdata_QDBusMenuConnection.offsetsAndSize, |
100 | qt_meta_data_QDBusMenuConnection, |
101 | qt_static_metacall, |
102 | nullptr, |
103 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QDBusMenuConnection_t |
104 | , QtPrivate::TypeAndForceComplete<void, std::false_type> |
105 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QDBusError &, std::false_type> |
106 | |
107 | |
108 | >, |
109 | nullptr |
110 | } }; |
111 | |
112 | |
113 | const QMetaObject *QDBusMenuConnection::() const |
114 | { |
115 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
116 | } |
117 | |
118 | void *QDBusMenuConnection::(const char *_clname) |
119 | { |
120 | if (!_clname) return nullptr; |
121 | if (!strcmp(_clname, qt_meta_stringdata_QDBusMenuConnection.stringdata0)) |
122 | return static_cast<void*>(this); |
123 | return QObject::qt_metacast(_clname); |
124 | } |
125 | |
126 | int QDBusMenuConnection::(QMetaObject::Call _c, int _id, void **_a) |
127 | { |
128 | _id = QObject::qt_metacall(_c, _id, _a); |
129 | if (_id < 0) |
130 | return _id; |
131 | if (_c == QMetaObject::InvokeMetaMethod) { |
132 | if (_id < 2) |
133 | qt_static_metacall(this, _c, _id, _a); |
134 | _id -= 2; |
135 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
136 | if (_id < 2) |
137 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
138 | _id -= 2; |
139 | } |
140 | return _id; |
141 | } |
142 | |
143 | // SIGNAL 0 |
144 | void QDBusMenuConnection::() |
145 | { |
146 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
147 | } |
148 | QT_WARNING_POP |
149 | QT_END_MOC_NAMESPACE |
150 | |