1/****************************************************************************
2** Meta object code from reading C++ file 'qxdgnotificationproxy_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/qxdgnotificationproxy_p.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qxdgnotificationproxy_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_QXdgNotificationInterface_t {
25 const uint offsetsAndSize[56];
26 char stringdata0[387];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QXdgNotificationInterface_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QXdgNotificationInterface_t qt_meta_stringdata_QXdgNotificationInterface = {
31 {
32QT_MOC_LITERAL(0, 25), // "QXdgNotificationInterface"
33QT_MOC_LITERAL(26, 13), // "ActionInvoked"
34QT_MOC_LITERAL(40, 0), // ""
35QT_MOC_LITERAL(41, 2), // "id"
36QT_MOC_LITERAL(44, 10), // "action_key"
37QT_MOC_LITERAL(55, 18), // "NotificationClosed"
38QT_MOC_LITERAL(74, 6), // "reason"
39QT_MOC_LITERAL(81, 17), // "closeNotification"
40QT_MOC_LITERAL(99, 19), // "QDBusPendingReply<>"
41QT_MOC_LITERAL(119, 15), // "getCapabilities"
42QT_MOC_LITERAL(135, 30), // "QDBusPendingReply<QStringList>"
43QT_MOC_LITERAL(166, 20), // "getServerInformation"
44QT_MOC_LITERAL(187, 50), // "QDBusPendingReply<QString,QSt..."
45QT_MOC_LITERAL(238, 19), // "QDBusReply<QString>"
46QT_MOC_LITERAL(258, 8), // "QString&"
47QT_MOC_LITERAL(267, 6), // "vendor"
48QT_MOC_LITERAL(274, 7), // "version"
49QT_MOC_LITERAL(282, 11), // "specVersion"
50QT_MOC_LITERAL(294, 6), // "notify"
51QT_MOC_LITERAL(301, 23), // "QDBusPendingReply<uint>"
52QT_MOC_LITERAL(325, 7), // "appName"
53QT_MOC_LITERAL(333, 10), // "replacesId"
54QT_MOC_LITERAL(344, 7), // "appIcon"
55QT_MOC_LITERAL(352, 7), // "summary"
56QT_MOC_LITERAL(360, 4), // "body"
57QT_MOC_LITERAL(365, 7), // "actions"
58QT_MOC_LITERAL(373, 5), // "hints"
59QT_MOC_LITERAL(379, 7) // "timeout"
60
61 },
62 "QXdgNotificationInterface\0ActionInvoked\0"
63 "\0id\0action_key\0NotificationClosed\0"
64 "reason\0closeNotification\0QDBusPendingReply<>\0"
65 "getCapabilities\0QDBusPendingReply<QStringList>\0"
66 "getServerInformation\0"
67 "QDBusPendingReply<QString,QString,QString,QString>\0"
68 "QDBusReply<QString>\0QString&\0vendor\0"
69 "version\0specVersion\0notify\0"
70 "QDBusPendingReply<uint>\0appName\0"
71 "replacesId\0appIcon\0summary\0body\0actions\0"
72 "hints\0timeout"
73};
74#undef QT_MOC_LITERAL
75
76static const uint qt_meta_data_QXdgNotificationInterface[] = {
77
78 // content:
79 9, // revision
80 0, // classname
81 0, 0, // classinfo
82 7, 14, // methods
83 0, 0, // properties
84 0, 0, // enums/sets
85 0, 0, // constructors
86 0, // flags
87 2, // signalCount
88
89 // signals: name, argc, parameters, tag, flags, initial metatype offsets
90 1, 2, 56, 2, 0x06, 0 /* Public */,
91 5, 2, 61, 2, 0x06, 3 /* Public */,
92
93 // slots: name, argc, parameters, tag, flags, initial metatype offsets
94 7, 1, 66, 2, 0x0a, 6 /* Public */,
95 9, 0, 69, 2, 0x0a, 8 /* Public */,
96 11, 0, 70, 2, 0x0a, 9 /* Public */,
97 11, 3, 71, 2, 0x0a, 10 /* Public */,
98 18, 8, 78, 2, 0x0a, 14 /* Public */,
99
100 // signals: parameters
101 QMetaType::Void, QMetaType::UInt, QMetaType::QString, 3, 4,
102 QMetaType::Void, QMetaType::UInt, QMetaType::UInt, 3, 6,
103
104 // slots: parameters
105 0x80000000 | 8, QMetaType::UInt, 3,
106 0x80000000 | 10,
107 0x80000000 | 12,
108 0x80000000 | 13, 0x80000000 | 14, 0x80000000 | 14, 0x80000000 | 14, 15, 16, 17,
109 0x80000000 | 19, QMetaType::QString, QMetaType::UInt, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QStringList, QMetaType::QVariantMap, QMetaType::Int, 20, 21, 22, 23, 24, 25, 26, 27,
110
111 0 // eod
112};
113
114void QXdgNotificationInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
115{
116 if (_c == QMetaObject::InvokeMetaMethod) {
117 Q_ASSERT(staticMetaObject.cast(_o));
118 auto *_t = static_cast<QXdgNotificationInterface *>(_o);
119 Q_UNUSED(_t)
120 switch (_id) {
121 case 0: _t->ActionInvoked((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
122 case 1: _t->NotificationClosed((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
123 case 2: { QDBusPendingReply<> _r = _t->closeNotification((*reinterpret_cast< uint(*)>(_a[1])));
124 if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); } break;
125 case 3: { QDBusPendingReply<QStringList> _r = _t->getCapabilities();
126 if (_a[0]) *reinterpret_cast< QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); } break;
127 case 4: { QDBusPendingReply<QString,QString,QString,QString> _r = _t->getServerInformation();
128 if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString,QString,QString,QString>*>(_a[0]) = std::move(_r); } break;
129 case 5: { QDBusReply<QString> _r = _t->getServerInformation((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])));
130 if (_a[0]) *reinterpret_cast< QDBusReply<QString>*>(_a[0]) = std::move(_r); } break;
131 case 6: { QDBusPendingReply<uint> _r = _t->notify((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5])),(*reinterpret_cast< const QStringList(*)>(_a[6])),(*reinterpret_cast< const QVariantMap(*)>(_a[7])),(*reinterpret_cast< int(*)>(_a[8])));
132 if (_a[0]) *reinterpret_cast< QDBusPendingReply<uint>*>(_a[0]) = std::move(_r); } break;
133 default: ;
134 }
135 } else if (_c == QMetaObject::IndexOfMethod) {
136 int *result = reinterpret_cast<int *>(_a[0]);
137 {
138 using _t = void (QXdgNotificationInterface::*)(uint , const QString & );
139 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QXdgNotificationInterface::ActionInvoked)) {
140 *result = 0;
141 return;
142 }
143 }
144 {
145 using _t = void (QXdgNotificationInterface::*)(uint , uint );
146 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QXdgNotificationInterface::NotificationClosed)) {
147 *result = 1;
148 return;
149 }
150 }
151 }
152}
153
154const QMetaObject QXdgNotificationInterface::staticMetaObject = { {
155 QMetaObject::SuperData::link<QDBusAbstractInterface::staticMetaObject>(),
156 qt_meta_stringdata_QXdgNotificationInterface.offsetsAndSize,
157 qt_meta_data_QXdgNotificationInterface,
158 qt_static_metacall,
159 nullptr,
160qt_incomplete_metaTypeArray<qt_meta_stringdata_QXdgNotificationInterface_t
161, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<uint, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<uint, std::false_type>, QtPrivate::TypeAndForceComplete<uint, std::false_type>
162, QtPrivate::TypeAndForceComplete<QDBusPendingReply<>, std::false_type>, QtPrivate::TypeAndForceComplete<uint, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusPendingReply<QStringList>, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusPendingReply<QString,QString,QString,QString>, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusReply<QString>, std::false_type>, QtPrivate::TypeAndForceComplete<QString &, std::false_type>, QtPrivate::TypeAndForceComplete<QString &, std::false_type>, QtPrivate::TypeAndForceComplete<QString &, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusPendingReply<uint>, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<uint, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QStringList &, std::false_type>, QtPrivate::TypeAndForceComplete<const QVariantMap &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>
163
164
165>,
166 nullptr
167} };
168
169
170const QMetaObject *QXdgNotificationInterface::metaObject() const
171{
172 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
173}
174
175void *QXdgNotificationInterface::qt_metacast(const char *_clname)
176{
177 if (!_clname) return nullptr;
178 if (!strcmp(_clname, qt_meta_stringdata_QXdgNotificationInterface.stringdata0))
179 return static_cast<void*>(this);
180 return QDBusAbstractInterface::qt_metacast(_clname);
181}
182
183int QXdgNotificationInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
184{
185 _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
186 if (_id < 0)
187 return _id;
188 if (_c == QMetaObject::InvokeMetaMethod) {
189 if (_id < 7)
190 qt_static_metacall(this, _c, _id, _a);
191 _id -= 7;
192 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
193 if (_id < 7)
194 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
195 _id -= 7;
196 }
197 return _id;
198}
199
200// SIGNAL 0
201void QXdgNotificationInterface::ActionInvoked(uint _t1, const QString & _t2)
202{
203 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
204 QMetaObject::activate(this, &staticMetaObject, 0, _a);
205}
206
207// SIGNAL 1
208void QXdgNotificationInterface::NotificationClosed(uint _t1, uint _t2)
209{
210 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
211 QMetaObject::activate(this, &staticMetaObject, 1, _a);
212}
213QT_WARNING_POP
214QT_END_MOC_NAMESPACE
215