1/****************************************************************************
2** Meta object code from reading C++ file 'qstatusnotifieritemadaptor_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/dbustray/qstatusnotifieritemadaptor_p.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qstatusnotifieritemadaptor_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_QStatusNotifierItemAdaptor_t {
25 const uint offsetsAndSize[78];
26 char stringdata0[2961];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QStatusNotifierItemAdaptor_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QStatusNotifierItemAdaptor_t qt_meta_stringdata_QStatusNotifierItemAdaptor = {
31 {
32QT_MOC_LITERAL(0, 26), // "QStatusNotifierItemAdaptor"
33QT_MOC_LITERAL(27, 15), // "D-Bus Interface"
34QT_MOC_LITERAL(43, 26), // "org.kde.StatusNotifierItem"
35QT_MOC_LITERAL(70, 19), // "D-Bus Introspection"
36QT_MOC_LITERAL(90, 2498), // " <interface name=\"org.kde.S..."
37QT_MOC_LITERAL(2350, 16), // "NewAttentionIcon"
38QT_MOC_LITERAL(2367, 0), // ""
39QT_MOC_LITERAL(2368, 7), // "NewIcon"
40QT_MOC_LITERAL(2376, 14), // "NewOverlayIcon"
41QT_MOC_LITERAL(2391, 7), // "NewMenu"
42QT_MOC_LITERAL(2399, 9), // "NewStatus"
43QT_MOC_LITERAL(2409, 6), // "status"
44QT_MOC_LITERAL(2416, 8), // "NewTitle"
45QT_MOC_LITERAL(2425, 10), // "NewToolTip"
46QT_MOC_LITERAL(2436, 8), // "Activate"
47QT_MOC_LITERAL(2445, 1), // "x"
48QT_MOC_LITERAL(2447, 1), // "y"
49QT_MOC_LITERAL(2449, 11), // "ContextMenu"
50QT_MOC_LITERAL(2461, 6), // "Scroll"
51QT_MOC_LITERAL(2468, 5), // "delta"
52QT_MOC_LITERAL(2474, 11), // "orientation"
53QT_MOC_LITERAL(2486, 17), // "SecondaryActivate"
54QT_MOC_LITERAL(2504, 17), // "AttentionIconName"
55QT_MOC_LITERAL(2522, 19), // "AttentionIconPixmap"
56QT_MOC_LITERAL(2542, 19), // "QXdgDBusImageVector"
57QT_MOC_LITERAL(2562, 18), // "AttentionMovieName"
58QT_MOC_LITERAL(2581, 8), // "Category"
59QT_MOC_LITERAL(2590, 8), // "IconName"
60QT_MOC_LITERAL(2599, 10), // "IconPixmap"
61QT_MOC_LITERAL(2610, 2), // "Id"
62QT_MOC_LITERAL(2613, 10), // "ItemIsMenu"
63QT_MOC_LITERAL(2624, 4), // "Menu"
64QT_MOC_LITERAL(2629, 15), // "QDBusObjectPath"
65QT_MOC_LITERAL(2645, 15), // "OverlayIconName"
66QT_MOC_LITERAL(2661, 17), // "OverlayIconPixmap"
67QT_MOC_LITERAL(2679, 6), // "Status"
68QT_MOC_LITERAL(2686, 5), // "Title"
69QT_MOC_LITERAL(2692, 7), // "ToolTip"
70QT_MOC_LITERAL(2700, 21) // "QXdgDBusToolTipStruct"
71
72 },
73 "QStatusNotifierItemAdaptor\0D-Bus Interface\0"
74 "org.kde.StatusNotifierItem\0"
75 "D-Bus Introspection\0"
76 " <interface name=\"org.kde.StatusNotifierItem\">\n <property acces"
77 "s=\"read\" type=\"s\" name=\"Category\"/>\n <property access=\"read"
78 "\" type=\"s\" name=\"Id\"/>\n <property access=\"read\" type=\"s\" "
79 "name=\"Title\"/>\n <property access=\"read\" type=\"s\" name=\"Stat"
80 "us\"/>\n <property access=\"read\" type=\"i\" name=\"WindowId\"/>\n"
81 " <property access=\"read\" type=\"s\" name=\"IconThemePath\"/>\n "
82 " <property access=\"read\" type=\"o\" name=\"Menu\"/>\n <property a"
83 "ccess=\"read\" type=\"b\" name=\"ItemIsMenu\"/>\n <property access="
84 "\"read\" type=\"s\" name=\"IconName\"/>\n <property access=\"read\""
85 " type=\"a(iiay)\" name=\"IconPixmap\">\n <annotation value=\"QXdg"
86 "DBusImageVector\" name=\"org.qtproject.QtDBus.QtTypeName\"/>\n </pr"
87 "operty>\n <property access=\"read\" type=\"s\" name=\"OverlayIconNa"
88 "me\"/>\n <property access=\"read\" type=\"a(iiay)\" name=\"OverlayI"
89 "conPixmap\">\n <annotation value=\"QXdgDBusImageVector\" name=\"o"
90 "rg.qtproject.QtDBus.QtTypeName\"/>\n </property>\n <property acc"
91 "ess=\"read\" type=\"s\" name=\"AttentionIconName\"/>\n <property ac"
92 "cess=\"read\" type=\"a(iiay)\" name=\"AttentionIconPixmap\">\n <a"
93 "nnotation value=\"QXdgDBusImageVector\" name=\"org.qtproject.QtDBus.Qt"
94 "TypeName\"/>\n </property>\n <property access=\"read\" type=\"s\""
95 " name=\"AttentionMovieName\"/>\n <property access=\"read\" type=\"("
96 "sa(iiay)ss)\" name=\"ToolTip\">\n <annotation value=\"QXdgDBusToo"
97 "lTipStruct\" name=\"org.qtproject.QtDBus.QtTypeName\"/>\n </propert"
98 "y>\n <method name=\"ContextMenu\">\n <arg direction=\"in\" typ"
99 "e=\"i\" name=\"x\"/>\n <arg direction=\"in\" type=\"i\" name=\"y\""
100 "/>\n </method>\n <method name=\"Activate\">\n <arg directio"
101 "n=\"in\" type=\"i\" name=\"x\"/>\n <arg direction=\"in\" type=\"i"
102 "\" name=\"y\"/>\n </method>\n <method name=\"SecondaryActivate\""
103 ">\n <arg direction=\"in\" type=\"i\" name=\"x\"/>\n <arg dir"
104 "ection=\"in\" type=\"i\" name=\"y\"/>\n </method>\n <method name"
105 "=\"Scroll\">\n <arg direction=\"in\" type=\"i\" name=\"delta\"/>\n"
106 " <arg direction=\"in\" type=\"s\" name=\"orientation\"/>\n </m"
107 "ethod>\n <signal name=\"NewTitle\"/>\n <signal name=\"NewIcon\"/"
108 ">\n <signal name=\"NewAttentionIcon\"/>\n <signal name=\"NewOver"
109 "layIcon\"/>\n <signal name=\"NewMenu\"/>\n <signal name=\"NewToo"
110 "lTip\"/>\n <signal name=\"NewStatus\">\n <arg type=\"s\" name="
111 "\"status\"/>\n </signal>\n </interface>\n\0"
112 "NewAttentionIcon\0\0NewIcon\0NewOverlayIcon\0"
113 "NewMenu\0NewStatus\0status\0NewTitle\0"
114 "NewToolTip\0Activate\0x\0y\0ContextMenu\0"
115 "Scroll\0delta\0orientation\0SecondaryActivate\0"
116 "AttentionIconName\0AttentionIconPixmap\0"
117 "QXdgDBusImageVector\0AttentionMovieName\0"
118 "Category\0IconName\0IconPixmap\0Id\0"
119 "ItemIsMenu\0Menu\0QDBusObjectPath\0"
120 "OverlayIconName\0OverlayIconPixmap\0"
121 "Status\0Title\0ToolTip\0QXdgDBusToolTipStruct"
122};
123#undef QT_MOC_LITERAL
124
125static const uint qt_meta_data_QStatusNotifierItemAdaptor[] = {
126
127 // content:
128 9, // revision
129 0, // classname
130 2, 14, // classinfo
131 11, 18, // methods
132 14, 113, // properties
133 0, 0, // enums/sets
134 0, 0, // constructors
135 0, // flags
136 7, // signalCount
137
138 // classinfo: key, value
139 1, 2,
140 3, 4,
141
142 // signals: name, argc, parameters, tag, flags, initial metatype offsets
143 5, 0, 84, 6, 0x06, 14 /* Public */,
144 7, 0, 85, 6, 0x06, 15 /* Public */,
145 8, 0, 86, 6, 0x06, 16 /* Public */,
146 9, 0, 87, 6, 0x06, 17 /* Public */,
147 10, 1, 88, 6, 0x06, 18 /* Public */,
148 12, 0, 91, 6, 0x06, 20 /* Public */,
149 13, 0, 92, 6, 0x06, 21 /* Public */,
150
151 // slots: name, argc, parameters, tag, flags, initial metatype offsets
152 14, 2, 93, 6, 0x0a, 22 /* Public */,
153 17, 2, 98, 6, 0x0a, 25 /* Public */,
154 18, 2, 103, 6, 0x0a, 28 /* Public */,
155 21, 2, 108, 6, 0x0a, 31 /* Public */,
156
157 // signals: parameters
158 QMetaType::Void,
159 QMetaType::Void,
160 QMetaType::Void,
161 QMetaType::Void,
162 QMetaType::Void, QMetaType::QString, 11,
163 QMetaType::Void,
164 QMetaType::Void,
165
166 // slots: parameters
167 QMetaType::Void, QMetaType::Int, QMetaType::Int, 15, 16,
168 QMetaType::Void, QMetaType::Int, QMetaType::Int, 15, 16,
169 QMetaType::Void, QMetaType::Int, QMetaType::QString, 19, 20,
170 QMetaType::Void, QMetaType::Int, QMetaType::Int, 15, 16,
171
172 // properties: name, type, flags
173 22, QMetaType::QString, 0x00015001, uint(-1), 0,
174 23, 0x80000000 | 24, 0x00015009, uint(-1), 0,
175 25, QMetaType::QString, 0x00015001, uint(-1), 0,
176 26, QMetaType::QString, 0x00015001, uint(-1), 0,
177 27, QMetaType::QString, 0x00015001, uint(-1), 0,
178 28, 0x80000000 | 24, 0x00015009, uint(-1), 0,
179 29, QMetaType::QString, 0x00015001, uint(-1), 0,
180 30, QMetaType::Bool, 0x00015001, uint(-1), 0,
181 31, 0x80000000 | 32, 0x00015009, uint(-1), 0,
182 33, QMetaType::QString, 0x00015001, uint(-1), 0,
183 34, 0x80000000 | 24, 0x00015009, uint(-1), 0,
184 35, QMetaType::QString, 0x00015001, uint(-1), 0,
185 36, QMetaType::QString, 0x00015001, uint(-1), 0,
186 37, 0x80000000 | 38, 0x00015009, uint(-1), 0,
187
188 0 // eod
189};
190
191void QStatusNotifierItemAdaptor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
192{
193 if (_c == QMetaObject::InvokeMetaMethod) {
194 Q_ASSERT(staticMetaObject.cast(_o));
195 auto *_t = static_cast<QStatusNotifierItemAdaptor *>(_o);
196 Q_UNUSED(_t)
197 switch (_id) {
198 case 0: _t->NewAttentionIcon(); break;
199 case 1: _t->NewIcon(); break;
200 case 2: _t->NewOverlayIcon(); break;
201 case 3: _t->NewMenu(); break;
202 case 4: _t->NewStatus((*reinterpret_cast< const QString(*)>(_a[1]))); break;
203 case 5: _t->NewTitle(); break;
204 case 6: _t->NewToolTip(); break;
205 case 7: _t->Activate((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
206 case 8: _t->ContextMenu((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
207 case 9: _t->Scroll((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
208 case 10: _t->SecondaryActivate((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
209 default: ;
210 }
211 } else if (_c == QMetaObject::IndexOfMethod) {
212 int *result = reinterpret_cast<int *>(_a[0]);
213 {
214 using _t = void (QStatusNotifierItemAdaptor::*)();
215 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QStatusNotifierItemAdaptor::NewAttentionIcon)) {
216 *result = 0;
217 return;
218 }
219 }
220 {
221 using _t = void (QStatusNotifierItemAdaptor::*)();
222 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QStatusNotifierItemAdaptor::NewIcon)) {
223 *result = 1;
224 return;
225 }
226 }
227 {
228 using _t = void (QStatusNotifierItemAdaptor::*)();
229 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QStatusNotifierItemAdaptor::NewOverlayIcon)) {
230 *result = 2;
231 return;
232 }
233 }
234 {
235 using _t = void (QStatusNotifierItemAdaptor::*)();
236 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QStatusNotifierItemAdaptor::NewMenu)) {
237 *result = 3;
238 return;
239 }
240 }
241 {
242 using _t = void (QStatusNotifierItemAdaptor::*)(const QString & );
243 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QStatusNotifierItemAdaptor::NewStatus)) {
244 *result = 4;
245 return;
246 }
247 }
248 {
249 using _t = void (QStatusNotifierItemAdaptor::*)();
250 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QStatusNotifierItemAdaptor::NewTitle)) {
251 *result = 5;
252 return;
253 }
254 }
255 {
256 using _t = void (QStatusNotifierItemAdaptor::*)();
257 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QStatusNotifierItemAdaptor::NewToolTip)) {
258 *result = 6;
259 return;
260 }
261 }
262 } else if (_c == QMetaObject::RegisterPropertyMetaType) {
263 switch (_id) {
264 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
265 case 8:
266 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
267 case 10:
268 case 5:
269 case 1:
270 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QXdgDBusImageVector >(); break;
271 case 13:
272 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QXdgDBusToolTipStruct >(); break;
273 }
274 }
275
276#ifndef QT_NO_PROPERTIES
277 else if (_c == QMetaObject::ReadProperty) {
278 Q_ASSERT(staticMetaObject.cast(_o));
279 auto *_t = static_cast<QStatusNotifierItemAdaptor *>(_o);
280 Q_UNUSED(_t)
281 void *_v = _a[0];
282 switch (_id) {
283 case 0: *reinterpret_cast< QString*>(_v) = _t->attentionIconName(); break;
284 case 1: *reinterpret_cast< QXdgDBusImageVector*>(_v) = _t->attentionIconPixmap(); break;
285 case 2: *reinterpret_cast< QString*>(_v) = _t->attentionMovieName(); break;
286 case 3: *reinterpret_cast< QString*>(_v) = _t->category(); break;
287 case 4: *reinterpret_cast< QString*>(_v) = _t->iconName(); break;
288 case 5: *reinterpret_cast< QXdgDBusImageVector*>(_v) = _t->iconPixmap(); break;
289 case 6: *reinterpret_cast< QString*>(_v) = _t->id(); break;
290 case 7: *reinterpret_cast< bool*>(_v) = _t->itemIsMenu(); break;
291 case 8: *reinterpret_cast< QDBusObjectPath*>(_v) = _t->menu(); break;
292 case 9: *reinterpret_cast< QString*>(_v) = _t->overlayIconName(); break;
293 case 10: *reinterpret_cast< QXdgDBusImageVector*>(_v) = _t->overlayIconPixmap(); break;
294 case 11: *reinterpret_cast< QString*>(_v) = _t->status(); break;
295 case 12: *reinterpret_cast< QString*>(_v) = _t->title(); break;
296 case 13: *reinterpret_cast< QXdgDBusToolTipStruct*>(_v) = _t->toolTip(); break;
297 default: break;
298 }
299 } else if (_c == QMetaObject::WriteProperty) {
300 } else if (_c == QMetaObject::ResetProperty) {
301 } else if (_c == QMetaObject::BindableProperty) {
302 }
303#endif // QT_NO_PROPERTIES
304}
305
306const QMetaObject QStatusNotifierItemAdaptor::staticMetaObject = { {
307 QMetaObject::SuperData::link<QDBusAbstractAdaptor::staticMetaObject>(),
308 qt_meta_stringdata_QStatusNotifierItemAdaptor.offsetsAndSize,
309 qt_meta_data_QStatusNotifierItemAdaptor,
310 qt_static_metacall,
311 nullptr,
312qt_incomplete_metaTypeArray<qt_meta_stringdata_QStatusNotifierItemAdaptor_t
313, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QXdgDBusImageVector, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QXdgDBusImageVector, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<QDBusObjectPath, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QXdgDBusImageVector, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QXdgDBusToolTipStruct, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
314, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>
315
316
317>,
318 nullptr
319} };
320
321
322const QMetaObject *QStatusNotifierItemAdaptor::metaObject() const
323{
324 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
325}
326
327void *QStatusNotifierItemAdaptor::qt_metacast(const char *_clname)
328{
329 if (!_clname) return nullptr;
330 if (!strcmp(_clname, qt_meta_stringdata_QStatusNotifierItemAdaptor.stringdata0))
331 return static_cast<void*>(this);
332 return QDBusAbstractAdaptor::qt_metacast(_clname);
333}
334
335int QStatusNotifierItemAdaptor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
336{
337 _id = QDBusAbstractAdaptor::qt_metacall(_c, _id, _a);
338 if (_id < 0)
339 return _id;
340 if (_c == QMetaObject::InvokeMetaMethod) {
341 if (_id < 11)
342 qt_static_metacall(this, _c, _id, _a);
343 _id -= 11;
344 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
345 if (_id < 11)
346 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
347 _id -= 11;
348 }
349#ifndef QT_NO_PROPERTIES
350 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
351 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
352 || _c == QMetaObject::RegisterPropertyMetaType) {
353 qt_static_metacall(this, _c, _id, _a);
354 _id -= 14;
355 }
356#endif // QT_NO_PROPERTIES
357 return _id;
358}
359
360// SIGNAL 0
361void QStatusNotifierItemAdaptor::NewAttentionIcon()
362{
363 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
364}
365
366// SIGNAL 1
367void QStatusNotifierItemAdaptor::NewIcon()
368{
369 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
370}
371
372// SIGNAL 2
373void QStatusNotifierItemAdaptor::NewOverlayIcon()
374{
375 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
376}
377
378// SIGNAL 3
379void QStatusNotifierItemAdaptor::NewMenu()
380{
381 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
382}
383
384// SIGNAL 4
385void QStatusNotifierItemAdaptor::NewStatus(const QString & _t1)
386{
387 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
388 QMetaObject::activate(this, &staticMetaObject, 4, _a);
389}
390
391// SIGNAL 5
392void QStatusNotifierItemAdaptor::NewTitle()
393{
394 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
395}
396
397// SIGNAL 6
398void QStatusNotifierItemAdaptor::NewToolTip()
399{
400 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
401}
402QT_WARNING_POP
403QT_END_MOC_NAMESPACE
404