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