/**************************************************************************** ** Meta object code from reading C++ file 'VBluetooth.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.10) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include #include "../luis/application/sources/view/settings/VBluetooth.h" #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'VBluetooth.h' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 67 #error "This file was generated using the moc from 5.15.10. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif QT_BEGIN_MOC_NAMESPACE QT_WARNING_PUSH QT_WARNING_DISABLE_DEPRECATED struct qt_meta_stringdata_View__VBluetooth_t { QByteArrayData data[46]; char stringdata0[563]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_View__VBluetooth_t, stringdata0) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_View__VBluetooth_t qt_meta_stringdata_View__VBluetooth = { { QT_MOC_LITERAL(0, 0, 16), // "View::VBluetooth" QT_MOC_LITERAL(1, 17, 16), // "isInvalidChanged" QT_MOC_LITERAL(2, 34, 0), // "" QT_MOC_LITERAL(3, 35, 10), // "visInvalid" QT_MOC_LITERAL(4, 46, 19), // "notificationChanged" QT_MOC_LITERAL(5, 66, 13), // "vnotification" QT_MOC_LITERAL(6, 80, 16), // "localNameChanged" QT_MOC_LITERAL(7, 97, 10), // "vlocalName" QT_MOC_LITERAL(8, 108, 16), // "localAddrChanged" QT_MOC_LITERAL(9, 125, 10), // "vlocalAddr" QT_MOC_LITERAL(10, 136, 18), // "scanEnabledChanged" QT_MOC_LITERAL(11, 155, 12), // "vscanEnabled" QT_MOC_LITERAL(12, 168, 12), // "errorChanged" QT_MOC_LITERAL(13, 181, 6), // "verror" QT_MOC_LITERAL(14, 188, 17), // "pairedAddrChanged" QT_MOC_LITERAL(15, 206, 11), // "vpairedAddr" QT_MOC_LITERAL(16, 218, 17), // "pairedBattChanged" QT_MOC_LITERAL(17, 236, 11), // "vpairedBatt" QT_MOC_LITERAL(18, 248, 15), // "didDeviceSelect" QT_MOC_LITERAL(19, 264, 5), // "vAddr" QT_MOC_LITERAL(20, 270, 5), // "vName" QT_MOC_LITERAL(21, 276, 13), // "onStateChange" QT_MOC_LITERAL(22, 290, 13), // "BluetoothData" QT_MOC_LITERAL(23, 304, 5), // "vData" QT_MOC_LITERAL(24, 310, 14), // "onDeviceChange" QT_MOC_LITERAL(25, 325, 19), // "BluetoothDeviceData" QT_MOC_LITERAL(26, 345, 7), // "vDevice" QT_MOC_LITERAL(27, 353, 14), // "onDeviceSelect" QT_MOC_LITERAL(28, 368, 6), // "toText" QT_MOC_LITERAL(29, 375, 34), // "Model::MBluetooth::InterfaceS..." QT_MOC_LITERAL(30, 410, 6), // "vState" QT_MOC_LITERAL(31, 417, 6), // "notify" QT_MOC_LITERAL(32, 424, 6), // "doScan" QT_MOC_LITERAL(33, 431, 9), // "isInvalid" QT_MOC_LITERAL(34, 441, 12), // "notification" QT_MOC_LITERAL(35, 454, 9), // "localName" QT_MOC_LITERAL(36, 464, 9), // "localAddr" QT_MOC_LITERAL(37, 474, 11), // "scanEnabled" QT_MOC_LITERAL(38, 486, 5), // "error" QT_MOC_LITERAL(39, 492, 10), // "pairedAddr" QT_MOC_LITERAL(40, 503, 10), // "pairedBatt" QT_MOC_LITERAL(41, 514, 8), // "DataRole" QT_MOC_LITERAL(42, 523, 12), // "ToStringRole" QT_MOC_LITERAL(43, 536, 8), // "AddrRole" QT_MOC_LITERAL(44, 545, 8), // "NameRole" QT_MOC_LITERAL(45, 554, 8) // "PairRole" }, "View::VBluetooth\0isInvalidChanged\0\0" "visInvalid\0notificationChanged\0" "vnotification\0localNameChanged\0" "vlocalName\0localAddrChanged\0vlocalAddr\0" "scanEnabledChanged\0vscanEnabled\0" "errorChanged\0verror\0pairedAddrChanged\0" "vpairedAddr\0pairedBattChanged\0vpairedBatt\0" "didDeviceSelect\0vAddr\0vName\0onStateChange\0" "BluetoothData\0vData\0onDeviceChange\0" "BluetoothDeviceData\0vDevice\0onDeviceSelect\0" "toText\0Model::MBluetooth::InterfaceStates\0" "vState\0notify\0doScan\0isInvalid\0" "notification\0localName\0localAddr\0" "scanEnabled\0error\0pairedAddr\0pairedBatt\0" "DataRole\0ToStringRole\0AddrRole\0NameRole\0" "PairRole" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_View__VBluetooth[] = { // content: 8, // revision 0, // classname 0, 0, // classinfo 15, 14, // methods 8, 136, // properties 1, 168, // enums/sets 0, 0, // constructors 0, // flags 9, // signalCount // signals: name, argc, parameters, tag, flags 1, 1, 89, 2, 0x06 /* Public */, 4, 1, 92, 2, 0x06 /* Public */, 6, 1, 95, 2, 0x06 /* Public */, 8, 1, 98, 2, 0x06 /* Public */, 10, 1, 101, 2, 0x06 /* Public */, 12, 1, 104, 2, 0x06 /* Public */, 14, 1, 107, 2, 0x06 /* Public */, 16, 1, 110, 2, 0x06 /* Public */, 18, 2, 113, 2, 0x06 /* Public */, // slots: name, argc, parameters, tag, flags 21, 1, 118, 2, 0x08 /* Private */, 24, 1, 121, 2, 0x08 /* Private */, 27, 2, 124, 2, 0x08 /* Private */, 28, 1, 129, 2, 0x08 /* Private */, 31, 1, 132, 2, 0x08 /* Private */, 32, 0, 135, 2, 0x0a /* Public */, // signals: parameters QMetaType::Void, QMetaType::Bool, 3, QMetaType::Void, QMetaType::QString, 5, QMetaType::Void, QMetaType::QString, 7, QMetaType::Void, QMetaType::QString, 9, QMetaType::Void, QMetaType::Bool, 11, QMetaType::Void, QMetaType::Short, 13, QMetaType::Void, QMetaType::QString, 15, QMetaType::Void, QMetaType::UChar, 17, QMetaType::Void, QMetaType::QString, QMetaType::QString, 19, 20, // slots: parameters QMetaType::Void, 0x80000000 | 22, 23, QMetaType::Void, 0x80000000 | 25, 26, QMetaType::Void, QMetaType::QString, QMetaType::QString, 19, 20, QMetaType::QString, 0x80000000 | 29, 30, QMetaType::Void, 0x80000000 | 29, 30, QMetaType::Void, // properties: name, type, flags 33, QMetaType::Bool, 0x00495003, 34, QMetaType::QString, 0x00495003, 35, QMetaType::QString, 0x00495003, 36, QMetaType::QString, 0x00495003, 37, QMetaType::Bool, 0x00495003, 38, QMetaType::Short, 0x00495003, 39, QMetaType::QString, 0x00495003, 40, QMetaType::UChar, 0x00495003, // properties: notify_signal_id 0, 1, 2, 3, 4, 5, 6, 7, // enums: name, alias, flags, count, data 41, 41, 0x0, 4, 173, // enum data: key, value 42, uint(View::VBluetooth::ToStringRole), 43, uint(View::VBluetooth::AddrRole), 44, uint(View::VBluetooth::NameRole), 45, uint(View::VBluetooth::PairRole), 0 // eod }; void View::VBluetooth::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { auto *_t = static_cast(_o); (void)_t; switch (_id) { case 0: _t->isInvalidChanged((*reinterpret_cast< const bool(*)>(_a[1]))); break; case 1: _t->notificationChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; case 2: _t->localNameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; case 3: _t->localAddrChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; case 4: _t->scanEnabledChanged((*reinterpret_cast< const bool(*)>(_a[1]))); break; case 5: _t->errorChanged((*reinterpret_cast< const qint16(*)>(_a[1]))); break; case 6: _t->pairedAddrChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; case 7: _t->pairedBattChanged((*reinterpret_cast< const quint8(*)>(_a[1]))); break; case 8: _t->didDeviceSelect((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; case 9: _t->onStateChange((*reinterpret_cast< const BluetoothData(*)>(_a[1]))); break; case 10: _t->onDeviceChange((*reinterpret_cast< const BluetoothDeviceData(*)>(_a[1]))); break; case 11: _t->onDeviceSelect((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; case 12: { QString _r = _t->toText((*reinterpret_cast< Model::MBluetooth::InterfaceStates(*)>(_a[1]))); if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break; case 13: _t->notify((*reinterpret_cast< Model::MBluetooth::InterfaceStates(*)>(_a[1]))); break; case 14: _t->doScan(); break; default: ; } } else if (_c == QMetaObject::IndexOfMethod) { int *result = reinterpret_cast(_a[0]); { using _t = void (VBluetooth::*)(const bool & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VBluetooth::isInvalidChanged)) { *result = 0; return; } } { using _t = void (VBluetooth::*)(const QString & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VBluetooth::notificationChanged)) { *result = 1; return; } } { using _t = void (VBluetooth::*)(const QString & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VBluetooth::localNameChanged)) { *result = 2; return; } } { using _t = void (VBluetooth::*)(const QString & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VBluetooth::localAddrChanged)) { *result = 3; return; } } { using _t = void (VBluetooth::*)(const bool & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VBluetooth::scanEnabledChanged)) { *result = 4; return; } } { using _t = void (VBluetooth::*)(const qint16 & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VBluetooth::errorChanged)) { *result = 5; return; } } { using _t = void (VBluetooth::*)(const QString & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VBluetooth::pairedAddrChanged)) { *result = 6; return; } } { using _t = void (VBluetooth::*)(const quint8 & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VBluetooth::pairedBattChanged)) { *result = 7; return; } } { using _t = void (VBluetooth::*)(const QString & , const QString & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VBluetooth::didDeviceSelect)) { *result = 8; return; } } } #ifndef QT_NO_PROPERTIES else if (_c == QMetaObject::ReadProperty) { auto *_t = static_cast(_o); (void)_t; void *_v = _a[0]; switch (_id) { case 0: *reinterpret_cast< bool*>(_v) = _t->isInvalid(); break; case 1: *reinterpret_cast< QString*>(_v) = _t->notification(); break; case 2: *reinterpret_cast< QString*>(_v) = _t->localName(); break; case 3: *reinterpret_cast< QString*>(_v) = _t->localAddr(); break; case 4: *reinterpret_cast< bool*>(_v) = _t->scanEnabled(); break; case 5: *reinterpret_cast< qint16*>(_v) = _t->error(); break; case 6: *reinterpret_cast< QString*>(_v) = _t->pairedAddr(); break; case 7: *reinterpret_cast< quint8*>(_v) = _t->pairedBatt(); break; default: break; } } else if (_c == QMetaObject::WriteProperty) { auto *_t = static_cast(_o); (void)_t; void *_v = _a[0]; switch (_id) { case 0: _t->isInvalid(*reinterpret_cast< bool*>(_v)); break; case 1: _t->notification(*reinterpret_cast< QString*>(_v)); break; case 2: _t->localName(*reinterpret_cast< QString*>(_v)); break; case 3: _t->localAddr(*reinterpret_cast< QString*>(_v)); break; case 4: _t->scanEnabled(*reinterpret_cast< bool*>(_v)); break; case 5: _t->error(*reinterpret_cast< qint16*>(_v)); break; case 6: _t->pairedAddr(*reinterpret_cast< QString*>(_v)); break; case 7: _t->pairedBatt(*reinterpret_cast< quint8*>(_v)); break; default: break; } } else if (_c == QMetaObject::ResetProperty) { } #endif // QT_NO_PROPERTIES } QT_INIT_METAOBJECT const QMetaObject View::VBluetooth::staticMetaObject = { { QMetaObject::SuperData::link(), qt_meta_stringdata_View__VBluetooth.data, qt_meta_data_View__VBluetooth, qt_static_metacall, nullptr, nullptr } }; const QMetaObject *View::VBluetooth::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *View::VBluetooth::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_View__VBluetooth.stringdata0)) return static_cast(this); return QAbstractListModel::qt_metacast(_clname); } int View::VBluetooth::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QAbstractListModel::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { if (_id < 15) qt_static_metacall(this, _c, _id, _a); _id -= 15; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 15) *reinterpret_cast(_a[0]) = -1; _id -= 15; } #ifndef QT_NO_PROPERTIES else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { qt_static_metacall(this, _c, _id, _a); _id -= 8; } else if (_c == QMetaObject::QueryPropertyDesignable) { _id -= 8; } else if (_c == QMetaObject::QueryPropertyScriptable) { _id -= 8; } else if (_c == QMetaObject::QueryPropertyStored) { _id -= 8; } else if (_c == QMetaObject::QueryPropertyEditable) { _id -= 8; } else if (_c == QMetaObject::QueryPropertyUser) { _id -= 8; } #endif // QT_NO_PROPERTIES return _id; } // SIGNAL 0 void View::VBluetooth::isInvalidChanged(const bool & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 0, _a); } // SIGNAL 1 void View::VBluetooth::notificationChanged(const QString & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 1, _a); } // SIGNAL 2 void View::VBluetooth::localNameChanged(const QString & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 2, _a); } // SIGNAL 3 void View::VBluetooth::localAddrChanged(const QString & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 3, _a); } // SIGNAL 4 void View::VBluetooth::scanEnabledChanged(const bool & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 4, _a); } // SIGNAL 5 void View::VBluetooth::errorChanged(const qint16 & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 5, _a); } // SIGNAL 6 void View::VBluetooth::pairedAddrChanged(const QString & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 6, _a); } // SIGNAL 7 void View::VBluetooth::pairedBattChanged(const quint8 & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 7, _a); } // SIGNAL 8 void View::VBluetooth::didDeviceSelect(const QString & _t1, const QString & _t2) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; QMetaObject::activate(this, &staticMetaObject, 8, _a); } QT_WARNING_POP QT_END_MOC_NAMESPACE