| 1 | /**************************************************************************** | 
|---|
| 2 | ** Meta object code from reading C++ file 'qdbusmenuadaptor_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/qdbusmenuadaptor_p.h" | 
|---|
| 11 | #include <QtCore/qbytearray.h> | 
|---|
| 12 | #include <QtCore/qmetatype.h> | 
|---|
| 13 | #include <QtCore/QList> | 
|---|
| 14 | #if !defined(Q_MOC_OUTPUT_REVISION) | 
|---|
| 15 | #error "The header file 'qdbusmenuadaptor_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[84]; | 
|---|
| 27 | char [4096]; | 
|---|
| 28 | }; | 
|---|
| 29 | #define QT_MOC_LITERAL(ofs, len) \ | 
|---|
| 30 | uint(offsetof(qt_meta_stringdata_QDBusMenuAdaptor_t, stringdata0) + ofs), len | 
|---|
| 31 | static const qt_meta_stringdata_QDBusMenuAdaptor_t  = { | 
|---|
| 32 | { | 
|---|
| 33 | QT_MOC_LITERAL(0, 16), // "QDBusMenuAdaptor" | 
|---|
| 34 | QT_MOC_LITERAL(17, 15), // "D-Bus Interface" | 
|---|
| 35 | QT_MOC_LITERAL(33, 22), // "com.canonical.dbusmenu" | 
|---|
| 36 | QT_MOC_LITERAL(56, 19), // "D-Bus Introspection" | 
|---|
| 37 | QT_MOC_LITERAL(76, 3587), // "  <interface name=\"com.canon..." | 
|---|
| 38 | QT_MOC_LITERAL(3342, 23), // "ItemActivationRequested" | 
|---|
| 39 | QT_MOC_LITERAL(3366, 0), // "" | 
|---|
| 40 | QT_MOC_LITERAL(3367, 2), // "id" | 
|---|
| 41 | QT_MOC_LITERAL(3370, 9), // "timestamp" | 
|---|
| 42 | QT_MOC_LITERAL(3380, 22), // "ItemsPropertiesUpdated" | 
|---|
| 43 | QT_MOC_LITERAL(3403, 17), // "QDBusMenuItemList" | 
|---|
| 44 | QT_MOC_LITERAL(3421, 12), // "updatedProps" | 
|---|
| 45 | QT_MOC_LITERAL(3434, 21), // "QDBusMenuItemKeysList" | 
|---|
| 46 | QT_MOC_LITERAL(3456, 12), // "removedProps" | 
|---|
| 47 | QT_MOC_LITERAL(3469, 13), // "LayoutUpdated" | 
|---|
| 48 | QT_MOC_LITERAL(3483, 8), // "revision" | 
|---|
| 49 | QT_MOC_LITERAL(3492, 6), // "parent" | 
|---|
| 50 | QT_MOC_LITERAL(3499, 11), // "AboutToShow" | 
|---|
| 51 | QT_MOC_LITERAL(3511, 16), // "AboutToShowGroup" | 
|---|
| 52 | QT_MOC_LITERAL(3528, 10), // "QList<int>" | 
|---|
| 53 | QT_MOC_LITERAL(3539, 3), // "ids" | 
|---|
| 54 | QT_MOC_LITERAL(3543, 11), // "QList<int>&" | 
|---|
| 55 | QT_MOC_LITERAL(3555, 8), // "idErrors" | 
|---|
| 56 | QT_MOC_LITERAL(3564, 5), // "Event" | 
|---|
| 57 | QT_MOC_LITERAL(3570, 7), // "eventId" | 
|---|
| 58 | QT_MOC_LITERAL(3578, 12), // "QDBusVariant" | 
|---|
| 59 | QT_MOC_LITERAL(3591, 4), // "data" | 
|---|
| 60 | QT_MOC_LITERAL(3596, 10), // "EventGroup" | 
|---|
| 61 | QT_MOC_LITERAL(3607, 18), // "QDBusMenuEventList" | 
|---|
| 62 | QT_MOC_LITERAL(3626, 6), // "events" | 
|---|
| 63 | QT_MOC_LITERAL(3633, 18), // "GetGroupProperties" | 
|---|
| 64 | QT_MOC_LITERAL(3652, 13), // "propertyNames" | 
|---|
| 65 | QT_MOC_LITERAL(3666, 9), // "GetLayout" | 
|---|
| 66 | QT_MOC_LITERAL(3676, 8), // "parentId" | 
|---|
| 67 | QT_MOC_LITERAL(3685, 14), // "recursionDepth" | 
|---|
| 68 | QT_MOC_LITERAL(3700, 20), // "QDBusMenuLayoutItem&" | 
|---|
| 69 | QT_MOC_LITERAL(3721, 6), // "layout" | 
|---|
| 70 | QT_MOC_LITERAL(3728, 11), // "GetProperty" | 
|---|
| 71 | QT_MOC_LITERAL(3740, 4), // "name" | 
|---|
| 72 | QT_MOC_LITERAL(3745, 6), // "Status" | 
|---|
| 73 | QT_MOC_LITERAL(3752, 13), // "TextDirection" | 
|---|
| 74 | QT_MOC_LITERAL(3766, 7) // "Version" | 
|---|
| 75 |  | 
|---|
| 76 | }, | 
|---|
| 77 | "QDBusMenuAdaptor\0D-Bus Interface\0" | 
|---|
| 78 | "com.canonical.dbusmenu\0D-Bus Introspection\0" | 
|---|
| 79 | "  <interface name=\"com.canonical.dbusmenu\">\n    <property access=\"" | 
|---|
| 80 | "read\" type=\"u\" name=\"Version\">\n    </property>\n    <property ac" | 
|---|
| 81 | "cess=\"read\" type=\"s\" name=\"TextDirection\">\n    </property>\n   " | 
|---|
| 82 | " <property access=\"read\" type=\"s\" name=\"Status\">\n    </property" | 
|---|
| 83 | ">\n    <property access=\"read\" type=\"as\" name=\"IconThemePath\">\n" | 
|---|
| 84 | "    </property>\n    <method name=\"GetLayout\">\n      <annotation va" | 
|---|
| 85 | "lue=\"QDBusMenuLayoutItem\" name=\"org.qtproject.QtDBus.QtTypeName.Out" | 
|---|
| 86 | "1\"/>\n      <arg direction=\"in\" type=\"i\" name=\"parentId\"/>\n   " | 
|---|
| 87 | "   <arg direction=\"in\" type=\"i\" name=\"recursionDepth\"/>\n      <" | 
|---|
| 88 | "arg direction=\"in\" type=\"as\" name=\"propertyNames\"/>\n      <arg " | 
|---|
| 89 | "direction=\"out\" type=\"u\" name=\"revision\"/>\n      <arg direction" | 
|---|
| 90 | "=\"out\" type=\"(ia{sv}av)\" name=\"layout\"/>\n    </method>\n    <me" | 
|---|
| 91 | "thod name=\"GetGroupProperties\">\n      <annotation value=\"QList<" | 
|---|
| 92 | "int>\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n      <annot" | 
|---|
| 93 | "ation value=\"QDBusMenuItemList\" name=\"org.qtproject.QtDBus.QtTypeNa" | 
|---|
| 94 | "me.Out0\"/>\n      <arg direction=\"in\" type=\"ai\" name=\"ids\"/>\n " | 
|---|
| 95 | "     <arg direction=\"in\" type=\"as\" name=\"propertyNames\"/>\n     " | 
|---|
| 96 | " <arg direction=\"out\" type=\"a(ia{sv})\" name=\"properties\"/>\n    " | 
|---|
| 97 | "</method>\n    <method name=\"GetProperty\">\n      <arg direction=\"i" | 
|---|
| 98 | "n\" type=\"i\" name=\"id\"/>\n      <arg direction=\"in\" type=\"s\" n" | 
|---|
| 99 | "ame=\"name\"/>\n      <arg direction=\"out\" type=\"v\" name=\"value\"" | 
|---|
| 100 | "/>\n    </method>\n    <method name=\"Event\">\n      <arg direction=\"" | 
|---|
| 101 | "in\" type=\"i\" name=\"id\"/>\n      <arg direction=\"in\" type=\"s\" " | 
|---|
| 102 | "name=\"eventId\"/>\n      <arg direction=\"in\" type=\"v\" name=\"data" | 
|---|
| 103 | "\"/>\n      <arg direction=\"in\" type=\"u\" name=\"timestamp\"/>\n   " | 
|---|
| 104 | " </method>\n    <method name=\"EventGroup\">\n      <annotation value=" | 
|---|
| 105 | "\"QList<QDBusMenuEvent>\" name=\"org.qtproject.QtDBus.QtTypeName" | 
|---|
| 106 | ".In0\"/>\n      <annotation value=\"QList<int>\" name=\"org.qtpr" | 
|---|
| 107 | "oject.QtDBus.QtTypeName.Out0\"/>\n      <arg direction=\"in\" type=\"a" | 
|---|
| 108 | "(isvu)\" name=\"events\"/>\n      <arg direction=\"out\" type=\"ai\" n" | 
|---|
| 109 | "ame=\"idErrors\"/>\n    </method>\n    <method name=\"AboutToShow\">\n" | 
|---|
| 110 | "      <arg direction=\"in\" type=\"i\" name=\"id\"/>\n      <arg direc" | 
|---|
| 111 | "tion=\"out\" type=\"b\" name=\"needUpdate\"/>\n    </method>\n    <met" | 
|---|
| 112 | "hod name=\"AboutToShowGroup\">\n      <annotation value=\"QList<int" | 
|---|
| 113 | ">\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n      <annotati" | 
|---|
| 114 | "on value=\"QList<int>\" name=\"org.qtproject.QtDBus.QtTypeName.O" | 
|---|
| 115 | "ut0\"/>\n      <annotation value=\"QList<int>\" name=\"org.qtpro" | 
|---|
| 116 | "ject.QtDBus.QtTypeName.Out1\"/>\n      <arg direction=\"in\" type=\"ai" | 
|---|
| 117 | "\" name=\"ids\"/>\n      <arg direction=\"out\" type=\"ai\" name=\"upd" | 
|---|
| 118 | "atesNeeded\"/>\n      <arg direction=\"out\" type=\"ai\" name=\"idErro" | 
|---|
| 119 | "rs\"/>\n    </method>\n    <signal name=\"ItemsPropertiesUpdated\">\n " | 
|---|
| 120 | "     <annotation value=\"QDBusMenuItemList\" name=\"org.qtproject.QtDB" | 
|---|
| 121 | "us.QtTypeName.In0\"/>\n      <annotation value=\"QDBusMenuItemKeysList" | 
|---|
| 122 | "\" name=\"org.qtproject.QtDBus.QtTypeName.In1\"/>\n      <arg directio" | 
|---|
| 123 | "n=\"out\" type=\"a(ia{sv})\" name=\"updatedProps\"/>\n      <arg direc" | 
|---|
| 124 | "tion=\"out\" type=\"a(ias)\" name=\"removedProps\"/>\n    </signal>\n " | 
|---|
| 125 | "   <signal name=\"LayoutUpdated\">\n      <arg direction=\"out\" type=" | 
|---|
| 126 | "\"u\" name=\"revision\"/>\n      <arg direction=\"out\" type=\"i\" nam" | 
|---|
| 127 | "e=\"parent\"/>\n    </signal>\n    <signal name=\"ItemActivationReques" | 
|---|
| 128 | "ted\">\n      <arg direction=\"out\" type=\"i\" name=\"id\"/>\n      <" | 
|---|
| 129 | "arg direction=\"out\" type=\"u\" name=\"timestamp\"/>\n    </signal>\n" | 
|---|
| 130 | "  </interface>\n\0" | 
|---|
| 131 | "ItemActivationRequested\0\0id\0timestamp\0" | 
|---|
| 132 | "ItemsPropertiesUpdated\0QDBusMenuItemList\0" | 
|---|
| 133 | "updatedProps\0QDBusMenuItemKeysList\0" | 
|---|
| 134 | "removedProps\0LayoutUpdated\0revision\0" | 
|---|
| 135 | "parent\0AboutToShow\0AboutToShowGroup\0" | 
|---|
| 136 | "QList<int>\0ids\0QList<int>&\0idErrors\0" | 
|---|
| 137 | "Event\0eventId\0QDBusVariant\0data\0" | 
|---|
| 138 | "EventGroup\0QDBusMenuEventList\0events\0" | 
|---|
| 139 | "GetGroupProperties\0propertyNames\0" | 
|---|
| 140 | "GetLayout\0parentId\0recursionDepth\0" | 
|---|
| 141 | "QDBusMenuLayoutItem&\0layout\0GetProperty\0" | 
|---|
| 142 | "name\0Status\0TextDirection\0Version" | 
|---|
| 143 | }; | 
|---|
| 144 | #undef QT_MOC_LITERAL | 
|---|
| 145 |  | 
|---|
| 146 | static const uint [] = { | 
|---|
| 147 |  | 
|---|
| 148 | // content: | 
|---|
| 149 | 9,       // revision | 
|---|
| 150 | 0,       // classname | 
|---|
| 151 | 2,   14, // classinfo | 
|---|
| 152 | 10,   18, // methods | 
|---|
| 153 | 3,  132, // properties | 
|---|
| 154 | 0,    0, // enums/sets | 
|---|
| 155 | 0,    0, // constructors | 
|---|
| 156 | 0,       // flags | 
|---|
| 157 | 3,       // signalCount | 
|---|
| 158 |  | 
|---|
| 159 | // classinfo: key, value | 
|---|
| 160 | 1,    2, | 
|---|
| 161 | 3,    4, | 
|---|
| 162 |  | 
|---|
| 163 | // signals: name, argc, parameters, tag, flags, initial metatype offsets | 
|---|
| 164 | 5,    2,   78,    6, 0x06,    3 /* Public */, | 
|---|
| 165 | 9,    2,   83,    6, 0x06,    6 /* Public */, | 
|---|
| 166 | 14,    2,   88,    6, 0x06,    9 /* Public */, | 
|---|
| 167 |  | 
|---|
| 168 | // slots: name, argc, parameters, tag, flags, initial metatype offsets | 
|---|
| 169 | 17,    1,   93,    6, 0x0a,   12 /* Public */, | 
|---|
| 170 | 18,    2,   96,    6, 0x0a,   14 /* Public */, | 
|---|
| 171 | 23,    4,  101,    6, 0x0a,   17 /* Public */, | 
|---|
| 172 | 27,    1,  110,    6, 0x0a,   22 /* Public */, | 
|---|
| 173 | 30,    2,  113,    6, 0x0a,   24 /* Public */, | 
|---|
| 174 | 32,    4,  118,    6, 0x0a,   27 /* Public */, | 
|---|
| 175 | 37,    2,  127,    6, 0x0a,   32 /* Public */, | 
|---|
| 176 |  | 
|---|
| 177 | // signals: parameters | 
|---|
| 178 | QMetaType::Void, QMetaType::Int, QMetaType::UInt,    7,    8, | 
|---|
| 179 | QMetaType::Void, 0x80000000 | 10, 0x80000000 | 12,   11,   13, | 
|---|
| 180 | QMetaType::Void, QMetaType::UInt, QMetaType::Int,   15,   16, | 
|---|
| 181 |  | 
|---|
| 182 | // slots: parameters | 
|---|
| 183 | QMetaType::Bool, QMetaType::Int,    7, | 
|---|
| 184 | 0x80000000 | 19, 0x80000000 | 19, 0x80000000 | 21,   20,   22, | 
|---|
| 185 | QMetaType::Void, QMetaType::Int, QMetaType::QString, 0x80000000 | 25, QMetaType::UInt,    7,   24,   26,    8, | 
|---|
| 186 | 0x80000000 | 19, 0x80000000 | 28,   29, | 
|---|
| 187 | 0x80000000 | 10, 0x80000000 | 19, QMetaType::QStringList,   20,   31, | 
|---|
| 188 | QMetaType::UInt, QMetaType::Int, QMetaType::Int, QMetaType::QStringList, 0x80000000 | 35,   33,   34,   31,   36, | 
|---|
| 189 | 0x80000000 | 25, QMetaType::Int, QMetaType::QString,    7,   38, | 
|---|
| 190 |  | 
|---|
| 191 | // properties: name, type, flags | 
|---|
| 192 | 39, QMetaType::QString, 0x00015001, uint(-1), 0, | 
|---|
| 193 | 40, QMetaType::QString, 0x00015001, uint(-1), 0, | 
|---|
| 194 | 41, QMetaType::UInt, 0x00015001, uint(-1), 0, | 
|---|
| 195 |  | 
|---|
| 196 | 0        // eod | 
|---|
| 197 | }; | 
|---|
| 198 |  | 
|---|
| 199 | void QDBusMenuAdaptor::(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | 
|---|
| 200 | { | 
|---|
| 201 | if (_c == QMetaObject::InvokeMetaMethod) { | 
|---|
| 202 | Q_ASSERT(staticMetaObject.cast(_o)); | 
|---|
| 203 | auto *_t = static_cast<QDBusMenuAdaptor *>(_o); | 
|---|
| 204 | Q_UNUSED(_t) | 
|---|
| 205 | switch (_id) { | 
|---|
| 206 | case 0: _t->ItemActivationRequested((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break; | 
|---|
| 207 | case 1: _t->ItemsPropertiesUpdated((*reinterpret_cast< const QDBusMenuItemList(*)>(_a[1])),(*reinterpret_cast< const QDBusMenuItemKeysList(*)>(_a[2]))); break; | 
|---|
| 208 | case 2: _t->LayoutUpdated((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | 
|---|
| 209 | case 3: { bool _r = _t->AboutToShow((*reinterpret_cast< int(*)>(_a[1]))); | 
|---|
| 210 | if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break; | 
|---|
| 211 | case 4: { QList<int> _r = _t->AboutToShowGroup((*reinterpret_cast< const QList<int>(*)>(_a[1])),(*reinterpret_cast< QList<int>(*)>(_a[2]))); | 
|---|
| 212 | if (_a[0]) *reinterpret_cast< QList<int>*>(_a[0]) = std::move(_r); }  break; | 
|---|
| 213 | case 5: _t->Event((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QDBusVariant(*)>(_a[3])),(*reinterpret_cast< uint(*)>(_a[4]))); break; | 
|---|
| 214 | case 6: { QList<int> _r = _t->EventGroup((*reinterpret_cast< const QDBusMenuEventList(*)>(_a[1]))); | 
|---|
| 215 | if (_a[0]) *reinterpret_cast< QList<int>*>(_a[0]) = std::move(_r); }  break; | 
|---|
| 216 | case 7: { QDBusMenuItemList _r = _t->GetGroupProperties((*reinterpret_cast< const QList<int>(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2]))); | 
|---|
| 217 | if (_a[0]) *reinterpret_cast< QDBusMenuItemList*>(_a[0]) = std::move(_r); }  break; | 
|---|
| 218 | case 8: { uint _r = _t->GetLayout((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QStringList(*)>(_a[3])),(*reinterpret_cast< QDBusMenuLayoutItem(*)>(_a[4]))); | 
|---|
| 219 | if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = std::move(_r); }  break; | 
|---|
| 220 | case 9: { QDBusVariant _r = _t->GetProperty((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); | 
|---|
| 221 | if (_a[0]) *reinterpret_cast< QDBusVariant*>(_a[0]) = std::move(_r); }  break; | 
|---|
| 222 | default: ; | 
|---|
| 223 | } | 
|---|
| 224 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | 
|---|
| 225 | switch (_id) { | 
|---|
| 226 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; | 
|---|
| 227 | case 1: | 
|---|
| 228 | switch (*reinterpret_cast<int*>(_a[1])) { | 
|---|
| 229 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; | 
|---|
| 230 | case 1: | 
|---|
| 231 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusMenuItemKeysList >(); break; | 
|---|
| 232 | case 0: | 
|---|
| 233 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusMenuItemList >(); break; | 
|---|
| 234 | } | 
|---|
| 235 | break; | 
|---|
| 236 | case 4: | 
|---|
| 237 | switch (*reinterpret_cast<int*>(_a[1])) { | 
|---|
| 238 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; | 
|---|
| 239 | case 0: | 
|---|
| 240 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break; | 
|---|
| 241 | } | 
|---|
| 242 | break; | 
|---|
| 243 | case 5: | 
|---|
| 244 | switch (*reinterpret_cast<int*>(_a[1])) { | 
|---|
| 245 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; | 
|---|
| 246 | case 2: | 
|---|
| 247 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusVariant >(); break; | 
|---|
| 248 | } | 
|---|
| 249 | break; | 
|---|
| 250 | case 6: | 
|---|
| 251 | switch (*reinterpret_cast<int*>(_a[1])) { | 
|---|
| 252 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; | 
|---|
| 253 | case 0: | 
|---|
| 254 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusMenuEventList >(); break; | 
|---|
| 255 | } | 
|---|
| 256 | break; | 
|---|
| 257 | case 7: | 
|---|
| 258 | switch (*reinterpret_cast<int*>(_a[1])) { | 
|---|
| 259 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; | 
|---|
| 260 | case 0: | 
|---|
| 261 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break; | 
|---|
| 262 | } | 
|---|
| 263 | break; | 
|---|
| 264 | } | 
|---|
| 265 | } else if (_c == QMetaObject::IndexOfMethod) { | 
|---|
| 266 | int *result = reinterpret_cast<int *>(_a[0]); | 
|---|
| 267 | { | 
|---|
| 268 | using _t = void (QDBusMenuAdaptor::*)(int , uint ); | 
|---|
| 269 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusMenuAdaptor::ItemActivationRequested)) { | 
|---|
| 270 | *result = 0; | 
|---|
| 271 | return; | 
|---|
| 272 | } | 
|---|
| 273 | } | 
|---|
| 274 | { | 
|---|
| 275 | using _t = void (QDBusMenuAdaptor::*)(const QDBusMenuItemList & , const QDBusMenuItemKeysList & ); | 
|---|
| 276 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusMenuAdaptor::ItemsPropertiesUpdated)) { | 
|---|
| 277 | *result = 1; | 
|---|
| 278 | return; | 
|---|
| 279 | } | 
|---|
| 280 | } | 
|---|
| 281 | { | 
|---|
| 282 | using _t = void (QDBusMenuAdaptor::*)(uint , int ); | 
|---|
| 283 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusMenuAdaptor::LayoutUpdated)) { | 
|---|
| 284 | *result = 2; | 
|---|
| 285 | return; | 
|---|
| 286 | } | 
|---|
| 287 | } | 
|---|
| 288 | } | 
|---|
| 289 | #ifndef QT_NO_PROPERTIES | 
|---|
| 290 | else if (_c == QMetaObject::ReadProperty) { | 
|---|
| 291 | Q_ASSERT(staticMetaObject.cast(_o)); | 
|---|
| 292 | auto *_t = static_cast<QDBusMenuAdaptor *>(_o); | 
|---|
| 293 | Q_UNUSED(_t) | 
|---|
| 294 | void *_v = _a[0]; | 
|---|
| 295 | switch (_id) { | 
|---|
| 296 | case 0: *reinterpret_cast< QString*>(_v) = _t->status(); break; | 
|---|
| 297 | case 1: *reinterpret_cast< QString*>(_v) = _t->textDirection(); break; | 
|---|
| 298 | case 2: *reinterpret_cast< uint*>(_v) = _t->version(); break; | 
|---|
| 299 | default: break; | 
|---|
| 300 | } | 
|---|
| 301 | } else if (_c == QMetaObject::WriteProperty) { | 
|---|
| 302 | } else if (_c == QMetaObject::ResetProperty) { | 
|---|
| 303 | } else if (_c == QMetaObject::BindableProperty) { | 
|---|
| 304 | } | 
|---|
| 305 | #endif // QT_NO_PROPERTIES | 
|---|
| 306 | } | 
|---|
| 307 |  | 
|---|
| 308 | const QMetaObject QDBusMenuAdaptor:: = { { | 
|---|
| 309 | QMetaObject::SuperData::link<QDBusAbstractAdaptor::staticMetaObject>(), | 
|---|
| 310 | qt_meta_stringdata_QDBusMenuAdaptor.offsetsAndSize, | 
|---|
| 311 | qt_meta_data_QDBusMenuAdaptor, | 
|---|
| 312 | qt_static_metacall, | 
|---|
| 313 | nullptr, | 
|---|
| 314 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QDBusMenuAdaptor_t | 
|---|
| 315 | , QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<uint, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<uint, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QDBusMenuItemList &, std::false_type>, QtPrivate::TypeAndForceComplete<const QDBusMenuItemKeysList &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<uint, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> | 
|---|
| 316 | , QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<QList<int>, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<int> &, std::false_type>, QtPrivate::TypeAndForceComplete<QList<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<const QDBusVariant &, std::false_type>, QtPrivate::TypeAndForceComplete<uint, std::false_type>, QtPrivate::TypeAndForceComplete<QList<int>, std::false_type>, QtPrivate::TypeAndForceComplete<const QDBusMenuEventList &, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusMenuItemList, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<int> &, std::false_type>, QtPrivate::TypeAndForceComplete<const QStringList &, std::false_type>, QtPrivate::TypeAndForceComplete<uint, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<const QStringList &, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusMenuLayoutItem &, std::false_type>, QtPrivate::TypeAndForceComplete<QDBusVariant, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type> | 
|---|
| 317 |  | 
|---|
| 318 |  | 
|---|
| 319 | >, | 
|---|
| 320 | nullptr | 
|---|
| 321 | } }; | 
|---|
| 322 |  | 
|---|
| 323 |  | 
|---|
| 324 | const QMetaObject *QDBusMenuAdaptor::() const | 
|---|
| 325 | { | 
|---|
| 326 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | 
|---|
| 327 | } | 
|---|
| 328 |  | 
|---|
| 329 | void *QDBusMenuAdaptor::(const char *_clname) | 
|---|
| 330 | { | 
|---|
| 331 | if (!_clname) return nullptr; | 
|---|
| 332 | if (!strcmp(_clname, qt_meta_stringdata_QDBusMenuAdaptor.stringdata0)) | 
|---|
| 333 | return static_cast<void*>(this); | 
|---|
| 334 | return QDBusAbstractAdaptor::qt_metacast(_clname); | 
|---|
| 335 | } | 
|---|
| 336 |  | 
|---|
| 337 | int QDBusMenuAdaptor::(QMetaObject::Call _c, int _id, void **_a) | 
|---|
| 338 | { | 
|---|
| 339 | _id = QDBusAbstractAdaptor::qt_metacall(_c, _id, _a); | 
|---|
| 340 | if (_id < 0) | 
|---|
| 341 | return _id; | 
|---|
| 342 | if (_c == QMetaObject::InvokeMetaMethod) { | 
|---|
| 343 | if (_id < 10) | 
|---|
| 344 | qt_static_metacall(this, _c, _id, _a); | 
|---|
| 345 | _id -= 10; | 
|---|
| 346 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | 
|---|
| 347 | if (_id < 10) | 
|---|
| 348 | qt_static_metacall(this, _c, _id, _a); | 
|---|
| 349 | _id -= 10; | 
|---|
| 350 | } | 
|---|
| 351 | #ifndef QT_NO_PROPERTIES | 
|---|
| 352 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | 
|---|
| 353 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty | 
|---|
| 354 | || _c == QMetaObject::RegisterPropertyMetaType) { | 
|---|
| 355 | qt_static_metacall(this, _c, _id, _a); | 
|---|
| 356 | _id -= 3; | 
|---|
| 357 | } | 
|---|
| 358 | #endif // QT_NO_PROPERTIES | 
|---|
| 359 | return _id; | 
|---|
| 360 | } | 
|---|
| 361 |  | 
|---|
| 362 | // SIGNAL 0 | 
|---|
| 363 | void QDBusMenuAdaptor::(int _t1, uint _t2) | 
|---|
| 364 | { | 
|---|
| 365 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; | 
|---|
| 366 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | 
|---|
| 367 | } | 
|---|
| 368 |  | 
|---|
| 369 | // SIGNAL 1 | 
|---|
| 370 | void QDBusMenuAdaptor::(const QDBusMenuItemList & _t1, const QDBusMenuItemKeysList & _t2) | 
|---|
| 371 | { | 
|---|
| 372 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; | 
|---|
| 373 | QMetaObject::activate(this, &staticMetaObject, 1, _a); | 
|---|
| 374 | } | 
|---|
| 375 |  | 
|---|
| 376 | // SIGNAL 2 | 
|---|
| 377 | void QDBusMenuAdaptor::(uint _t1, int _t2) | 
|---|
| 378 | { | 
|---|
| 379 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; | 
|---|
| 380 | QMetaObject::activate(this, &staticMetaObject, 2, _a); | 
|---|
| 381 | } | 
|---|
| 382 | QT_WARNING_POP | 
|---|
| 383 | QT_END_MOC_NAMESPACE | 
|---|
| 384 |  | 
|---|