| 1 | /**************************************************************************** | 
|---|
| 2 | ** Meta object code from reading C++ file 'qdbuspendingcall_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 "qdbuspendingcall_p.h" | 
|---|
| 11 | #include <QtCore/qbytearray.h> | 
|---|
| 12 | #include <QtCore/qmetatype.h> | 
|---|
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) | 
|---|
| 14 | #error "The header file 'qdbuspendingcall_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 |  | 
|---|
| 21 | QT_BEGIN_MOC_NAMESPACE | 
|---|
| 22 | QT_WARNING_PUSH | 
|---|
| 23 | QT_WARNING_DISABLE_DEPRECATED | 
|---|
| 24 | struct qt_meta_stringdata_QDBusPendingCallWatcherHelper_t { | 
|---|
| 25 | const uint offsetsAndSize[16]; | 
|---|
| 26 | char stringdata0[80]; | 
|---|
| 27 | }; | 
|---|
| 28 | #define QT_MOC_LITERAL(ofs, len) \ | 
|---|
| 29 | uint(offsetof(qt_meta_stringdata_QDBusPendingCallWatcherHelper_t, stringdata0) + ofs), len | 
|---|
| 30 | static const qt_meta_stringdata_QDBusPendingCallWatcherHelper_t qt_meta_stringdata_QDBusPendingCallWatcherHelper = { | 
|---|
| 31 | { | 
|---|
| 32 | QT_MOC_LITERAL(0, 29), // "QDBusPendingCallWatcherHelper" | 
|---|
| 33 | QT_MOC_LITERAL(30, 8), // "finished" | 
|---|
| 34 | QT_MOC_LITERAL(39, 0), // "" | 
|---|
| 35 | QT_MOC_LITERAL(40, 5), // "reply" | 
|---|
| 36 | QT_MOC_LITERAL(46, 12), // "QDBusMessage" | 
|---|
| 37 | QT_MOC_LITERAL(59, 3), // "msg" | 
|---|
| 38 | QT_MOC_LITERAL(63, 5), // "error" | 
|---|
| 39 | QT_MOC_LITERAL(69, 10) // "QDBusError" | 
|---|
| 40 |  | 
|---|
| 41 | }, | 
|---|
| 42 | "QDBusPendingCallWatcherHelper\0finished\0" | 
|---|
| 43 | "\0reply\0QDBusMessage\0msg\0error\0QDBusError" | 
|---|
| 44 | }; | 
|---|
| 45 | #undef QT_MOC_LITERAL | 
|---|
| 46 |  | 
|---|
| 47 | static const uint qt_meta_data_QDBusPendingCallWatcherHelper[] = { | 
|---|
| 48 |  | 
|---|
| 49 | // content: | 
|---|
| 50 | 9,       // revision | 
|---|
| 51 | 0,       // classname | 
|---|
| 52 | 0,    0, // classinfo | 
|---|
| 53 | 3,   14, // methods | 
|---|
| 54 | 0,    0, // properties | 
|---|
| 55 | 0,    0, // enums/sets | 
|---|
| 56 | 0,    0, // constructors | 
|---|
| 57 | 0,       // flags | 
|---|
| 58 | 3,       // signalCount | 
|---|
| 59 |  | 
|---|
| 60 | // signals: name, argc, parameters, tag, flags, initial metatype offsets | 
|---|
| 61 | 1,    0,   32,    2, 0x06,    0 /* Public */, | 
|---|
| 62 | 3,    1,   33,    2, 0x06,    1 /* Public */, | 
|---|
| 63 | 6,    2,   36,    2, 0x06,    3 /* Public */, | 
|---|
| 64 |  | 
|---|
| 65 | // signals: parameters | 
|---|
| 66 | QMetaType::Void, | 
|---|
| 67 | QMetaType::Void, 0x80000000 | 4,    5, | 
|---|
| 68 | QMetaType::Void, 0x80000000 | 7, 0x80000000 | 4,    6,    5, | 
|---|
| 69 |  | 
|---|
| 70 | 0        // eod | 
|---|
| 71 | }; | 
|---|
| 72 |  | 
|---|
| 73 | void QDBusPendingCallWatcherHelper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | 
|---|
| 74 | { | 
|---|
| 75 | if (_c == QMetaObject::InvokeMetaMethod) { | 
|---|
| 76 | Q_ASSERT(staticMetaObject.cast(_o)); | 
|---|
| 77 | auto *_t = static_cast<QDBusPendingCallWatcherHelper *>(_o); | 
|---|
| 78 | Q_UNUSED(_t) | 
|---|
| 79 | switch (_id) { | 
|---|
| 80 | case 0: _t->finished(); break; | 
|---|
| 81 | case 1: _t->reply((*reinterpret_cast< const QDBusMessage(*)>(_a[1]))); break; | 
|---|
| 82 | case 2: _t->error((*reinterpret_cast< const QDBusError(*)>(_a[1])),(*reinterpret_cast< const QDBusMessage(*)>(_a[2]))); break; | 
|---|
| 83 | default: ; | 
|---|
| 84 | } | 
|---|
| 85 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | 
|---|
| 86 | switch (_id) { | 
|---|
| 87 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; | 
|---|
| 88 | case 1: | 
|---|
| 89 | switch (*reinterpret_cast<int*>(_a[1])) { | 
|---|
| 90 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; | 
|---|
| 91 | case 0: | 
|---|
| 92 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusMessage >(); break; | 
|---|
| 93 | } | 
|---|
| 94 | break; | 
|---|
| 95 | case 2: | 
|---|
| 96 | switch (*reinterpret_cast<int*>(_a[1])) { | 
|---|
| 97 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; | 
|---|
| 98 | case 0: | 
|---|
| 99 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusError >(); break; | 
|---|
| 100 | case 1: | 
|---|
| 101 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusMessage >(); break; | 
|---|
| 102 | } | 
|---|
| 103 | break; | 
|---|
| 104 | } | 
|---|
| 105 | } else if (_c == QMetaObject::IndexOfMethod) { | 
|---|
| 106 | int *result = reinterpret_cast<int *>(_a[0]); | 
|---|
| 107 | { | 
|---|
| 108 | using _t = void (QDBusPendingCallWatcherHelper::*)(); | 
|---|
| 109 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusPendingCallWatcherHelper::finished)) { | 
|---|
| 110 | *result = 0; | 
|---|
| 111 | return; | 
|---|
| 112 | } | 
|---|
| 113 | } | 
|---|
| 114 | { | 
|---|
| 115 | using _t = void (QDBusPendingCallWatcherHelper::*)(const QDBusMessage & ); | 
|---|
| 116 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusPendingCallWatcherHelper::reply)) { | 
|---|
| 117 | *result = 1; | 
|---|
| 118 | return; | 
|---|
| 119 | } | 
|---|
| 120 | } | 
|---|
| 121 | { | 
|---|
| 122 | using _t = void (QDBusPendingCallWatcherHelper::*)(const QDBusError & , const QDBusMessage & ); | 
|---|
| 123 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusPendingCallWatcherHelper::error)) { | 
|---|
| 124 | *result = 2; | 
|---|
| 125 | return; | 
|---|
| 126 | } | 
|---|
| 127 | } | 
|---|
| 128 | } | 
|---|
| 129 | } | 
|---|
| 130 |  | 
|---|
| 131 | const QMetaObject QDBusPendingCallWatcherHelper::staticMetaObject = { { | 
|---|
| 132 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), | 
|---|
| 133 | qt_meta_stringdata_QDBusPendingCallWatcherHelper.offsetsAndSize, | 
|---|
| 134 | qt_meta_data_QDBusPendingCallWatcherHelper, | 
|---|
| 135 | qt_static_metacall, | 
|---|
| 136 | nullptr, | 
|---|
| 137 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QDBusPendingCallWatcherHelper_t | 
|---|
| 138 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QDBusMessage &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QDBusError &, std::false_type>, QtPrivate::TypeAndForceComplete<const QDBusMessage &, std::false_type> | 
|---|
| 139 |  | 
|---|
| 140 |  | 
|---|
| 141 |  | 
|---|
| 142 | >, | 
|---|
| 143 | nullptr | 
|---|
| 144 | } }; | 
|---|
| 145 |  | 
|---|
| 146 |  | 
|---|
| 147 | const QMetaObject *QDBusPendingCallWatcherHelper::metaObject() const | 
|---|
| 148 | { | 
|---|
| 149 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | 
|---|
| 150 | } | 
|---|
| 151 |  | 
|---|
| 152 | void *QDBusPendingCallWatcherHelper::qt_metacast(const char *_clname) | 
|---|
| 153 | { | 
|---|
| 154 | if (!_clname) return nullptr; | 
|---|
| 155 | if (!strcmp(_clname, qt_meta_stringdata_QDBusPendingCallWatcherHelper.stringdata0)) | 
|---|
| 156 | return static_cast<void*>(this); | 
|---|
| 157 | return QObject::qt_metacast(_clname); | 
|---|
| 158 | } | 
|---|
| 159 |  | 
|---|
| 160 | int QDBusPendingCallWatcherHelper::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | 
|---|
| 161 | { | 
|---|
| 162 | _id = QObject::qt_metacall(_c, _id, _a); | 
|---|
| 163 | if (_id < 0) | 
|---|
| 164 | return _id; | 
|---|
| 165 | if (_c == QMetaObject::InvokeMetaMethod) { | 
|---|
| 166 | if (_id < 3) | 
|---|
| 167 | qt_static_metacall(this, _c, _id, _a); | 
|---|
| 168 | _id -= 3; | 
|---|
| 169 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | 
|---|
| 170 | if (_id < 3) | 
|---|
| 171 | qt_static_metacall(this, _c, _id, _a); | 
|---|
| 172 | _id -= 3; | 
|---|
| 173 | } | 
|---|
| 174 | return _id; | 
|---|
| 175 | } | 
|---|
| 176 |  | 
|---|
| 177 | // SIGNAL 0 | 
|---|
| 178 | void QDBusPendingCallWatcherHelper::finished() | 
|---|
| 179 | { | 
|---|
| 180 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | 
|---|
| 181 | } | 
|---|
| 182 |  | 
|---|
| 183 | // SIGNAL 1 | 
|---|
| 184 | void QDBusPendingCallWatcherHelper::reply(const QDBusMessage & _t1) | 
|---|
| 185 | { | 
|---|
| 186 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; | 
|---|
| 187 | QMetaObject::activate(this, &staticMetaObject, 1, _a); | 
|---|
| 188 | } | 
|---|
| 189 |  | 
|---|
| 190 | // SIGNAL 2 | 
|---|
| 191 | void QDBusPendingCallWatcherHelper::error(const QDBusError & _t1, const QDBusMessage & _t2) | 
|---|
| 192 | { | 
|---|
| 193 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; | 
|---|
| 194 | QMetaObject::activate(this, &staticMetaObject, 2, _a); | 
|---|
| 195 | } | 
|---|
| 196 | QT_WARNING_POP | 
|---|
| 197 | QT_END_MOC_NAMESPACE | 
|---|
| 198 |  | 
|---|