diff --git a/src/moc_keepbike.cpp b/src/moc_keepbike.cpp deleted file mode 100644 index beb11afd0..000000000 --- a/src/moc_keepbike.cpp +++ /dev/null @@ -1,275 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'keepbike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "keepbike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'keepbike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_keepbike_t { - QByteArrayData data[29]; - char stringdata0[467]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_keepbike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_keepbike_t qt_meta_stringdata_keepbike = { - { -QT_MOC_LITERAL(0, 0, 8), // "keepbike" -QT_MOC_LITERAL(1, 9, 12), // "disconnected" -QT_MOC_LITERAL(2, 22, 0), // "" -QT_MOC_LITERAL(3, 23, 16), // "deviceDiscovered" -QT_MOC_LITERAL(4, 40, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(5, 61, 6), // "device" -QT_MOC_LITERAL(6, 68, 21), // "characteristicChanged" -QT_MOC_LITERAL(7, 90, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(8, 115, 14), // "characteristic" -QT_MOC_LITERAL(9, 130, 8), // "newValue" -QT_MOC_LITERAL(10, 139, 21), // "characteristicWritten" -QT_MOC_LITERAL(11, 161, 17), // "descriptorWritten" -QT_MOC_LITERAL(12, 179, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(13, 200, 10), // "descriptor" -QT_MOC_LITERAL(14, 211, 12), // "stateChanged" -QT_MOC_LITERAL(15, 224, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(16, 256, 5), // "state" -QT_MOC_LITERAL(17, 262, 22), // "controllerStateChanged" -QT_MOC_LITERAL(18, 285, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(19, 323, 17), // "serviceDiscovered" -QT_MOC_LITERAL(20, 341, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(21, 356, 4), // "gatt" -QT_MOC_LITERAL(22, 361, 15), // "serviceScanDone" -QT_MOC_LITERAL(23, 377, 6), // "update" -QT_MOC_LITERAL(24, 384, 5), // "error" -QT_MOC_LITERAL(25, 390, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(26, 418, 3), // "err" -QT_MOC_LITERAL(27, 422, 12), // "errorService" -QT_MOC_LITERAL(28, 435, 31) // "QLowEnergyService::ServiceError" - - }, - "keepbike\0disconnected\0\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0" - "characteristicChanged\0QLowEnergyCharacteristic\0" - "characteristic\0newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_keepbike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 12, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 74, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 3, 1, 75, 2, 0x0a /* Public */, - 6, 2, 78, 2, 0x08 /* Private */, - 10, 2, 83, 2, 0x08 /* Private */, - 11, 2, 88, 2, 0x08 /* Private */, - 14, 1, 93, 2, 0x08 /* Private */, - 17, 1, 96, 2, 0x08 /* Private */, - 19, 1, 99, 2, 0x08 /* Private */, - 22, 0, 102, 2, 0x08 /* Private */, - 23, 0, 103, 2, 0x08 /* Private */, - 24, 1, 104, 2, 0x08 /* Private */, - 27, 1, 107, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 4, 5, - QMetaType::Void, 0x80000000 | 7, QMetaType::QByteArray, 8, 9, - QMetaType::Void, 0x80000000 | 7, QMetaType::QByteArray, 8, 9, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 9, - QMetaType::Void, 0x80000000 | 15, 16, - QMetaType::Void, 0x80000000 | 18, 16, - QMetaType::Void, 0x80000000 | 20, 21, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, 0x80000000 | 28, 2, - - 0 // eod -}; - -void keepbike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 2: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 3: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 6: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 7: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 8: _t->serviceScanDone(); break; - case 9: _t->update(); break; - case 10: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 11: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 1: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (keepbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&keepbike::disconnected)) { - *result = 0; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject keepbike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_keepbike.data, - qt_meta_data_keepbike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *keepbike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *keepbike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_keepbike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int keepbike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } - return _id; -} - -// SIGNAL 0 -void keepbike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_kingsmithr1protreadmill.cpp b/src/moc_kingsmithr1protreadmill.cpp deleted file mode 100644 index 36e543050..000000000 --- a/src/moc_kingsmithr1protreadmill.cpp +++ /dev/null @@ -1,343 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'kingsmithr1protreadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "kingsmithr1protreadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'kingsmithr1protreadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_kingsmithr1protreadmill_t { - QByteArrayData data[38]; - char stringdata0[587]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_kingsmithr1protreadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_kingsmithr1protreadmill_t qt_meta_stringdata_kingsmithr1protreadmill = { - { -QT_MOC_LITERAL(0, 0, 23), // "kingsmithr1protreadmill" -QT_MOC_LITERAL(1, 24, 12), // "disconnected" -QT_MOC_LITERAL(2, 37, 0), // "" -QT_MOC_LITERAL(3, 38, 5), // "debug" -QT_MOC_LITERAL(4, 44, 6), // "string" -QT_MOC_LITERAL(5, 51, 12), // "speedChanged" -QT_MOC_LITERAL(6, 64, 5), // "speed" -QT_MOC_LITERAL(7, 70, 14), // "packetReceived" -QT_MOC_LITERAL(8, 85, 16), // "deviceDiscovered" -QT_MOC_LITERAL(9, 102, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(10, 123, 6), // "device" -QT_MOC_LITERAL(11, 130, 13), // "searchingStop" -QT_MOC_LITERAL(12, 144, 21), // "characteristicChanged" -QT_MOC_LITERAL(13, 166, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(14, 191, 14), // "characteristic" -QT_MOC_LITERAL(15, 206, 8), // "newValue" -QT_MOC_LITERAL(16, 215, 21), // "characteristicWritten" -QT_MOC_LITERAL(17, 237, 17), // "descriptorWritten" -QT_MOC_LITERAL(18, 255, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(19, 276, 10), // "descriptor" -QT_MOC_LITERAL(20, 287, 12), // "stateChanged" -QT_MOC_LITERAL(21, 300, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(22, 332, 5), // "state" -QT_MOC_LITERAL(23, 338, 22), // "controllerStateChanged" -QT_MOC_LITERAL(24, 361, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(25, 399, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(26, 426, 5), // "grade" -QT_MOC_LITERAL(27, 432, 10), // "percentage" -QT_MOC_LITERAL(28, 443, 17), // "serviceDiscovered" -QT_MOC_LITERAL(29, 461, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(30, 476, 4), // "gatt" -QT_MOC_LITERAL(31, 481, 15), // "serviceScanDone" -QT_MOC_LITERAL(32, 497, 6), // "update" -QT_MOC_LITERAL(33, 504, 5), // "error" -QT_MOC_LITERAL(34, 510, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(35, 538, 3), // "err" -QT_MOC_LITERAL(36, 542, 12), // "errorService" -QT_MOC_LITERAL(37, 555, 31) // "QLowEnergyService::ServiceError" - - }, - "kingsmithr1protreadmill\0disconnected\0" - "\0debug\0string\0speedChanged\0speed\0" - "packetReceived\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0searchingStop\0" - "characteristicChanged\0QLowEnergyCharacteristic\0" - "characteristic\0newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "changeInclinationRequested\0grade\0" - "percentage\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0serviceScanDone\0" - "update\0error\0QLowEnergyController::Error\0" - "err\0errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_kingsmithr1protreadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 17, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 4, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 99, 2, 0x06 /* Public */, - 3, 1, 100, 2, 0x06 /* Public */, - 5, 1, 103, 2, 0x06 /* Public */, - 7, 0, 106, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 8, 1, 107, 2, 0x0a /* Public */, - 11, 0, 110, 2, 0x0a /* Public */, - 12, 2, 111, 2, 0x08 /* Private */, - 16, 2, 116, 2, 0x08 /* Private */, - 17, 2, 121, 2, 0x08 /* Private */, - 20, 1, 126, 2, 0x08 /* Private */, - 23, 1, 129, 2, 0x08 /* Private */, - 25, 2, 132, 2, 0x08 /* Private */, - 28, 1, 137, 2, 0x08 /* Private */, - 31, 0, 140, 2, 0x08 /* Private */, - 32, 0, 141, 2, 0x08 /* Private */, - 33, 1, 142, 2, 0x08 /* Private */, - 36, 1, 145, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, QMetaType::Double, 6, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 9, 10, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 13, QMetaType::QByteArray, 14, 15, - QMetaType::Void, 0x80000000 | 13, QMetaType::QByteArray, 14, 15, - QMetaType::Void, 0x80000000 | 18, QMetaType::QByteArray, 19, 15, - QMetaType::Void, 0x80000000 | 21, 22, - QMetaType::Void, 0x80000000 | 24, 22, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 26, 27, - QMetaType::Void, 0x80000000 | 29, 30, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 34, 35, - QMetaType::Void, 0x80000000 | 37, 2, - - 0 // eod -}; - -void kingsmithr1protreadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->speedChanged((*reinterpret_cast< double(*)>(_a[1]))); break; - case 3: _t->packetReceived(); break; - case 4: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 5: _t->searchingStop(); break; - case 6: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 9: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 10: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 11: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 12: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 13: _t->serviceScanDone(); break; - case 14: _t->update(); break; - case 15: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 16: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 12: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 15: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 16: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (kingsmithr1protreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&kingsmithr1protreadmill::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (kingsmithr1protreadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&kingsmithr1protreadmill::debug)) { - *result = 1; - return; - } - } - { - using _t = void (kingsmithr1protreadmill::*)(double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&kingsmithr1protreadmill::speedChanged)) { - *result = 2; - return; - } - } - { - using _t = void (kingsmithr1protreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&kingsmithr1protreadmill::packetReceived)) { - *result = 3; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject kingsmithr1protreadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_kingsmithr1protreadmill.data, - qt_meta_data_kingsmithr1protreadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *kingsmithr1protreadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *kingsmithr1protreadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_kingsmithr1protreadmill.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int kingsmithr1protreadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 17) - qt_static_metacall(this, _c, _id, _a); - _id -= 17; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 17) - qt_static_metacall(this, _c, _id, _a); - _id -= 17; - } - return _id; -} - -// SIGNAL 0 -void kingsmithr1protreadmill::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void kingsmithr1protreadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void kingsmithr1protreadmill::speedChanged(double _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} - -// SIGNAL 3 -void kingsmithr1protreadmill::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 3, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_kingsmithr2treadmill.cpp b/src/moc_kingsmithr2treadmill.cpp deleted file mode 100644 index 789749340..000000000 --- a/src/moc_kingsmithr2treadmill.cpp +++ /dev/null @@ -1,343 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'kingsmithr2treadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "kingsmithr2treadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'kingsmithr2treadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_kingsmithr2treadmill_t { - QByteArrayData data[38]; - char stringdata0[584]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_kingsmithr2treadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_kingsmithr2treadmill_t qt_meta_stringdata_kingsmithr2treadmill = { - { -QT_MOC_LITERAL(0, 0, 20), // "kingsmithr2treadmill" -QT_MOC_LITERAL(1, 21, 12), // "disconnected" -QT_MOC_LITERAL(2, 34, 0), // "" -QT_MOC_LITERAL(3, 35, 5), // "debug" -QT_MOC_LITERAL(4, 41, 6), // "string" -QT_MOC_LITERAL(5, 48, 12), // "speedChanged" -QT_MOC_LITERAL(6, 61, 5), // "speed" -QT_MOC_LITERAL(7, 67, 14), // "packetReceived" -QT_MOC_LITERAL(8, 82, 16), // "deviceDiscovered" -QT_MOC_LITERAL(9, 99, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(10, 120, 6), // "device" -QT_MOC_LITERAL(11, 127, 13), // "searchingStop" -QT_MOC_LITERAL(12, 141, 21), // "characteristicChanged" -QT_MOC_LITERAL(13, 163, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(14, 188, 14), // "characteristic" -QT_MOC_LITERAL(15, 203, 8), // "newValue" -QT_MOC_LITERAL(16, 212, 21), // "characteristicWritten" -QT_MOC_LITERAL(17, 234, 17), // "descriptorWritten" -QT_MOC_LITERAL(18, 252, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(19, 273, 10), // "descriptor" -QT_MOC_LITERAL(20, 284, 12), // "stateChanged" -QT_MOC_LITERAL(21, 297, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(22, 329, 5), // "state" -QT_MOC_LITERAL(23, 335, 22), // "controllerStateChanged" -QT_MOC_LITERAL(24, 358, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(25, 396, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(26, 423, 5), // "grade" -QT_MOC_LITERAL(27, 429, 10), // "percentage" -QT_MOC_LITERAL(28, 440, 17), // "serviceDiscovered" -QT_MOC_LITERAL(29, 458, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(30, 473, 4), // "gatt" -QT_MOC_LITERAL(31, 478, 15), // "serviceScanDone" -QT_MOC_LITERAL(32, 494, 6), // "update" -QT_MOC_LITERAL(33, 501, 5), // "error" -QT_MOC_LITERAL(34, 507, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(35, 535, 3), // "err" -QT_MOC_LITERAL(36, 539, 12), // "errorService" -QT_MOC_LITERAL(37, 552, 31) // "QLowEnergyService::ServiceError" - - }, - "kingsmithr2treadmill\0disconnected\0\0" - "debug\0string\0speedChanged\0speed\0" - "packetReceived\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0searchingStop\0" - "characteristicChanged\0QLowEnergyCharacteristic\0" - "characteristic\0newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "changeInclinationRequested\0grade\0" - "percentage\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0serviceScanDone\0" - "update\0error\0QLowEnergyController::Error\0" - "err\0errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_kingsmithr2treadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 17, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 4, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 99, 2, 0x06 /* Public */, - 3, 1, 100, 2, 0x06 /* Public */, - 5, 1, 103, 2, 0x06 /* Public */, - 7, 0, 106, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 8, 1, 107, 2, 0x0a /* Public */, - 11, 0, 110, 2, 0x0a /* Public */, - 12, 2, 111, 2, 0x08 /* Private */, - 16, 2, 116, 2, 0x08 /* Private */, - 17, 2, 121, 2, 0x08 /* Private */, - 20, 1, 126, 2, 0x08 /* Private */, - 23, 1, 129, 2, 0x08 /* Private */, - 25, 2, 132, 2, 0x08 /* Private */, - 28, 1, 137, 2, 0x08 /* Private */, - 31, 0, 140, 2, 0x08 /* Private */, - 32, 0, 141, 2, 0x08 /* Private */, - 33, 1, 142, 2, 0x08 /* Private */, - 36, 1, 145, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, QMetaType::Double, 6, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 9, 10, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 13, QMetaType::QByteArray, 14, 15, - QMetaType::Void, 0x80000000 | 13, QMetaType::QByteArray, 14, 15, - QMetaType::Void, 0x80000000 | 18, QMetaType::QByteArray, 19, 15, - QMetaType::Void, 0x80000000 | 21, 22, - QMetaType::Void, 0x80000000 | 24, 22, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 26, 27, - QMetaType::Void, 0x80000000 | 29, 30, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 34, 35, - QMetaType::Void, 0x80000000 | 37, 2, - - 0 // eod -}; - -void kingsmithr2treadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->speedChanged((*reinterpret_cast< double(*)>(_a[1]))); break; - case 3: _t->packetReceived(); break; - case 4: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 5: _t->searchingStop(); break; - case 6: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 9: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 10: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 11: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 12: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 13: _t->serviceScanDone(); break; - case 14: _t->update(); break; - case 15: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 16: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 12: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 15: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 16: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (kingsmithr2treadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&kingsmithr2treadmill::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (kingsmithr2treadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&kingsmithr2treadmill::debug)) { - *result = 1; - return; - } - } - { - using _t = void (kingsmithr2treadmill::*)(double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&kingsmithr2treadmill::speedChanged)) { - *result = 2; - return; - } - } - { - using _t = void (kingsmithr2treadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&kingsmithr2treadmill::packetReceived)) { - *result = 3; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject kingsmithr2treadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_kingsmithr2treadmill.data, - qt_meta_data_kingsmithr2treadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *kingsmithr2treadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *kingsmithr2treadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_kingsmithr2treadmill.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int kingsmithr2treadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 17) - qt_static_metacall(this, _c, _id, _a); - _id -= 17; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 17) - qt_static_metacall(this, _c, _id, _a); - _id -= 17; - } - return _id; -} - -// SIGNAL 0 -void kingsmithr2treadmill::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void kingsmithr2treadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void kingsmithr2treadmill::speedChanged(double _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} - -// SIGNAL 3 -void kingsmithr2treadmill::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 3, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_lifefitnesstreadmill.cpp b/src/moc_lifefitnesstreadmill.cpp deleted file mode 100644 index 98d281300..000000000 --- a/src/moc_lifefitnesstreadmill.cpp +++ /dev/null @@ -1,344 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'lifefitnesstreadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "lifefitnesstreadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'lifefitnesstreadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_lifefitnesstreadmill_t { - QByteArrayData data[37]; - char stringdata0[585]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_lifefitnesstreadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_lifefitnesstreadmill_t qt_meta_stringdata_lifefitnesstreadmill = { - { -QT_MOC_LITERAL(0, 0, 20), // "lifefitnesstreadmill" -QT_MOC_LITERAL(1, 21, 12), // "disconnected" -QT_MOC_LITERAL(2, 34, 0), // "" -QT_MOC_LITERAL(3, 35, 5), // "debug" -QT_MOC_LITERAL(4, 41, 6), // "string" -QT_MOC_LITERAL(5, 48, 14), // "packetReceived" -QT_MOC_LITERAL(6, 63, 16), // "deviceDiscovered" -QT_MOC_LITERAL(7, 80, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(8, 101, 6), // "device" -QT_MOC_LITERAL(9, 108, 21), // "characteristicChanged" -QT_MOC_LITERAL(10, 130, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(11, 155, 14), // "characteristic" -QT_MOC_LITERAL(12, 170, 8), // "newValue" -QT_MOC_LITERAL(13, 179, 21), // "characteristicWritten" -QT_MOC_LITERAL(14, 201, 17), // "descriptorWritten" -QT_MOC_LITERAL(15, 219, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(16, 240, 10), // "descriptor" -QT_MOC_LITERAL(17, 251, 18), // "characteristicRead" -QT_MOC_LITERAL(18, 270, 14), // "descriptorRead" -QT_MOC_LITERAL(19, 285, 12), // "stateChanged" -QT_MOC_LITERAL(20, 298, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(21, 330, 5), // "state" -QT_MOC_LITERAL(22, 336, 22), // "controllerStateChanged" -QT_MOC_LITERAL(23, 359, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(24, 397, 17), // "serviceDiscovered" -QT_MOC_LITERAL(25, 415, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(26, 430, 4), // "gatt" -QT_MOC_LITERAL(27, 435, 15), // "serviceScanDone" -QT_MOC_LITERAL(28, 451, 6), // "update" -QT_MOC_LITERAL(29, 458, 5), // "error" -QT_MOC_LITERAL(30, 464, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(31, 492, 3), // "err" -QT_MOC_LITERAL(32, 496, 12), // "errorService" -QT_MOC_LITERAL(33, 509, 31), // "QLowEnergyService::ServiceError" -QT_MOC_LITERAL(34, 541, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(35, 568, 5), // "grade" -QT_MOC_LITERAL(36, 574, 10) // "percentage" - - }, - "lifefitnesstreadmill\0disconnected\0\0" - "debug\0string\0packetReceived\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0characteristicRead\0" - "descriptorRead\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError\0" - "changeInclinationRequested\0grade\0" - "percentage" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_lifefitnesstreadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 17, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 3, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 99, 2, 0x06 /* Public */, - 3, 1, 100, 2, 0x06 /* Public */, - 5, 0, 103, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 6, 1, 104, 2, 0x0a /* Public */, - 9, 2, 107, 2, 0x08 /* Private */, - 13, 2, 112, 2, 0x08 /* Private */, - 14, 2, 117, 2, 0x08 /* Private */, - 17, 2, 122, 2, 0x08 /* Private */, - 18, 2, 127, 2, 0x08 /* Private */, - 19, 1, 132, 2, 0x08 /* Private */, - 22, 1, 135, 2, 0x08 /* Private */, - 24, 1, 138, 2, 0x08 /* Private */, - 27, 0, 141, 2, 0x08 /* Private */, - 28, 0, 142, 2, 0x08 /* Private */, - 29, 1, 143, 2, 0x08 /* Private */, - 32, 1, 146, 2, 0x08 /* Private */, - 34, 2, 149, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 7, 8, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 15, QMetaType::QByteArray, 16, 12, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 15, QMetaType::QByteArray, 16, 12, - QMetaType::Void, 0x80000000 | 20, 21, - QMetaType::Void, 0x80000000 | 23, 21, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 30, 31, - QMetaType::Void, 0x80000000 | 33, 2, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 35, 36, - - 0 // eod -}; - -void lifefitnesstreadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->packetReceived(); break; - case 3: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 4: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->characteristicRead((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->descriptorRead((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 9: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 10: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 11: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 12: _t->serviceScanDone(); break; - case 13: _t->update(); break; - case 14: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 15: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - case 16: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 15: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (lifefitnesstreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&lifefitnesstreadmill::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (lifefitnesstreadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&lifefitnesstreadmill::debug)) { - *result = 1; - return; - } - } - { - using _t = void (lifefitnesstreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&lifefitnesstreadmill::packetReceived)) { - *result = 2; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject lifefitnesstreadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_lifefitnesstreadmill.data, - qt_meta_data_lifefitnesstreadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *lifefitnesstreadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *lifefitnesstreadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_lifefitnesstreadmill.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int lifefitnesstreadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 17) - qt_static_metacall(this, _c, _id, _a); - _id -= 17; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 17) - qt_static_metacall(this, _c, _id, _a); - _id -= 17; - } - return _id; -} - -// SIGNAL 0 -void lifefitnesstreadmill::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void lifefitnesstreadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void lifefitnesstreadmill::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 2, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_m3ibike.cpp b/src/moc_m3ibike.cpp deleted file mode 100644 index 974f3dc17..000000000 --- a/src/moc_m3ibike.cpp +++ /dev/null @@ -1,222 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'm3ibike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "m3ibike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'm3ibike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_m3ibike_t { - QByteArrayData data[16]; - char stringdata0[220]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_m3ibike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_m3ibike_t qt_meta_stringdata_m3ibike = { - { -QT_MOC_LITERAL(0, 0, 7), // "m3ibike" -QT_MOC_LITERAL(1, 8, 12), // "disconnected" -QT_MOC_LITERAL(2, 21, 0), // "" -QT_MOC_LITERAL(3, 22, 5), // "debug" -QT_MOC_LITERAL(4, 28, 6), // "string" -QT_MOC_LITERAL(5, 35, 13), // "searchingStop" -QT_MOC_LITERAL(6, 49, 16), // "deviceDiscovered" -QT_MOC_LITERAL(7, 66, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(8, 87, 6), // "device" -QT_MOC_LITERAL(9, 94, 17), // "deviceUpdatedPriv" -QT_MOC_LITERAL(10, 112, 28), // "QBluetoothDeviceInfo::Fields" -QT_MOC_LITERAL(11, 141, 20), // "deviceDiscoveredPriv" -QT_MOC_LITERAL(12, 162, 21), // "discoveryFinishedPriv" -QT_MOC_LITERAL(13, 184, 18), // "processAdvertising" -QT_MOC_LITERAL(14, 203, 4), // "data" -QT_MOC_LITERAL(15, 208, 11) // "restartScan" - - }, - "m3ibike\0disconnected\0\0debug\0string\0" - "searchingStop\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0" - "deviceUpdatedPriv\0QBluetoothDeviceInfo::Fields\0" - "deviceDiscoveredPriv\0discoveryFinishedPriv\0" - "processAdvertising\0data\0restartScan" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_m3ibike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 9, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 59, 2, 0x06 /* Public */, - 3, 1, 60, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 0, 63, 2, 0x0a /* Public */, - 6, 1, 64, 2, 0x0a /* Public */, - 9, 2, 67, 2, 0x08 /* Private */, - 11, 1, 72, 2, 0x08 /* Private */, - 12, 0, 75, 2, 0x08 /* Private */, - - // methods: name, argc, parameters, tag, flags - 13, 1, 76, 2, 0x00 /* Private */, - 15, 0, 79, 2, 0x00 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, - QMetaType::Void, 0x80000000 | 7, 8, - QMetaType::Void, 0x80000000 | 7, 0x80000000 | 10, 2, 2, - QMetaType::Void, 0x80000000 | 7, 8, - QMetaType::Void, - - // methods: parameters - QMetaType::Void, QMetaType::QByteArray, 14, - QMetaType::Void, - - 0 // eod -}; - -void m3ibike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->searchingStop(); break; - case 3: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 4: _t->deviceUpdatedPriv((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1])),(*reinterpret_cast< QBluetoothDeviceInfo::Fields(*)>(_a[2]))); break; - case 5: _t->deviceDiscoveredPriv((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 6: _t->discoveryFinishedPriv(); break; - case 7: _t->processAdvertising((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; - case 8: _t->restartScan(); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (m3ibike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&m3ibike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (m3ibike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&m3ibike::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject m3ibike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_m3ibike.data, - qt_meta_data_m3ibike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *m3ibike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *m3ibike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_m3ibike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int m3ibike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 9) - qt_static_metacall(this, _c, _id, _a); - _id -= 9; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 9) - qt_static_metacall(this, _c, _id, _a); - _id -= 9; - } - return _id; -} - -// SIGNAL 0 -void m3ibike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void m3ibike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_mainwindow.cpp b/src/moc_mainwindow.cpp deleted file mode 100644 index 75075a78d..000000000 --- a/src/moc_mainwindow.cpp +++ /dev/null @@ -1,213 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'mainwindow.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "mainwindow.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'mainwindow.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_MainWindow_t { - QByteArrayData data[28]; - char stringdata0[500]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = { - { -QT_MOC_LITERAL(0, 0, 10), // "MainWindow" -QT_MOC_LITERAL(1, 11, 6), // "update" -QT_MOC_LITERAL(2, 18, 0), // "" -QT_MOC_LITERAL(3, 19, 26), // "on_tableWidget_cellChanged" -QT_MOC_LITERAL(4, 46, 3), // "row" -QT_MOC_LITERAL(5, 50, 6), // "column" -QT_MOC_LITERAL(6, 57, 33), // "on_tableWidget_currentItemCha..." -QT_MOC_LITERAL(7, 91, 17), // "QTableWidgetItem*" -QT_MOC_LITERAL(8, 109, 7), // "current" -QT_MOC_LITERAL(9, 117, 8), // "previous" -QT_MOC_LITERAL(10, 126, 15), // "on_save_clicked" -QT_MOC_LITERAL(11, 142, 15), // "on_load_clicked" -QT_MOC_LITERAL(12, 158, 16), // "on_reset_clicked" -QT_MOC_LITERAL(13, 175, 15), // "on_stop_clicked" -QT_MOC_LITERAL(14, 191, 16), // "on_start_clicked" -QT_MOC_LITERAL(15, 208, 21), // "on_groupTrain_clicked" -QT_MOC_LITERAL(16, 230, 24), // "on_fanSpeedMinus_clicked" -QT_MOC_LITERAL(17, 255, 23), // "on_fanSpeedPlus_clicked" -QT_MOC_LITERAL(18, 279, 26), // "on_difficulty_valueChanged" -QT_MOC_LITERAL(19, 306, 5), // "value" -QT_MOC_LITERAL(20, 312, 19), // "trainProgramSignals" -QT_MOC_LITERAL(21, 332, 21), // "on_speedMinus_clicked" -QT_MOC_LITERAL(22, 354, 20), // "on_speedPlus_clicked" -QT_MOC_LITERAL(23, 375, 27), // "on_inclinationMinus_clicked" -QT_MOC_LITERAL(24, 403, 26), // "on_inclinationPlus_clicked" -QT_MOC_LITERAL(25, 430, 26), // "on_resistanceMinus_clicked" -QT_MOC_LITERAL(26, 457, 25), // "on_resistancePlus_clicked" -QT_MOC_LITERAL(27, 483, 16) // "on_chart_clicked" - - }, - "MainWindow\0update\0\0on_tableWidget_cellChanged\0" - "row\0column\0on_tableWidget_currentItemChanged\0" - "QTableWidgetItem*\0current\0previous\0" - "on_save_clicked\0on_load_clicked\0" - "on_reset_clicked\0on_stop_clicked\0" - "on_start_clicked\0on_groupTrain_clicked\0" - "on_fanSpeedMinus_clicked\0" - "on_fanSpeedPlus_clicked\0" - "on_difficulty_valueChanged\0value\0" - "trainProgramSignals\0on_speedMinus_clicked\0" - "on_speedPlus_clicked\0on_inclinationMinus_clicked\0" - "on_inclinationPlus_clicked\0" - "on_resistanceMinus_clicked\0" - "on_resistancePlus_clicked\0on_chart_clicked" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_MainWindow[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 20, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 0, 114, 2, 0x08 /* Private */, - 3, 2, 115, 2, 0x08 /* Private */, - 6, 2, 120, 2, 0x08 /* Private */, - 10, 0, 125, 2, 0x08 /* Private */, - 11, 0, 126, 2, 0x08 /* Private */, - 12, 0, 127, 2, 0x08 /* Private */, - 13, 0, 128, 2, 0x08 /* Private */, - 14, 0, 129, 2, 0x08 /* Private */, - 15, 0, 130, 2, 0x08 /* Private */, - 16, 0, 131, 2, 0x08 /* Private */, - 17, 0, 132, 2, 0x08 /* Private */, - 18, 1, 133, 2, 0x08 /* Private */, - 20, 0, 136, 2, 0x08 /* Private */, - 21, 0, 137, 2, 0x08 /* Private */, - 22, 0, 138, 2, 0x08 /* Private */, - 23, 0, 139, 2, 0x08 /* Private */, - 24, 0, 140, 2, 0x08 /* Private */, - 25, 0, 141, 2, 0x08 /* Private */, - 26, 0, 142, 2, 0x08 /* Private */, - 27, 0, 143, 2, 0x08 /* Private */, - - // slots: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::Int, QMetaType::Int, 4, 5, - QMetaType::Void, 0x80000000 | 7, 0x80000000 | 7, 8, 9, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, QMetaType::Int, 19, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - - 0 // eod -}; - -void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->update(); break; - case 1: _t->on_tableWidget_cellChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - case 2: _t->on_tableWidget_currentItemChanged((*reinterpret_cast< QTableWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QTableWidgetItem*(*)>(_a[2]))); break; - case 3: _t->on_save_clicked(); break; - case 4: _t->on_load_clicked(); break; - case 5: _t->on_reset_clicked(); break; - case 6: _t->on_stop_clicked(); break; - case 7: _t->on_start_clicked(); break; - case 8: _t->on_groupTrain_clicked(); break; - case 9: _t->on_fanSpeedMinus_clicked(); break; - case 10: _t->on_fanSpeedPlus_clicked(); break; - case 11: _t->on_difficulty_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break; - case 12: _t->trainProgramSignals(); break; - case 13: _t->on_speedMinus_clicked(); break; - case 14: _t->on_speedPlus_clicked(); break; - case 15: _t->on_inclinationMinus_clicked(); break; - case 16: _t->on_inclinationPlus_clicked(); break; - case 17: _t->on_resistanceMinus_clicked(); break; - case 18: _t->on_resistancePlus_clicked(); break; - case 19: _t->on_chart_clicked(); break; - default: ; - } - } -} - -QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_MainWindow.data, - qt_meta_data_MainWindow, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *MainWindow::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *MainWindow::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0)) - return static_cast(this); - return QDialog::qt_metacast(_clname); -} - -int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 20) - qt_static_metacall(this, _c, _id, _a); - _id -= 20; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 20) - *reinterpret_cast(_a[0]) = -1; - _id -= 20; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_material.cpp b/src/moc_material.cpp deleted file mode 100644 index 4b411e3b9..000000000 --- a/src/moc_material.cpp +++ /dev/null @@ -1,183 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'material.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "material.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'material.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_materialHelper_t { - QByteArrayData data[39]; - char stringdata0[305]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_materialHelper_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_materialHelper_t qt_meta_stringdata_materialHelper = { - { -QT_MOC_LITERAL(0, 0, 14), // "materialHelper" -QT_MOC_LITERAL(1, 15, 5), // "Theme" -QT_MOC_LITERAL(2, 21, 5), // "Light" -QT_MOC_LITERAL(3, 27, 4), // "Dark" -QT_MOC_LITERAL(4, 32, 5), // "Color" -QT_MOC_LITERAL(5, 38, 3), // "Red" -QT_MOC_LITERAL(6, 42, 4), // "Pink" -QT_MOC_LITERAL(7, 47, 6), // "Purple" -QT_MOC_LITERAL(8, 54, 10), // "DeepPurple" -QT_MOC_LITERAL(9, 65, 6), // "Indigo" -QT_MOC_LITERAL(10, 72, 4), // "Blue" -QT_MOC_LITERAL(11, 77, 9), // "LightBlue" -QT_MOC_LITERAL(12, 87, 4), // "Cyan" -QT_MOC_LITERAL(13, 92, 4), // "Teal" -QT_MOC_LITERAL(14, 97, 5), // "Green" -QT_MOC_LITERAL(15, 103, 10), // "LightGreen" -QT_MOC_LITERAL(16, 114, 4), // "Lime" -QT_MOC_LITERAL(17, 119, 6), // "Yellow" -QT_MOC_LITERAL(18, 126, 5), // "Amber" -QT_MOC_LITERAL(19, 132, 6), // "Orange" -QT_MOC_LITERAL(20, 139, 10), // "DeepOrange" -QT_MOC_LITERAL(21, 150, 5), // "Brown" -QT_MOC_LITERAL(22, 156, 4), // "Grey" -QT_MOC_LITERAL(23, 161, 8), // "BlueGrey" -QT_MOC_LITERAL(24, 170, 5), // "Shade" -QT_MOC_LITERAL(25, 176, 7), // "Shade50" -QT_MOC_LITERAL(26, 184, 8), // "Shade100" -QT_MOC_LITERAL(27, 193, 8), // "Shade200" -QT_MOC_LITERAL(28, 202, 8), // "Shade300" -QT_MOC_LITERAL(29, 211, 8), // "Shade400" -QT_MOC_LITERAL(30, 220, 8), // "Shade500" -QT_MOC_LITERAL(31, 229, 8), // "Shade600" -QT_MOC_LITERAL(32, 238, 8), // "Shade700" -QT_MOC_LITERAL(33, 247, 8), // "Shade800" -QT_MOC_LITERAL(34, 256, 8), // "Shade900" -QT_MOC_LITERAL(35, 265, 9), // "ShadeA100" -QT_MOC_LITERAL(36, 275, 9), // "ShadeA200" -QT_MOC_LITERAL(37, 285, 9), // "ShadeA400" -QT_MOC_LITERAL(38, 295, 9) // "ShadeA700" - - }, - "materialHelper\0Theme\0Light\0Dark\0Color\0" - "Red\0Pink\0Purple\0DeepPurple\0Indigo\0" - "Blue\0LightBlue\0Cyan\0Teal\0Green\0" - "LightGreen\0Lime\0Yellow\0Amber\0Orange\0" - "DeepOrange\0Brown\0Grey\0BlueGrey\0Shade\0" - "Shade50\0Shade100\0Shade200\0Shade300\0" - "Shade400\0Shade500\0Shade600\0Shade700\0" - "Shade800\0Shade900\0ShadeA100\0ShadeA200\0" - "ShadeA400\0ShadeA700" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_materialHelper[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 3, 14, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // enums: name, alias, flags, count, data - 1, 1, 0x0, 2, 29, - 4, 4, 0x0, 19, 33, - 24, 24, 0x0, 14, 71, - - // enum data: key, value - 2, uint(materialHelper::Light), - 3, uint(materialHelper::Dark), - 5, uint(materialHelper::Red), - 6, uint(materialHelper::Pink), - 7, uint(materialHelper::Purple), - 8, uint(materialHelper::DeepPurple), - 9, uint(materialHelper::Indigo), - 10, uint(materialHelper::Blue), - 11, uint(materialHelper::LightBlue), - 12, uint(materialHelper::Cyan), - 13, uint(materialHelper::Teal), - 14, uint(materialHelper::Green), - 15, uint(materialHelper::LightGreen), - 16, uint(materialHelper::Lime), - 17, uint(materialHelper::Yellow), - 18, uint(materialHelper::Amber), - 19, uint(materialHelper::Orange), - 20, uint(materialHelper::DeepOrange), - 21, uint(materialHelper::Brown), - 22, uint(materialHelper::Grey), - 23, uint(materialHelper::BlueGrey), - 25, uint(materialHelper::Shade50), - 26, uint(materialHelper::Shade100), - 27, uint(materialHelper::Shade200), - 28, uint(materialHelper::Shade300), - 29, uint(materialHelper::Shade400), - 30, uint(materialHelper::Shade500), - 31, uint(materialHelper::Shade600), - 32, uint(materialHelper::Shade700), - 33, uint(materialHelper::Shade800), - 34, uint(materialHelper::Shade900), - 35, uint(materialHelper::ShadeA100), - 36, uint(materialHelper::ShadeA200), - 37, uint(materialHelper::ShadeA400), - 38, uint(materialHelper::ShadeA700), - - 0 // eod -}; - -void materialHelper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject materialHelper::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_materialHelper.data, - qt_meta_data_materialHelper, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *materialHelper::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *materialHelper::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_materialHelper.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int materialHelper::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_mcfbike.cpp b/src/moc_mcfbike.cpp deleted file mode 100644 index c9777d453..000000000 --- a/src/moc_mcfbike.cpp +++ /dev/null @@ -1,275 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'mcfbike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "mcfbike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'mcfbike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_mcfbike_t { - QByteArrayData data[29]; - char stringdata0[466]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_mcfbike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_mcfbike_t qt_meta_stringdata_mcfbike = { - { -QT_MOC_LITERAL(0, 0, 7), // "mcfbike" -QT_MOC_LITERAL(1, 8, 12), // "disconnected" -QT_MOC_LITERAL(2, 21, 0), // "" -QT_MOC_LITERAL(3, 22, 16), // "deviceDiscovered" -QT_MOC_LITERAL(4, 39, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(5, 60, 6), // "device" -QT_MOC_LITERAL(6, 67, 21), // "characteristicChanged" -QT_MOC_LITERAL(7, 89, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(8, 114, 14), // "characteristic" -QT_MOC_LITERAL(9, 129, 8), // "newValue" -QT_MOC_LITERAL(10, 138, 21), // "characteristicWritten" -QT_MOC_LITERAL(11, 160, 17), // "descriptorWritten" -QT_MOC_LITERAL(12, 178, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(13, 199, 10), // "descriptor" -QT_MOC_LITERAL(14, 210, 12), // "stateChanged" -QT_MOC_LITERAL(15, 223, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(16, 255, 5), // "state" -QT_MOC_LITERAL(17, 261, 22), // "controllerStateChanged" -QT_MOC_LITERAL(18, 284, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(19, 322, 17), // "serviceDiscovered" -QT_MOC_LITERAL(20, 340, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(21, 355, 4), // "gatt" -QT_MOC_LITERAL(22, 360, 15), // "serviceScanDone" -QT_MOC_LITERAL(23, 376, 6), // "update" -QT_MOC_LITERAL(24, 383, 5), // "error" -QT_MOC_LITERAL(25, 389, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(26, 417, 3), // "err" -QT_MOC_LITERAL(27, 421, 12), // "errorService" -QT_MOC_LITERAL(28, 434, 31) // "QLowEnergyService::ServiceError" - - }, - "mcfbike\0disconnected\0\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0" - "characteristicChanged\0QLowEnergyCharacteristic\0" - "characteristic\0newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_mcfbike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 12, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 74, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 3, 1, 75, 2, 0x0a /* Public */, - 6, 2, 78, 2, 0x08 /* Private */, - 10, 2, 83, 2, 0x08 /* Private */, - 11, 2, 88, 2, 0x08 /* Private */, - 14, 1, 93, 2, 0x08 /* Private */, - 17, 1, 96, 2, 0x08 /* Private */, - 19, 1, 99, 2, 0x08 /* Private */, - 22, 0, 102, 2, 0x08 /* Private */, - 23, 0, 103, 2, 0x08 /* Private */, - 24, 1, 104, 2, 0x08 /* Private */, - 27, 1, 107, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 4, 5, - QMetaType::Void, 0x80000000 | 7, QMetaType::QByteArray, 8, 9, - QMetaType::Void, 0x80000000 | 7, QMetaType::QByteArray, 8, 9, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 9, - QMetaType::Void, 0x80000000 | 15, 16, - QMetaType::Void, 0x80000000 | 18, 16, - QMetaType::Void, 0x80000000 | 20, 21, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, 0x80000000 | 28, 2, - - 0 // eod -}; - -void mcfbike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 2: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 3: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 6: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 7: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 8: _t->serviceScanDone(); break; - case 9: _t->update(); break; - case 10: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 11: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 1: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (mcfbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&mcfbike::disconnected)) { - *result = 0; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject mcfbike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_mcfbike.data, - qt_meta_data_mcfbike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *mcfbike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *mcfbike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_mcfbike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int mcfbike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } - return _id; -} - -// SIGNAL 0 -void mcfbike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_mepanelbike.cpp b/src/moc_mepanelbike.cpp deleted file mode 100644 index e541a9f7f..000000000 --- a/src/moc_mepanelbike.cpp +++ /dev/null @@ -1,275 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'mepanelbike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "mepanelbike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'mepanelbike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_mepanelbike_t { - QByteArrayData data[29]; - char stringdata0[470]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_mepanelbike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_mepanelbike_t qt_meta_stringdata_mepanelbike = { - { -QT_MOC_LITERAL(0, 0, 11), // "mepanelbike" -QT_MOC_LITERAL(1, 12, 12), // "disconnected" -QT_MOC_LITERAL(2, 25, 0), // "" -QT_MOC_LITERAL(3, 26, 16), // "deviceDiscovered" -QT_MOC_LITERAL(4, 43, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(5, 64, 6), // "device" -QT_MOC_LITERAL(6, 71, 21), // "characteristicChanged" -QT_MOC_LITERAL(7, 93, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(8, 118, 14), // "characteristic" -QT_MOC_LITERAL(9, 133, 8), // "newValue" -QT_MOC_LITERAL(10, 142, 21), // "characteristicWritten" -QT_MOC_LITERAL(11, 164, 17), // "descriptorWritten" -QT_MOC_LITERAL(12, 182, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(13, 203, 10), // "descriptor" -QT_MOC_LITERAL(14, 214, 12), // "stateChanged" -QT_MOC_LITERAL(15, 227, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(16, 259, 5), // "state" -QT_MOC_LITERAL(17, 265, 22), // "controllerStateChanged" -QT_MOC_LITERAL(18, 288, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(19, 326, 17), // "serviceDiscovered" -QT_MOC_LITERAL(20, 344, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(21, 359, 4), // "gatt" -QT_MOC_LITERAL(22, 364, 15), // "serviceScanDone" -QT_MOC_LITERAL(23, 380, 6), // "update" -QT_MOC_LITERAL(24, 387, 5), // "error" -QT_MOC_LITERAL(25, 393, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(26, 421, 3), // "err" -QT_MOC_LITERAL(27, 425, 12), // "errorService" -QT_MOC_LITERAL(28, 438, 31) // "QLowEnergyService::ServiceError" - - }, - "mepanelbike\0disconnected\0\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0" - "characteristicChanged\0QLowEnergyCharacteristic\0" - "characteristic\0newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_mepanelbike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 12, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 74, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 3, 1, 75, 2, 0x0a /* Public */, - 6, 2, 78, 2, 0x08 /* Private */, - 10, 2, 83, 2, 0x08 /* Private */, - 11, 2, 88, 2, 0x08 /* Private */, - 14, 1, 93, 2, 0x08 /* Private */, - 17, 1, 96, 2, 0x08 /* Private */, - 19, 1, 99, 2, 0x08 /* Private */, - 22, 0, 102, 2, 0x08 /* Private */, - 23, 0, 103, 2, 0x08 /* Private */, - 24, 1, 104, 2, 0x08 /* Private */, - 27, 1, 107, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 4, 5, - QMetaType::Void, 0x80000000 | 7, QMetaType::QByteArray, 8, 9, - QMetaType::Void, 0x80000000 | 7, QMetaType::QByteArray, 8, 9, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 9, - QMetaType::Void, 0x80000000 | 15, 16, - QMetaType::Void, 0x80000000 | 18, 16, - QMetaType::Void, 0x80000000 | 20, 21, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, 0x80000000 | 28, 2, - - 0 // eod -}; - -void mepanelbike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 2: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 3: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 6: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 7: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 8: _t->serviceScanDone(); break; - case 9: _t->update(); break; - case 10: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 11: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 1: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (mepanelbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&mepanelbike::disconnected)) { - *result = 0; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject mepanelbike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_mepanelbike.data, - qt_meta_data_mepanelbike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *mepanelbike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *mepanelbike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_mepanelbike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int mepanelbike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } - return _id; -} - -// SIGNAL 0 -void mepanelbike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_mimeattachment.cpp b/src/moc_mimeattachment.cpp deleted file mode 100644 index 09fb32e40..000000000 --- a/src/moc_mimeattachment.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'mimeattachment.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "smtpclient/src/mimeattachment.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'mimeattachment.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_MimeAttachment_t { - QByteArrayData data[1]; - char stringdata0[15]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_MimeAttachment_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_MimeAttachment_t qt_meta_stringdata_MimeAttachment = { - { -QT_MOC_LITERAL(0, 0, 14) // "MimeAttachment" - - }, - "MimeAttachment" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_MimeAttachment[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void MimeAttachment::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject MimeAttachment::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_MimeAttachment.data, - qt_meta_data_MimeAttachment, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *MimeAttachment::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *MimeAttachment::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_MimeAttachment.stringdata0)) - return static_cast(this); - return MimeFile::qt_metacast(_clname); -} - -int MimeAttachment::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = MimeFile::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_mimecontentformatter.cpp b/src/moc_mimecontentformatter.cpp deleted file mode 100644 index dccb9c346..000000000 --- a/src/moc_mimecontentformatter.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'mimecontentformatter.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "smtpclient/src/mimecontentformatter.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'mimecontentformatter.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_MimeContentFormatter_t { - QByteArrayData data[1]; - char stringdata0[21]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_MimeContentFormatter_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_MimeContentFormatter_t qt_meta_stringdata_MimeContentFormatter = { - { -QT_MOC_LITERAL(0, 0, 20) // "MimeContentFormatter" - - }, - "MimeContentFormatter" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_MimeContentFormatter[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void MimeContentFormatter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject MimeContentFormatter::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_MimeContentFormatter.data, - qt_meta_data_MimeContentFormatter, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *MimeContentFormatter::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *MimeContentFormatter::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_MimeContentFormatter.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int MimeContentFormatter::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_mimefile.cpp b/src/moc_mimefile.cpp deleted file mode 100644 index 076408658..000000000 --- a/src/moc_mimefile.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'mimefile.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "smtpclient/src/mimefile.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'mimefile.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_MimeFile_t { - QByteArrayData data[1]; - char stringdata0[9]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_MimeFile_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_MimeFile_t qt_meta_stringdata_MimeFile = { - { -QT_MOC_LITERAL(0, 0, 8) // "MimeFile" - - }, - "MimeFile" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_MimeFile[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void MimeFile::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject MimeFile::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_MimeFile.data, - qt_meta_data_MimeFile, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *MimeFile::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *MimeFile::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_MimeFile.stringdata0)) - return static_cast(this); - return MimePart::qt_metacast(_clname); -} - -int MimeFile::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = MimePart::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_mimehtml.cpp b/src/moc_mimehtml.cpp deleted file mode 100644 index cc51055f9..000000000 --- a/src/moc_mimehtml.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'mimehtml.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "smtpclient/src/mimehtml.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'mimehtml.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_MimeHtml_t { - QByteArrayData data[1]; - char stringdata0[9]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_MimeHtml_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_MimeHtml_t qt_meta_stringdata_MimeHtml = { - { -QT_MOC_LITERAL(0, 0, 8) // "MimeHtml" - - }, - "MimeHtml" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_MimeHtml[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void MimeHtml::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject MimeHtml::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_MimeHtml.data, - qt_meta_data_MimeHtml, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *MimeHtml::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *MimeHtml::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_MimeHtml.stringdata0)) - return static_cast(this); - return MimeText::qt_metacast(_clname); -} - -int MimeHtml::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = MimeText::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_mimemultipart.cpp b/src/moc_mimemultipart.cpp deleted file mode 100644 index 84a302a45..000000000 --- a/src/moc_mimemultipart.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'mimemultipart.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "smtpclient/src/mimemultipart.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'mimemultipart.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_MimeMultiPart_t { - QByteArrayData data[1]; - char stringdata0[14]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_MimeMultiPart_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_MimeMultiPart_t qt_meta_stringdata_MimeMultiPart = { - { -QT_MOC_LITERAL(0, 0, 13) // "MimeMultiPart" - - }, - "MimeMultiPart" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_MimeMultiPart[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void MimeMultiPart::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject MimeMultiPart::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_MimeMultiPart.data, - qt_meta_data_MimeMultiPart, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *MimeMultiPart::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *MimeMultiPart::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_MimeMultiPart.stringdata0)) - return static_cast(this); - return MimePart::qt_metacast(_clname); -} - -int MimeMultiPart::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = MimePart::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_mimepart.cpp b/src/moc_mimepart.cpp deleted file mode 100644 index d47f30b11..000000000 --- a/src/moc_mimepart.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'mimepart.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "smtpclient/src/mimepart.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'mimepart.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_MimePart_t { - QByteArrayData data[1]; - char stringdata0[9]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_MimePart_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_MimePart_t qt_meta_stringdata_MimePart = { - { -QT_MOC_LITERAL(0, 0, 8) // "MimePart" - - }, - "MimePart" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_MimePart[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void MimePart::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject MimePart::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_MimePart.data, - qt_meta_data_MimePart, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *MimePart::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *MimePart::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_MimePart.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int MimePart::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_nautilusbike.cpp b/src/moc_nautilusbike.cpp deleted file mode 100644 index f6b1462c5..000000000 --- a/src/moc_nautilusbike.cpp +++ /dev/null @@ -1,306 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'nautilusbike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "nautilusbike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'nautilusbike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_nautilusbike_t { - QByteArrayData data[35]; - char stringdata0[542]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_nautilusbike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_nautilusbike_t qt_meta_stringdata_nautilusbike = { - { -QT_MOC_LITERAL(0, 0, 12), // "nautilusbike" -QT_MOC_LITERAL(1, 13, 12), // "disconnected" -QT_MOC_LITERAL(2, 26, 0), // "" -QT_MOC_LITERAL(3, 27, 5), // "debug" -QT_MOC_LITERAL(4, 33, 6), // "string" -QT_MOC_LITERAL(5, 40, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 57, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 78, 6), // "device" -QT_MOC_LITERAL(8, 85, 13), // "searchingStop" -QT_MOC_LITERAL(9, 99, 21), // "characteristicChanged" -QT_MOC_LITERAL(10, 121, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(11, 146, 14), // "characteristic" -QT_MOC_LITERAL(12, 161, 8), // "newValue" -QT_MOC_LITERAL(13, 170, 21), // "characteristicWritten" -QT_MOC_LITERAL(14, 192, 17), // "descriptorWritten" -QT_MOC_LITERAL(15, 210, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(16, 231, 10), // "descriptor" -QT_MOC_LITERAL(17, 242, 12), // "stateChanged" -QT_MOC_LITERAL(18, 255, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(19, 287, 5), // "state" -QT_MOC_LITERAL(20, 293, 22), // "controllerStateChanged" -QT_MOC_LITERAL(21, 316, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(22, 354, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(23, 381, 5), // "grade" -QT_MOC_LITERAL(24, 387, 10), // "percentage" -QT_MOC_LITERAL(25, 398, 17), // "serviceDiscovered" -QT_MOC_LITERAL(26, 416, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(27, 431, 4), // "gatt" -QT_MOC_LITERAL(28, 436, 15), // "serviceScanDone" -QT_MOC_LITERAL(29, 452, 6), // "update" -QT_MOC_LITERAL(30, 459, 5), // "error" -QT_MOC_LITERAL(31, 465, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(32, 493, 3), // "err" -QT_MOC_LITERAL(33, 497, 12), // "errorService" -QT_MOC_LITERAL(34, 510, 31) // "QLowEnergyService::ServiceError" - - }, - "nautilusbike\0disconnected\0\0debug\0" - "string\0deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0searchingStop\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "changeInclinationRequested\0grade\0" - "percentage\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0serviceScanDone\0" - "update\0error\0QLowEnergyController::Error\0" - "err\0errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_nautilusbike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 15, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 89, 2, 0x06 /* Public */, - 3, 1, 90, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 93, 2, 0x0a /* Public */, - 8, 0, 96, 2, 0x0a /* Public */, - 9, 2, 97, 2, 0x08 /* Private */, - 13, 2, 102, 2, 0x08 /* Private */, - 14, 2, 107, 2, 0x08 /* Private */, - 17, 1, 112, 2, 0x08 /* Private */, - 20, 1, 115, 2, 0x08 /* Private */, - 22, 2, 118, 2, 0x08 /* Private */, - 25, 1, 123, 2, 0x08 /* Private */, - 28, 0, 126, 2, 0x08 /* Private */, - 29, 0, 127, 2, 0x08 /* Private */, - 30, 1, 128, 2, 0x08 /* Private */, - 33, 1, 131, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 15, QMetaType::QByteArray, 16, 12, - QMetaType::Void, 0x80000000 | 18, 19, - QMetaType::Void, 0x80000000 | 21, 19, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 23, 24, - QMetaType::Void, 0x80000000 | 26, 27, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 31, 32, - QMetaType::Void, 0x80000000 | 34, 2, - - 0 // eod -}; - -void nautilusbike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->searchingStop(); break; - case 4: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 8: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 9: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 10: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 11: _t->serviceScanDone(); break; - case 12: _t->update(); break; - case 13: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 14: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (nautilusbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nautilusbike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (nautilusbike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nautilusbike::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject nautilusbike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_nautilusbike.data, - qt_meta_data_nautilusbike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *nautilusbike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *nautilusbike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_nautilusbike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int nautilusbike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::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) - qt_static_metacall(this, _c, _id, _a); - _id -= 15; - } - return _id; -} - -// SIGNAL 0 -void nautilusbike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void nautilusbike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_nautiluselliptical.cpp b/src/moc_nautiluselliptical.cpp deleted file mode 100644 index 3dbd6bb17..000000000 --- a/src/moc_nautiluselliptical.cpp +++ /dev/null @@ -1,306 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'nautiluselliptical.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "nautiluselliptical.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'nautiluselliptical.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_nautiluselliptical_t { - QByteArrayData data[35]; - char stringdata0[548]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_nautiluselliptical_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_nautiluselliptical_t qt_meta_stringdata_nautiluselliptical = { - { -QT_MOC_LITERAL(0, 0, 18), // "nautiluselliptical" -QT_MOC_LITERAL(1, 19, 12), // "disconnected" -QT_MOC_LITERAL(2, 32, 0), // "" -QT_MOC_LITERAL(3, 33, 5), // "debug" -QT_MOC_LITERAL(4, 39, 6), // "string" -QT_MOC_LITERAL(5, 46, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 63, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 84, 6), // "device" -QT_MOC_LITERAL(8, 91, 13), // "searchingStop" -QT_MOC_LITERAL(9, 105, 21), // "characteristicChanged" -QT_MOC_LITERAL(10, 127, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(11, 152, 14), // "characteristic" -QT_MOC_LITERAL(12, 167, 8), // "newValue" -QT_MOC_LITERAL(13, 176, 21), // "characteristicWritten" -QT_MOC_LITERAL(14, 198, 17), // "descriptorWritten" -QT_MOC_LITERAL(15, 216, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(16, 237, 10), // "descriptor" -QT_MOC_LITERAL(17, 248, 12), // "stateChanged" -QT_MOC_LITERAL(18, 261, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(19, 293, 5), // "state" -QT_MOC_LITERAL(20, 299, 22), // "controllerStateChanged" -QT_MOC_LITERAL(21, 322, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(22, 360, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(23, 387, 5), // "grade" -QT_MOC_LITERAL(24, 393, 10), // "percentage" -QT_MOC_LITERAL(25, 404, 17), // "serviceDiscovered" -QT_MOC_LITERAL(26, 422, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(27, 437, 4), // "gatt" -QT_MOC_LITERAL(28, 442, 15), // "serviceScanDone" -QT_MOC_LITERAL(29, 458, 6), // "update" -QT_MOC_LITERAL(30, 465, 5), // "error" -QT_MOC_LITERAL(31, 471, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(32, 499, 3), // "err" -QT_MOC_LITERAL(33, 503, 12), // "errorService" -QT_MOC_LITERAL(34, 516, 31) // "QLowEnergyService::ServiceError" - - }, - "nautiluselliptical\0disconnected\0\0debug\0" - "string\0deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0searchingStop\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "changeInclinationRequested\0grade\0" - "percentage\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0serviceScanDone\0" - "update\0error\0QLowEnergyController::Error\0" - "err\0errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_nautiluselliptical[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 15, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 89, 2, 0x06 /* Public */, - 3, 1, 90, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 93, 2, 0x0a /* Public */, - 8, 0, 96, 2, 0x0a /* Public */, - 9, 2, 97, 2, 0x08 /* Private */, - 13, 2, 102, 2, 0x08 /* Private */, - 14, 2, 107, 2, 0x08 /* Private */, - 17, 1, 112, 2, 0x08 /* Private */, - 20, 1, 115, 2, 0x08 /* Private */, - 22, 2, 118, 2, 0x08 /* Private */, - 25, 1, 123, 2, 0x08 /* Private */, - 28, 0, 126, 2, 0x08 /* Private */, - 29, 0, 127, 2, 0x08 /* Private */, - 30, 1, 128, 2, 0x08 /* Private */, - 33, 1, 131, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 15, QMetaType::QByteArray, 16, 12, - QMetaType::Void, 0x80000000 | 18, 19, - QMetaType::Void, 0x80000000 | 21, 19, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 23, 24, - QMetaType::Void, 0x80000000 | 26, 27, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 31, 32, - QMetaType::Void, 0x80000000 | 34, 2, - - 0 // eod -}; - -void nautiluselliptical::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->searchingStop(); break; - case 4: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 8: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 9: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 10: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 11: _t->serviceScanDone(); break; - case 12: _t->update(); break; - case 13: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 14: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (nautiluselliptical::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nautiluselliptical::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (nautiluselliptical::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nautiluselliptical::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject nautiluselliptical::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_nautiluselliptical.data, - qt_meta_data_nautiluselliptical, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *nautiluselliptical::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *nautiluselliptical::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_nautiluselliptical.stringdata0)) - return static_cast(this); - return elliptical::qt_metacast(_clname); -} - -int nautiluselliptical::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = elliptical::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) - qt_static_metacall(this, _c, _id, _a); - _id -= 15; - } - return _id; -} - -// SIGNAL 0 -void nautiluselliptical::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void nautiluselliptical::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_nautilustreadmill.cpp b/src/moc_nautilustreadmill.cpp deleted file mode 100644 index d33afb505..000000000 --- a/src/moc_nautilustreadmill.cpp +++ /dev/null @@ -1,332 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'nautilustreadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "nautilustreadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'nautilustreadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_nautilustreadmill_t { - QByteArrayData data[34]; - char stringdata0[523]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_nautilustreadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_nautilustreadmill_t qt_meta_stringdata_nautilustreadmill = { - { -QT_MOC_LITERAL(0, 0, 17), // "nautilustreadmill" -QT_MOC_LITERAL(1, 18, 12), // "disconnected" -QT_MOC_LITERAL(2, 31, 0), // "" -QT_MOC_LITERAL(3, 32, 5), // "debug" -QT_MOC_LITERAL(4, 38, 6), // "string" -QT_MOC_LITERAL(5, 45, 12), // "speedChanged" -QT_MOC_LITERAL(6, 58, 5), // "speed" -QT_MOC_LITERAL(7, 64, 14), // "packetReceived" -QT_MOC_LITERAL(8, 79, 16), // "deviceDiscovered" -QT_MOC_LITERAL(9, 96, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(10, 117, 6), // "device" -QT_MOC_LITERAL(11, 124, 21), // "characteristicChanged" -QT_MOC_LITERAL(12, 146, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(13, 171, 14), // "characteristic" -QT_MOC_LITERAL(14, 186, 8), // "newValue" -QT_MOC_LITERAL(15, 195, 21), // "characteristicWritten" -QT_MOC_LITERAL(16, 217, 17), // "descriptorWritten" -QT_MOC_LITERAL(17, 235, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(18, 256, 10), // "descriptor" -QT_MOC_LITERAL(19, 267, 12), // "stateChanged" -QT_MOC_LITERAL(20, 280, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(21, 312, 5), // "state" -QT_MOC_LITERAL(22, 318, 22), // "controllerStateChanged" -QT_MOC_LITERAL(23, 341, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(24, 379, 17), // "serviceDiscovered" -QT_MOC_LITERAL(25, 397, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(26, 412, 4), // "gatt" -QT_MOC_LITERAL(27, 417, 15), // "serviceScanDone" -QT_MOC_LITERAL(28, 433, 6), // "update" -QT_MOC_LITERAL(29, 440, 5), // "error" -QT_MOC_LITERAL(30, 446, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(31, 474, 3), // "err" -QT_MOC_LITERAL(32, 478, 12), // "errorService" -QT_MOC_LITERAL(33, 491, 31) // "QLowEnergyService::ServiceError" - - }, - "nautilustreadmill\0disconnected\0\0debug\0" - "string\0speedChanged\0speed\0packetReceived\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_nautilustreadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 15, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 4, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 89, 2, 0x06 /* Public */, - 3, 1, 90, 2, 0x06 /* Public */, - 5, 1, 93, 2, 0x06 /* Public */, - 7, 0, 96, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 8, 1, 97, 2, 0x0a /* Public */, - 11, 2, 100, 2, 0x08 /* Private */, - 15, 2, 105, 2, 0x08 /* Private */, - 16, 2, 110, 2, 0x08 /* Private */, - 19, 1, 115, 2, 0x08 /* Private */, - 22, 1, 118, 2, 0x08 /* Private */, - 24, 1, 121, 2, 0x08 /* Private */, - 27, 0, 124, 2, 0x08 /* Private */, - 28, 0, 125, 2, 0x08 /* Private */, - 29, 1, 126, 2, 0x08 /* Private */, - 32, 1, 129, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, QMetaType::Double, 6, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 9, 10, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 20, 21, - QMetaType::Void, 0x80000000 | 23, 21, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 30, 31, - QMetaType::Void, 0x80000000 | 33, 2, - - 0 // eod -}; - -void nautilustreadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->speedChanged((*reinterpret_cast< double(*)>(_a[1]))); break; - case 3: _t->packetReceived(); break; - case 4: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 5: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 9: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 10: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 11: _t->serviceScanDone(); break; - case 12: _t->update(); break; - case 13: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 14: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (nautilustreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nautilustreadmill::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (nautilustreadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nautilustreadmill::debug)) { - *result = 1; - return; - } - } - { - using _t = void (nautilustreadmill::*)(double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nautilustreadmill::speedChanged)) { - *result = 2; - return; - } - } - { - using _t = void (nautilustreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nautilustreadmill::packetReceived)) { - *result = 3; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject nautilustreadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_nautilustreadmill.data, - qt_meta_data_nautilustreadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *nautilustreadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *nautilustreadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_nautilustreadmill.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int nautilustreadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::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) - qt_static_metacall(this, _c, _id, _a); - _id -= 15; - } - return _id; -} - -// SIGNAL 0 -void nautilustreadmill::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void nautilustreadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void nautilustreadmill::speedChanged(double _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} - -// SIGNAL 3 -void nautilustreadmill::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 3, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_nordictrackelliptical.cpp b/src/moc_nordictrackelliptical.cpp deleted file mode 100644 index d9fe8fc9e..000000000 --- a/src/moc_nordictrackelliptical.cpp +++ /dev/null @@ -1,302 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'nordictrackelliptical.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "nordictrackelliptical.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'nordictrackelliptical.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_nordictrackelliptical_t { - QByteArrayData data[34]; - char stringdata0[537]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_nordictrackelliptical_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_nordictrackelliptical_t qt_meta_stringdata_nordictrackelliptical = { - { -QT_MOC_LITERAL(0, 0, 21), // "nordictrackelliptical" -QT_MOC_LITERAL(1, 22, 12), // "disconnected" -QT_MOC_LITERAL(2, 35, 0), // "" -QT_MOC_LITERAL(3, 36, 5), // "debug" -QT_MOC_LITERAL(4, 42, 6), // "string" -QT_MOC_LITERAL(5, 49, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 66, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 87, 6), // "device" -QT_MOC_LITERAL(8, 94, 21), // "characteristicChanged" -QT_MOC_LITERAL(9, 116, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(10, 141, 14), // "characteristic" -QT_MOC_LITERAL(11, 156, 8), // "newValue" -QT_MOC_LITERAL(12, 165, 21), // "characteristicWritten" -QT_MOC_LITERAL(13, 187, 17), // "descriptorWritten" -QT_MOC_LITERAL(14, 205, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(15, 226, 10), // "descriptor" -QT_MOC_LITERAL(16, 237, 12), // "stateChanged" -QT_MOC_LITERAL(17, 250, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(18, 282, 5), // "state" -QT_MOC_LITERAL(19, 288, 22), // "controllerStateChanged" -QT_MOC_LITERAL(20, 311, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(21, 349, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(22, 376, 5), // "grade" -QT_MOC_LITERAL(23, 382, 10), // "percentage" -QT_MOC_LITERAL(24, 393, 17), // "serviceDiscovered" -QT_MOC_LITERAL(25, 411, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(26, 426, 4), // "gatt" -QT_MOC_LITERAL(27, 431, 15), // "serviceScanDone" -QT_MOC_LITERAL(28, 447, 6), // "update" -QT_MOC_LITERAL(29, 454, 5), // "error" -QT_MOC_LITERAL(30, 460, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(31, 488, 3), // "err" -QT_MOC_LITERAL(32, 492, 12), // "errorService" -QT_MOC_LITERAL(33, 505, 31) // "QLowEnergyService::ServiceError" - - }, - "nordictrackelliptical\0disconnected\0\0" - "debug\0string\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0" - "characteristicChanged\0QLowEnergyCharacteristic\0" - "characteristic\0newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "changeInclinationRequested\0grade\0" - "percentage\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0serviceScanDone\0" - "update\0error\0QLowEnergyController::Error\0" - "err\0errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_nordictrackelliptical[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 14, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 84, 2, 0x06 /* Public */, - 3, 1, 85, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 88, 2, 0x0a /* Public */, - 8, 2, 91, 2, 0x08 /* Private */, - 12, 2, 96, 2, 0x08 /* Private */, - 13, 2, 101, 2, 0x08 /* Private */, - 16, 1, 106, 2, 0x08 /* Private */, - 19, 1, 109, 2, 0x08 /* Private */, - 21, 2, 112, 2, 0x08 /* Private */, - 24, 1, 117, 2, 0x08 /* Private */, - 27, 0, 120, 2, 0x08 /* Private */, - 28, 0, 121, 2, 0x08 /* Private */, - 29, 1, 122, 2, 0x08 /* Private */, - 32, 1, 125, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 17, 18, - QMetaType::Void, 0x80000000 | 20, 18, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 22, 23, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 30, 31, - QMetaType::Void, 0x80000000 | 33, 2, - - 0 // eod -}; - -void nordictrackelliptical::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 7: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 8: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 9: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 10: _t->serviceScanDone(); break; - case 11: _t->update(); break; - case 12: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 13: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 12: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (nordictrackelliptical::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nordictrackelliptical::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (nordictrackelliptical::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nordictrackelliptical::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject nordictrackelliptical::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_nordictrackelliptical.data, - qt_meta_data_nordictrackelliptical, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *nordictrackelliptical::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *nordictrackelliptical::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_nordictrackelliptical.stringdata0)) - return static_cast(this); - return elliptical::qt_metacast(_clname); -} - -int nordictrackelliptical::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = elliptical::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } - return _id; -} - -// SIGNAL 0 -void nordictrackelliptical::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void nordictrackelliptical::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_nordictrackifitadbbike.cpp b/src/moc_nordictrackifitadbbike.cpp deleted file mode 100644 index deea8cb3d..000000000 --- a/src/moc_nordictrackifitadbbike.cpp +++ /dev/null @@ -1,348 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'nordictrackifitadbbike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "nordictrackifitadbbike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'nordictrackifitadbbike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_nordictrackifitadbbikeLogcatAdbThread_t { - QByteArrayData data[11]; - char stringdata0[112]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_nordictrackifitadbbikeLogcatAdbThread_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_nordictrackifitadbbikeLogcatAdbThread_t qt_meta_stringdata_nordictrackifitadbbikeLogcatAdbThread = { - { -QT_MOC_LITERAL(0, 0, 37), // "nordictrackifitadbbikeLogcatA..." -QT_MOC_LITERAL(1, 38, 18), // "onSpeedInclination" -QT_MOC_LITERAL(2, 57, 0), // "" -QT_MOC_LITERAL(3, 58, 5), // "speed" -QT_MOC_LITERAL(4, 64, 11), // "inclination" -QT_MOC_LITERAL(5, 76, 5), // "debug" -QT_MOC_LITERAL(6, 82, 7), // "message" -QT_MOC_LITERAL(7, 90, 6), // "onWatt" -QT_MOC_LITERAL(8, 97, 4), // "watt" -QT_MOC_LITERAL(9, 102, 5), // "onHRM" -QT_MOC_LITERAL(10, 108, 3) // "hrm" - - }, - "nordictrackifitadbbikeLogcatAdbThread\0" - "onSpeedInclination\0\0speed\0inclination\0" - "debug\0message\0onWatt\0watt\0onHRM\0hrm" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_nordictrackifitadbbikeLogcatAdbThread[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 4, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 4, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 2, 34, 2, 0x06 /* Public */, - 5, 1, 39, 2, 0x06 /* Public */, - 7, 1, 42, 2, 0x06 /* Public */, - 9, 1, 45, 2, 0x06 /* Public */, - - // signals: parameters - QMetaType::Void, QMetaType::Double, QMetaType::Double, 3, 4, - QMetaType::Void, QMetaType::QString, 6, - QMetaType::Void, QMetaType::Double, 8, - QMetaType::Void, QMetaType::Int, 10, - - 0 // eod -}; - -void nordictrackifitadbbikeLogcatAdbThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->onSpeedInclination((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->onWatt((*reinterpret_cast< double(*)>(_a[1]))); break; - case 3: _t->onHRM((*reinterpret_cast< int(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (nordictrackifitadbbikeLogcatAdbThread::*)(double , double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nordictrackifitadbbikeLogcatAdbThread::onSpeedInclination)) { - *result = 0; - return; - } - } - { - using _t = void (nordictrackifitadbbikeLogcatAdbThread::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nordictrackifitadbbikeLogcatAdbThread::debug)) { - *result = 1; - return; - } - } - { - using _t = void (nordictrackifitadbbikeLogcatAdbThread::*)(double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nordictrackifitadbbikeLogcatAdbThread::onWatt)) { - *result = 2; - return; - } - } - { - using _t = void (nordictrackifitadbbikeLogcatAdbThread::*)(int ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nordictrackifitadbbikeLogcatAdbThread::onHRM)) { - *result = 3; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject nordictrackifitadbbikeLogcatAdbThread::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_nordictrackifitadbbikeLogcatAdbThread.data, - qt_meta_data_nordictrackifitadbbikeLogcatAdbThread, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *nordictrackifitadbbikeLogcatAdbThread::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *nordictrackifitadbbikeLogcatAdbThread::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_nordictrackifitadbbikeLogcatAdbThread.stringdata0)) - return static_cast(this); - return QThread::qt_metacast(_clname); -} - -int nordictrackifitadbbikeLogcatAdbThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QThread::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 4) - qt_static_metacall(this, _c, _id, _a); - _id -= 4; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 4) - *reinterpret_cast(_a[0]) = -1; - _id -= 4; - } - return _id; -} - -// SIGNAL 0 -void nordictrackifitadbbikeLogcatAdbThread::onSpeedInclination(double _t1, double _t2) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void nordictrackifitadbbikeLogcatAdbThread::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void nordictrackifitadbbikeLogcatAdbThread::onWatt(double _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} - -// SIGNAL 3 -void nordictrackifitadbbikeLogcatAdbThread::onHRM(int _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 3, _a); -} -struct qt_meta_stringdata_nordictrackifitadbbike_t { - QByteArrayData data[12]; - char stringdata0[135]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_nordictrackifitadbbike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_nordictrackifitadbbike_t qt_meta_stringdata_nordictrackifitadbbike = { - { -QT_MOC_LITERAL(0, 0, 22), // "nordictrackifitadbbike" -QT_MOC_LITERAL(1, 23, 12), // "disconnected" -QT_MOC_LITERAL(2, 36, 0), // "" -QT_MOC_LITERAL(3, 37, 5), // "debug" -QT_MOC_LITERAL(4, 43, 6), // "string" -QT_MOC_LITERAL(5, 50, 23), // "processPendingDatagrams" -QT_MOC_LITERAL(6, 74, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(7, 101, 5), // "grade" -QT_MOC_LITERAL(8, 107, 10), // "percentage" -QT_MOC_LITERAL(9, 118, 5), // "onHRM" -QT_MOC_LITERAL(10, 124, 3), // "hrm" -QT_MOC_LITERAL(11, 128, 6) // "update" - - }, - "nordictrackifitadbbike\0disconnected\0" - "\0debug\0string\0processPendingDatagrams\0" - "changeInclinationRequested\0grade\0" - "percentage\0onHRM\0hrm\0update" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_nordictrackifitadbbike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 6, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 44, 2, 0x06 /* Public */, - 3, 1, 45, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 0, 48, 2, 0x08 /* Private */, - 6, 2, 49, 2, 0x08 /* Private */, - 9, 1, 54, 2, 0x08 /* Private */, - 11, 0, 57, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 7, 8, - QMetaType::Void, QMetaType::Int, 10, - QMetaType::Void, - - 0 // eod -}; - -void nordictrackifitadbbike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->processPendingDatagrams(); break; - case 3: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 4: _t->onHRM((*reinterpret_cast< int(*)>(_a[1]))); break; - case 5: _t->update(); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (nordictrackifitadbbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nordictrackifitadbbike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (nordictrackifitadbbike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nordictrackifitadbbike::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject nordictrackifitadbbike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_nordictrackifitadbbike.data, - qt_meta_data_nordictrackifitadbbike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *nordictrackifitadbbike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *nordictrackifitadbbike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_nordictrackifitadbbike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int nordictrackifitadbbike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 6) - qt_static_metacall(this, _c, _id, _a); - _id -= 6; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 6) - *reinterpret_cast(_a[0]) = -1; - _id -= 6; - } - return _id; -} - -// SIGNAL 0 -void nordictrackifitadbbike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void nordictrackifitadbbike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_nordictrackifitadbtreadmill.cpp b/src/moc_nordictrackifitadbtreadmill.cpp deleted file mode 100644 index 529ad5adf..000000000 --- a/src/moc_nordictrackifitadbtreadmill.cpp +++ /dev/null @@ -1,336 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'nordictrackifitadbtreadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "nordictrackifitadbtreadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'nordictrackifitadbtreadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_nordictrackifitadbtreadmillLogcatAdbThread_t { - QByteArrayData data[9]; - char stringdata0[107]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_nordictrackifitadbtreadmillLogcatAdbThread_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_nordictrackifitadbtreadmillLogcatAdbThread_t qt_meta_stringdata_nordictrackifitadbtreadmillLogcatAdbThread = { - { -QT_MOC_LITERAL(0, 0, 42), // "nordictrackifitadbtreadmillLo..." -QT_MOC_LITERAL(1, 43, 18), // "onSpeedInclination" -QT_MOC_LITERAL(2, 62, 0), // "" -QT_MOC_LITERAL(3, 63, 5), // "speed" -QT_MOC_LITERAL(4, 69, 11), // "inclination" -QT_MOC_LITERAL(5, 81, 5), // "debug" -QT_MOC_LITERAL(6, 87, 7), // "message" -QT_MOC_LITERAL(7, 95, 6), // "onWatt" -QT_MOC_LITERAL(8, 102, 4) // "watt" - - }, - "nordictrackifitadbtreadmillLogcatAdbThread\0" - "onSpeedInclination\0\0speed\0inclination\0" - "debug\0message\0onWatt\0watt" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_nordictrackifitadbtreadmillLogcatAdbThread[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 3, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 2, 29, 2, 0x06 /* Public */, - 5, 1, 34, 2, 0x06 /* Public */, - 7, 1, 37, 2, 0x06 /* Public */, - - // signals: parameters - QMetaType::Void, QMetaType::Double, QMetaType::Double, 3, 4, - QMetaType::Void, QMetaType::QString, 6, - QMetaType::Void, QMetaType::Double, 8, - - 0 // eod -}; - -void nordictrackifitadbtreadmillLogcatAdbThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->onSpeedInclination((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->onWatt((*reinterpret_cast< double(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (nordictrackifitadbtreadmillLogcatAdbThread::*)(double , double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nordictrackifitadbtreadmillLogcatAdbThread::onSpeedInclination)) { - *result = 0; - return; - } - } - { - using _t = void (nordictrackifitadbtreadmillLogcatAdbThread::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nordictrackifitadbtreadmillLogcatAdbThread::debug)) { - *result = 1; - return; - } - } - { - using _t = void (nordictrackifitadbtreadmillLogcatAdbThread::*)(double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nordictrackifitadbtreadmillLogcatAdbThread::onWatt)) { - *result = 2; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject nordictrackifitadbtreadmillLogcatAdbThread::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_nordictrackifitadbtreadmillLogcatAdbThread.data, - qt_meta_data_nordictrackifitadbtreadmillLogcatAdbThread, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *nordictrackifitadbtreadmillLogcatAdbThread::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *nordictrackifitadbtreadmillLogcatAdbThread::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_nordictrackifitadbtreadmillLogcatAdbThread.stringdata0)) - return static_cast(this); - return QThread::qt_metacast(_clname); -} - -int nordictrackifitadbtreadmillLogcatAdbThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QThread::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 3) - *reinterpret_cast(_a[0]) = -1; - _id -= 3; - } - return _id; -} - -// SIGNAL 0 -void nordictrackifitadbtreadmillLogcatAdbThread::onSpeedInclination(double _t1, double _t2) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void nordictrackifitadbtreadmillLogcatAdbThread::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void nordictrackifitadbtreadmillLogcatAdbThread::onWatt(double _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} -struct qt_meta_stringdata_nordictrackifitadbtreadmill_t { - QByteArrayData data[15]; - char stringdata0[179]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_nordictrackifitadbtreadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_nordictrackifitadbtreadmill_t qt_meta_stringdata_nordictrackifitadbtreadmill = { - { -QT_MOC_LITERAL(0, 0, 27), // "nordictrackifitadbtreadmill" -QT_MOC_LITERAL(1, 28, 12), // "disconnected" -QT_MOC_LITERAL(2, 41, 0), // "" -QT_MOC_LITERAL(3, 42, 5), // "debug" -QT_MOC_LITERAL(4, 48, 6), // "string" -QT_MOC_LITERAL(5, 55, 18), // "onSpeedInclination" -QT_MOC_LITERAL(6, 74, 5), // "speed" -QT_MOC_LITERAL(7, 80, 11), // "inclination" -QT_MOC_LITERAL(8, 92, 6), // "onWatt" -QT_MOC_LITERAL(9, 99, 4), // "watt" -QT_MOC_LITERAL(10, 104, 23), // "processPendingDatagrams" -QT_MOC_LITERAL(11, 128, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(12, 155, 5), // "grade" -QT_MOC_LITERAL(13, 161, 10), // "percentage" -QT_MOC_LITERAL(14, 172, 6) // "update" - - }, - "nordictrackifitadbtreadmill\0disconnected\0" - "\0debug\0string\0onSpeedInclination\0speed\0" - "inclination\0onWatt\0watt\0processPendingDatagrams\0" - "changeInclinationRequested\0grade\0" - "percentage\0update" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_nordictrackifitadbtreadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 7, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 49, 2, 0x06 /* Public */, - 3, 1, 50, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 2, 53, 2, 0x08 /* Private */, - 8, 1, 58, 2, 0x08 /* Private */, - 10, 0, 61, 2, 0x08 /* Private */, - 11, 2, 62, 2, 0x08 /* Private */, - 14, 0, 67, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, QMetaType::Double, QMetaType::Double, 6, 7, - QMetaType::Void, QMetaType::Double, 9, - QMetaType::Void, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 12, 13, - QMetaType::Void, - - 0 // eod -}; - -void nordictrackifitadbtreadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->onSpeedInclination((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 3: _t->onWatt((*reinterpret_cast< double(*)>(_a[1]))); break; - case 4: _t->processPendingDatagrams(); break; - case 5: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 6: _t->update(); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (nordictrackifitadbtreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nordictrackifitadbtreadmill::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (nordictrackifitadbtreadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&nordictrackifitadbtreadmill::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject nordictrackifitadbtreadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_nordictrackifitadbtreadmill.data, - qt_meta_data_nordictrackifitadbtreadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *nordictrackifitadbtreadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *nordictrackifitadbtreadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_nordictrackifitadbtreadmill.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int nordictrackifitadbtreadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 7) - qt_static_metacall(this, _c, _id, _a); - _id -= 7; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 7) - *reinterpret_cast(_a[0]) = -1; - _id -= 7; - } - return _id; -} - -// SIGNAL 0 -void nordictrackifitadbtreadmill::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void nordictrackifitadbtreadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_npecablebike.cpp b/src/moc_npecablebike.cpp deleted file mode 100644 index 0c93b88c6..000000000 --- a/src/moc_npecablebike.cpp +++ /dev/null @@ -1,318 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'npecablebike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "npecablebike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'npecablebike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_npecablebike_t { - QByteArrayData data[33]; - char stringdata0[518]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_npecablebike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_npecablebike_t qt_meta_stringdata_npecablebike = { - { -QT_MOC_LITERAL(0, 0, 12), // "npecablebike" -QT_MOC_LITERAL(1, 13, 12), // "disconnected" -QT_MOC_LITERAL(2, 26, 0), // "" -QT_MOC_LITERAL(3, 27, 5), // "debug" -QT_MOC_LITERAL(4, 33, 6), // "string" -QT_MOC_LITERAL(5, 40, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 57, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 78, 6), // "device" -QT_MOC_LITERAL(8, 85, 21), // "characteristicChanged" -QT_MOC_LITERAL(9, 107, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(10, 132, 14), // "characteristic" -QT_MOC_LITERAL(11, 147, 8), // "newValue" -QT_MOC_LITERAL(12, 156, 21), // "characteristicWritten" -QT_MOC_LITERAL(13, 178, 17), // "descriptorWritten" -QT_MOC_LITERAL(14, 196, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(15, 217, 10), // "descriptor" -QT_MOC_LITERAL(16, 228, 18), // "characteristicRead" -QT_MOC_LITERAL(17, 247, 14), // "descriptorRead" -QT_MOC_LITERAL(18, 262, 12), // "stateChanged" -QT_MOC_LITERAL(19, 275, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(20, 307, 5), // "state" -QT_MOC_LITERAL(21, 313, 22), // "controllerStateChanged" -QT_MOC_LITERAL(22, 336, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(23, 374, 17), // "serviceDiscovered" -QT_MOC_LITERAL(24, 392, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(25, 407, 4), // "gatt" -QT_MOC_LITERAL(26, 412, 15), // "serviceScanDone" -QT_MOC_LITERAL(27, 428, 6), // "update" -QT_MOC_LITERAL(28, 435, 5), // "error" -QT_MOC_LITERAL(29, 441, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(30, 469, 3), // "err" -QT_MOC_LITERAL(31, 473, 12), // "errorService" -QT_MOC_LITERAL(32, 486, 31) // "QLowEnergyService::ServiceError" - - }, - "npecablebike\0disconnected\0\0debug\0" - "string\0deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0characteristicRead\0" - "descriptorRead\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_npecablebike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 15, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 89, 2, 0x06 /* Public */, - 3, 1, 90, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 93, 2, 0x0a /* Public */, - 8, 2, 96, 2, 0x08 /* Private */, - 12, 2, 101, 2, 0x08 /* Private */, - 13, 2, 106, 2, 0x08 /* Private */, - 16, 2, 111, 2, 0x08 /* Private */, - 17, 2, 116, 2, 0x08 /* Private */, - 18, 1, 121, 2, 0x08 /* Private */, - 21, 1, 124, 2, 0x08 /* Private */, - 23, 1, 127, 2, 0x08 /* Private */, - 26, 0, 130, 2, 0x08 /* Private */, - 27, 0, 131, 2, 0x08 /* Private */, - 28, 1, 132, 2, 0x08 /* Private */, - 31, 1, 135, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 19, 20, - QMetaType::Void, 0x80000000 | 22, 20, - QMetaType::Void, 0x80000000 | 24, 25, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 29, 30, - QMetaType::Void, 0x80000000 | 32, 2, - - 0 // eod -}; - -void npecablebike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->characteristicRead((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->descriptorRead((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 9: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 10: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 11: _t->serviceScanDone(); break; - case 12: _t->update(); break; - case 13: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 14: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (npecablebike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&npecablebike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (npecablebike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&npecablebike::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject npecablebike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_npecablebike.data, - qt_meta_data_npecablebike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *npecablebike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *npecablebike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_npecablebike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int npecablebike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::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) - qt_static_metacall(this, _c, _id, _a); - _id -= 15; - } - return _id; -} - -// SIGNAL 0 -void npecablebike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void npecablebike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_octaneelliptical.cpp b/src/moc_octaneelliptical.cpp deleted file mode 100644 index a4f5cd718..000000000 --- a/src/moc_octaneelliptical.cpp +++ /dev/null @@ -1,340 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'octaneelliptical.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "octaneelliptical.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'octaneelliptical.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_octaneelliptical_t { - QByteArrayData data[37]; - char stringdata0[566]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_octaneelliptical_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_octaneelliptical_t qt_meta_stringdata_octaneelliptical = { - { -QT_MOC_LITERAL(0, 0, 16), // "octaneelliptical" -QT_MOC_LITERAL(1, 17, 12), // "disconnected" -QT_MOC_LITERAL(2, 30, 0), // "" -QT_MOC_LITERAL(3, 31, 5), // "debug" -QT_MOC_LITERAL(4, 37, 6), // "string" -QT_MOC_LITERAL(5, 44, 12), // "speedChanged" -QT_MOC_LITERAL(6, 57, 5), // "speed" -QT_MOC_LITERAL(7, 63, 14), // "packetReceived" -QT_MOC_LITERAL(8, 78, 16), // "deviceDiscovered" -QT_MOC_LITERAL(9, 95, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(10, 116, 6), // "device" -QT_MOC_LITERAL(11, 123, 21), // "characteristicChanged" -QT_MOC_LITERAL(12, 145, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(13, 170, 14), // "characteristic" -QT_MOC_LITERAL(14, 185, 8), // "newValue" -QT_MOC_LITERAL(15, 194, 21), // "characteristicWritten" -QT_MOC_LITERAL(16, 216, 17), // "descriptorWritten" -QT_MOC_LITERAL(17, 234, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(18, 255, 10), // "descriptor" -QT_MOC_LITERAL(19, 266, 12), // "stateChanged" -QT_MOC_LITERAL(20, 279, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(21, 311, 5), // "state" -QT_MOC_LITERAL(22, 317, 22), // "controllerStateChanged" -QT_MOC_LITERAL(23, 340, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(24, 378, 17), // "serviceDiscovered" -QT_MOC_LITERAL(25, 396, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(26, 411, 4), // "gatt" -QT_MOC_LITERAL(27, 416, 15), // "serviceScanDone" -QT_MOC_LITERAL(28, 432, 6), // "update" -QT_MOC_LITERAL(29, 439, 5), // "error" -QT_MOC_LITERAL(30, 445, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(31, 473, 3), // "err" -QT_MOC_LITERAL(32, 477, 12), // "errorService" -QT_MOC_LITERAL(33, 490, 31), // "QLowEnergyService::ServiceError" -QT_MOC_LITERAL(34, 522, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(35, 549, 5), // "grade" -QT_MOC_LITERAL(36, 555, 10) // "percentage" - - }, - "octaneelliptical\0disconnected\0\0debug\0" - "string\0speedChanged\0speed\0packetReceived\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError\0" - "changeInclinationRequested\0grade\0" - "percentage" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_octaneelliptical[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 16, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 4, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 94, 2, 0x06 /* Public */, - 3, 1, 95, 2, 0x06 /* Public */, - 5, 1, 98, 2, 0x06 /* Public */, - 7, 0, 101, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 8, 1, 102, 2, 0x0a /* Public */, - 11, 2, 105, 2, 0x08 /* Private */, - 15, 2, 110, 2, 0x08 /* Private */, - 16, 2, 115, 2, 0x08 /* Private */, - 19, 1, 120, 2, 0x08 /* Private */, - 22, 1, 123, 2, 0x08 /* Private */, - 24, 1, 126, 2, 0x08 /* Private */, - 27, 0, 129, 2, 0x08 /* Private */, - 28, 0, 130, 2, 0x08 /* Private */, - 29, 1, 131, 2, 0x08 /* Private */, - 32, 1, 134, 2, 0x08 /* Private */, - 34, 2, 137, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, QMetaType::Double, 6, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 9, 10, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 20, 21, - QMetaType::Void, 0x80000000 | 23, 21, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 30, 31, - QMetaType::Void, 0x80000000 | 33, 2, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 35, 36, - - 0 // eod -}; - -void octaneelliptical::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->speedChanged((*reinterpret_cast< double(*)>(_a[1]))); break; - case 3: _t->packetReceived(); break; - case 4: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 5: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 9: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 10: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 11: _t->serviceScanDone(); break; - case 12: _t->update(); break; - case 13: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 14: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - case 15: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (octaneelliptical::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&octaneelliptical::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (octaneelliptical::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&octaneelliptical::debug)) { - *result = 1; - return; - } - } - { - using _t = void (octaneelliptical::*)(double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&octaneelliptical::speedChanged)) { - *result = 2; - return; - } - } - { - using _t = void (octaneelliptical::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&octaneelliptical::packetReceived)) { - *result = 3; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject octaneelliptical::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_octaneelliptical.data, - qt_meta_data_octaneelliptical, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *octaneelliptical::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *octaneelliptical::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_octaneelliptical.stringdata0)) - return static_cast(this); - return elliptical::qt_metacast(_clname); -} - -int octaneelliptical::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = elliptical::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } - return _id; -} - -// SIGNAL 0 -void octaneelliptical::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void octaneelliptical::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void octaneelliptical::speedChanged(double _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} - -// SIGNAL 3 -void octaneelliptical::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 3, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_octanetreadmill.cpp b/src/moc_octanetreadmill.cpp deleted file mode 100644 index e736f3276..000000000 --- a/src/moc_octanetreadmill.cpp +++ /dev/null @@ -1,340 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'octanetreadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "octanetreadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'octanetreadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_octanetreadmill_t { - QByteArrayData data[37]; - char stringdata0[565]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_octanetreadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_octanetreadmill_t qt_meta_stringdata_octanetreadmill = { - { -QT_MOC_LITERAL(0, 0, 15), // "octanetreadmill" -QT_MOC_LITERAL(1, 16, 12), // "disconnected" -QT_MOC_LITERAL(2, 29, 0), // "" -QT_MOC_LITERAL(3, 30, 5), // "debug" -QT_MOC_LITERAL(4, 36, 6), // "string" -QT_MOC_LITERAL(5, 43, 12), // "speedChanged" -QT_MOC_LITERAL(6, 56, 5), // "speed" -QT_MOC_LITERAL(7, 62, 14), // "packetReceived" -QT_MOC_LITERAL(8, 77, 16), // "deviceDiscovered" -QT_MOC_LITERAL(9, 94, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(10, 115, 6), // "device" -QT_MOC_LITERAL(11, 122, 21), // "characteristicChanged" -QT_MOC_LITERAL(12, 144, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(13, 169, 14), // "characteristic" -QT_MOC_LITERAL(14, 184, 8), // "newValue" -QT_MOC_LITERAL(15, 193, 21), // "characteristicWritten" -QT_MOC_LITERAL(16, 215, 17), // "descriptorWritten" -QT_MOC_LITERAL(17, 233, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(18, 254, 10), // "descriptor" -QT_MOC_LITERAL(19, 265, 12), // "stateChanged" -QT_MOC_LITERAL(20, 278, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(21, 310, 5), // "state" -QT_MOC_LITERAL(22, 316, 22), // "controllerStateChanged" -QT_MOC_LITERAL(23, 339, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(24, 377, 17), // "serviceDiscovered" -QT_MOC_LITERAL(25, 395, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(26, 410, 4), // "gatt" -QT_MOC_LITERAL(27, 415, 15), // "serviceScanDone" -QT_MOC_LITERAL(28, 431, 6), // "update" -QT_MOC_LITERAL(29, 438, 5), // "error" -QT_MOC_LITERAL(30, 444, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(31, 472, 3), // "err" -QT_MOC_LITERAL(32, 476, 12), // "errorService" -QT_MOC_LITERAL(33, 489, 31), // "QLowEnergyService::ServiceError" -QT_MOC_LITERAL(34, 521, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(35, 548, 5), // "grade" -QT_MOC_LITERAL(36, 554, 10) // "percentage" - - }, - "octanetreadmill\0disconnected\0\0debug\0" - "string\0speedChanged\0speed\0packetReceived\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError\0" - "changeInclinationRequested\0grade\0" - "percentage" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_octanetreadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 16, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 4, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 94, 2, 0x06 /* Public */, - 3, 1, 95, 2, 0x06 /* Public */, - 5, 1, 98, 2, 0x06 /* Public */, - 7, 0, 101, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 8, 1, 102, 2, 0x0a /* Public */, - 11, 2, 105, 2, 0x08 /* Private */, - 15, 2, 110, 2, 0x08 /* Private */, - 16, 2, 115, 2, 0x08 /* Private */, - 19, 1, 120, 2, 0x08 /* Private */, - 22, 1, 123, 2, 0x08 /* Private */, - 24, 1, 126, 2, 0x08 /* Private */, - 27, 0, 129, 2, 0x08 /* Private */, - 28, 0, 130, 2, 0x08 /* Private */, - 29, 1, 131, 2, 0x08 /* Private */, - 32, 1, 134, 2, 0x08 /* Private */, - 34, 2, 137, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, QMetaType::Double, 6, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 9, 10, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 20, 21, - QMetaType::Void, 0x80000000 | 23, 21, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 30, 31, - QMetaType::Void, 0x80000000 | 33, 2, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 35, 36, - - 0 // eod -}; - -void octanetreadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->speedChanged((*reinterpret_cast< double(*)>(_a[1]))); break; - case 3: _t->packetReceived(); break; - case 4: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 5: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 9: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 10: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 11: _t->serviceScanDone(); break; - case 12: _t->update(); break; - case 13: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 14: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - case 15: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (octanetreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&octanetreadmill::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (octanetreadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&octanetreadmill::debug)) { - *result = 1; - return; - } - } - { - using _t = void (octanetreadmill::*)(double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&octanetreadmill::speedChanged)) { - *result = 2; - return; - } - } - { - using _t = void (octanetreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&octanetreadmill::packetReceived)) { - *result = 3; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject octanetreadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_octanetreadmill.data, - qt_meta_data_octanetreadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *octanetreadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *octanetreadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_octanetreadmill.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int octanetreadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } - return _id; -} - -// SIGNAL 0 -void octanetreadmill::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void octanetreadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void octanetreadmill::speedChanged(double _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} - -// SIGNAL 3 -void octanetreadmill::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 3, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_pafersbike.cpp b/src/moc_pafersbike.cpp deleted file mode 100644 index 910daf9f4..000000000 --- a/src/moc_pafersbike.cpp +++ /dev/null @@ -1,275 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'pafersbike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "pafersbike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'pafersbike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_pafersbike_t { - QByteArrayData data[29]; - char stringdata0[469]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_pafersbike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_pafersbike_t qt_meta_stringdata_pafersbike = { - { -QT_MOC_LITERAL(0, 0, 10), // "pafersbike" -QT_MOC_LITERAL(1, 11, 12), // "disconnected" -QT_MOC_LITERAL(2, 24, 0), // "" -QT_MOC_LITERAL(3, 25, 16), // "deviceDiscovered" -QT_MOC_LITERAL(4, 42, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(5, 63, 6), // "device" -QT_MOC_LITERAL(6, 70, 21), // "characteristicChanged" -QT_MOC_LITERAL(7, 92, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(8, 117, 14), // "characteristic" -QT_MOC_LITERAL(9, 132, 8), // "newValue" -QT_MOC_LITERAL(10, 141, 21), // "characteristicWritten" -QT_MOC_LITERAL(11, 163, 17), // "descriptorWritten" -QT_MOC_LITERAL(12, 181, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(13, 202, 10), // "descriptor" -QT_MOC_LITERAL(14, 213, 12), // "stateChanged" -QT_MOC_LITERAL(15, 226, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(16, 258, 5), // "state" -QT_MOC_LITERAL(17, 264, 22), // "controllerStateChanged" -QT_MOC_LITERAL(18, 287, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(19, 325, 17), // "serviceDiscovered" -QT_MOC_LITERAL(20, 343, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(21, 358, 4), // "gatt" -QT_MOC_LITERAL(22, 363, 15), // "serviceScanDone" -QT_MOC_LITERAL(23, 379, 6), // "update" -QT_MOC_LITERAL(24, 386, 5), // "error" -QT_MOC_LITERAL(25, 392, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(26, 420, 3), // "err" -QT_MOC_LITERAL(27, 424, 12), // "errorService" -QT_MOC_LITERAL(28, 437, 31) // "QLowEnergyService::ServiceError" - - }, - "pafersbike\0disconnected\0\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0" - "characteristicChanged\0QLowEnergyCharacteristic\0" - "characteristic\0newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_pafersbike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 12, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 74, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 3, 1, 75, 2, 0x0a /* Public */, - 6, 2, 78, 2, 0x08 /* Private */, - 10, 2, 83, 2, 0x08 /* Private */, - 11, 2, 88, 2, 0x08 /* Private */, - 14, 1, 93, 2, 0x08 /* Private */, - 17, 1, 96, 2, 0x08 /* Private */, - 19, 1, 99, 2, 0x08 /* Private */, - 22, 0, 102, 2, 0x08 /* Private */, - 23, 0, 103, 2, 0x08 /* Private */, - 24, 1, 104, 2, 0x08 /* Private */, - 27, 1, 107, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 4, 5, - QMetaType::Void, 0x80000000 | 7, QMetaType::QByteArray, 8, 9, - QMetaType::Void, 0x80000000 | 7, QMetaType::QByteArray, 8, 9, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 9, - QMetaType::Void, 0x80000000 | 15, 16, - QMetaType::Void, 0x80000000 | 18, 16, - QMetaType::Void, 0x80000000 | 20, 21, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, 0x80000000 | 28, 2, - - 0 // eod -}; - -void pafersbike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 2: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 3: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 6: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 7: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 8: _t->serviceScanDone(); break; - case 9: _t->update(); break; - case 10: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 11: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 1: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (pafersbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&pafersbike::disconnected)) { - *result = 0; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject pafersbike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_pafersbike.data, - qt_meta_data_pafersbike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *pafersbike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *pafersbike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_pafersbike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int pafersbike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } - return _id; -} - -// SIGNAL 0 -void pafersbike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_paferstreadmill.cpp b/src/moc_paferstreadmill.cpp deleted file mode 100644 index eec8db390..000000000 --- a/src/moc_paferstreadmill.cpp +++ /dev/null @@ -1,340 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'paferstreadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "paferstreadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'paferstreadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_paferstreadmill_t { - QByteArrayData data[37]; - char stringdata0[565]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_paferstreadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_paferstreadmill_t qt_meta_stringdata_paferstreadmill = { - { -QT_MOC_LITERAL(0, 0, 15), // "paferstreadmill" -QT_MOC_LITERAL(1, 16, 12), // "disconnected" -QT_MOC_LITERAL(2, 29, 0), // "" -QT_MOC_LITERAL(3, 30, 5), // "debug" -QT_MOC_LITERAL(4, 36, 6), // "string" -QT_MOC_LITERAL(5, 43, 12), // "speedChanged" -QT_MOC_LITERAL(6, 56, 5), // "speed" -QT_MOC_LITERAL(7, 62, 14), // "packetReceived" -QT_MOC_LITERAL(8, 77, 16), // "deviceDiscovered" -QT_MOC_LITERAL(9, 94, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(10, 115, 6), // "device" -QT_MOC_LITERAL(11, 122, 21), // "characteristicChanged" -QT_MOC_LITERAL(12, 144, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(13, 169, 14), // "characteristic" -QT_MOC_LITERAL(14, 184, 8), // "newValue" -QT_MOC_LITERAL(15, 193, 21), // "characteristicWritten" -QT_MOC_LITERAL(16, 215, 17), // "descriptorWritten" -QT_MOC_LITERAL(17, 233, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(18, 254, 10), // "descriptor" -QT_MOC_LITERAL(19, 265, 12), // "stateChanged" -QT_MOC_LITERAL(20, 278, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(21, 310, 5), // "state" -QT_MOC_LITERAL(22, 316, 22), // "controllerStateChanged" -QT_MOC_LITERAL(23, 339, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(24, 377, 17), // "serviceDiscovered" -QT_MOC_LITERAL(25, 395, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(26, 410, 4), // "gatt" -QT_MOC_LITERAL(27, 415, 15), // "serviceScanDone" -QT_MOC_LITERAL(28, 431, 6), // "update" -QT_MOC_LITERAL(29, 438, 5), // "error" -QT_MOC_LITERAL(30, 444, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(31, 472, 3), // "err" -QT_MOC_LITERAL(32, 476, 12), // "errorService" -QT_MOC_LITERAL(33, 489, 31), // "QLowEnergyService::ServiceError" -QT_MOC_LITERAL(34, 521, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(35, 548, 5), // "grade" -QT_MOC_LITERAL(36, 554, 10) // "percentage" - - }, - "paferstreadmill\0disconnected\0\0debug\0" - "string\0speedChanged\0speed\0packetReceived\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError\0" - "changeInclinationRequested\0grade\0" - "percentage" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_paferstreadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 16, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 4, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 94, 2, 0x06 /* Public */, - 3, 1, 95, 2, 0x06 /* Public */, - 5, 1, 98, 2, 0x06 /* Public */, - 7, 0, 101, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 8, 1, 102, 2, 0x0a /* Public */, - 11, 2, 105, 2, 0x08 /* Private */, - 15, 2, 110, 2, 0x08 /* Private */, - 16, 2, 115, 2, 0x08 /* Private */, - 19, 1, 120, 2, 0x08 /* Private */, - 22, 1, 123, 2, 0x08 /* Private */, - 24, 1, 126, 2, 0x08 /* Private */, - 27, 0, 129, 2, 0x08 /* Private */, - 28, 0, 130, 2, 0x08 /* Private */, - 29, 1, 131, 2, 0x08 /* Private */, - 32, 1, 134, 2, 0x08 /* Private */, - 34, 2, 137, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, QMetaType::Double, 6, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 9, 10, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 20, 21, - QMetaType::Void, 0x80000000 | 23, 21, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 30, 31, - QMetaType::Void, 0x80000000 | 33, 2, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 35, 36, - - 0 // eod -}; - -void paferstreadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->speedChanged((*reinterpret_cast< double(*)>(_a[1]))); break; - case 3: _t->packetReceived(); break; - case 4: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 5: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 9: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 10: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 11: _t->serviceScanDone(); break; - case 12: _t->update(); break; - case 13: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 14: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - case 15: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (paferstreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&paferstreadmill::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (paferstreadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&paferstreadmill::debug)) { - *result = 1; - return; - } - } - { - using _t = void (paferstreadmill::*)(double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&paferstreadmill::speedChanged)) { - *result = 2; - return; - } - } - { - using _t = void (paferstreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&paferstreadmill::packetReceived)) { - *result = 3; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject paferstreadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_paferstreadmill.data, - qt_meta_data_paferstreadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *paferstreadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *paferstreadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_paferstreadmill.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int paferstreadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } - return _id; -} - -// SIGNAL 0 -void paferstreadmill::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void paferstreadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void paferstreadmill::speedChanged(double _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} - -// SIGNAL 3 -void paferstreadmill::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 3, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_peloton.cpp b/src/moc_peloton.cpp deleted file mode 100644 index 5bdc14a91..000000000 --- a/src/moc_peloton.cpp +++ /dev/null @@ -1,305 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'peloton.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "peloton.h" -#include -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'peloton.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_peloton_t { - QByteArrayData data[24]; - char stringdata0[306]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_peloton_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_peloton_t qt_meta_stringdata_peloton = { - { -QT_MOC_LITERAL(0, 0, 7), // "peloton" -QT_MOC_LITERAL(1, 8, 10), // "loginState" -QT_MOC_LITERAL(2, 19, 0), // "" -QT_MOC_LITERAL(3, 20, 2), // "ok" -QT_MOC_LITERAL(4, 23, 13), // "pzpLoginState" -QT_MOC_LITERAL(5, 37, 14), // "workoutStarted" -QT_MOC_LITERAL(6, 52, 4), // "name" -QT_MOC_LITERAL(7, 57, 10), // "instructor" -QT_MOC_LITERAL(8, 68, 14), // "workoutChanged" -QT_MOC_LITERAL(9, 83, 14), // "login_onfinish" -QT_MOC_LITERAL(10, 98, 14), // "QNetworkReply*" -QT_MOC_LITERAL(11, 113, 5), // "reply" -QT_MOC_LITERAL(12, 119, 20), // "workoutlist_onfinish" -QT_MOC_LITERAL(13, 140, 16), // "summary_onfinish" -QT_MOC_LITERAL(14, 157, 16), // "workout_onfinish" -QT_MOC_LITERAL(15, 174, 19), // "instructor_onfinish" -QT_MOC_LITERAL(16, 194, 13), // "ride_onfinish" -QT_MOC_LITERAL(17, 208, 20), // "performance_onfinish" -QT_MOC_LITERAL(18, 229, 13), // "pzp_trainrows" -QT_MOC_LITERAL(19, 243, 16), // "QList*" -QT_MOC_LITERAL(20, 260, 4), // "list" -QT_MOC_LITERAL(21, 265, 13), // "hfb_trainrows" -QT_MOC_LITERAL(22, 279, 14), // "pzp_loginState" -QT_MOC_LITERAL(23, 294, 11) // "startEngine" - - }, - "peloton\0loginState\0\0ok\0pzpLoginState\0" - "workoutStarted\0name\0instructor\0" - "workoutChanged\0login_onfinish\0" - "QNetworkReply*\0reply\0workoutlist_onfinish\0" - "summary_onfinish\0workout_onfinish\0" - "instructor_onfinish\0ride_onfinish\0" - "performance_onfinish\0pzp_trainrows\0" - "QList*\0list\0hfb_trainrows\0" - "pzp_loginState\0startEngine" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_peloton[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 15, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 4, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 1, 89, 2, 0x06 /* Public */, - 4, 1, 92, 2, 0x06 /* Public */, - 5, 2, 95, 2, 0x06 /* Public */, - 8, 2, 100, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 9, 1, 105, 2, 0x08 /* Private */, - 12, 1, 108, 2, 0x08 /* Private */, - 13, 1, 111, 2, 0x08 /* Private */, - 14, 1, 114, 2, 0x08 /* Private */, - 15, 1, 117, 2, 0x08 /* Private */, - 16, 1, 120, 2, 0x08 /* Private */, - 17, 1, 123, 2, 0x08 /* Private */, - 18, 1, 126, 2, 0x08 /* Private */, - 21, 1, 129, 2, 0x08 /* Private */, - 22, 1, 132, 2, 0x08 /* Private */, - 23, 0, 135, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, QMetaType::Bool, 3, - QMetaType::Void, QMetaType::Bool, 3, - QMetaType::Void, QMetaType::QString, QMetaType::QString, 6, 7, - QMetaType::Void, QMetaType::QString, QMetaType::QString, 6, 7, - - // slots: parameters - QMetaType::Void, 0x80000000 | 10, 11, - QMetaType::Void, 0x80000000 | 10, 11, - QMetaType::Void, 0x80000000 | 10, 11, - QMetaType::Void, 0x80000000 | 10, 11, - QMetaType::Void, 0x80000000 | 10, 11, - QMetaType::Void, 0x80000000 | 10, 11, - QMetaType::Void, 0x80000000 | 10, 11, - QMetaType::Void, 0x80000000 | 19, 20, - QMetaType::Void, 0x80000000 | 19, 20, - QMetaType::Void, QMetaType::Bool, 3, - QMetaType::Void, - - 0 // eod -}; - -void peloton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->loginState((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 1: _t->pzpLoginState((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 2: _t->workoutStarted((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break; - case 3: _t->workoutChanged((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break; - case 4: _t->login_onfinish((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; - case 5: _t->workoutlist_onfinish((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; - case 6: _t->summary_onfinish((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; - case 7: _t->workout_onfinish((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; - case 8: _t->instructor_onfinish((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; - case 9: _t->ride_onfinish((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; - case 10: _t->performance_onfinish((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; - case 11: _t->pzp_trainrows((*reinterpret_cast< QList*(*)>(_a[1]))); break; - case 12: _t->hfb_trainrows((*reinterpret_cast< QList*(*)>(_a[1]))); break; - case 13: _t->pzp_loginState((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 14: _t->startEngine(); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QNetworkReply* >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QNetworkReply* >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QNetworkReply* >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QNetworkReply* >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QNetworkReply* >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QNetworkReply* >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QNetworkReply* >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (peloton::*)(bool ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&peloton::loginState)) { - *result = 0; - return; - } - } - { - using _t = void (peloton::*)(bool ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&peloton::pzpLoginState)) { - *result = 1; - return; - } - } - { - using _t = void (peloton::*)(QString , QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&peloton::workoutStarted)) { - *result = 2; - return; - } - } - { - using _t = void (peloton::*)(QString , QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&peloton::workoutChanged)) { - *result = 3; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject peloton::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_peloton.data, - qt_meta_data_peloton, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *peloton::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *peloton::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_peloton.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int peloton::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::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) - qt_static_metacall(this, _c, _id, _a); - _id -= 15; - } - return _id; -} - -// SIGNAL 0 -void peloton::loginState(bool _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void peloton::pzpLoginState(bool _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void peloton::workoutStarted(QString _t1, QString _t2) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} - -// SIGNAL 3 -void peloton::workoutChanged(QString _t1, QString _t2) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; - QMetaObject::activate(this, &staticMetaObject, 3, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_pelotonbike.cpp b/src/moc_pelotonbike.cpp deleted file mode 100644 index caabf0c83..000000000 --- a/src/moc_pelotonbike.cpp +++ /dev/null @@ -1,173 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'pelotonbike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "pelotonbike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'pelotonbike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_pelotonbike_t { - QByteArrayData data[10]; - char stringdata0[124]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_pelotonbike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_pelotonbike_t qt_meta_stringdata_pelotonbike = { - { -QT_MOC_LITERAL(0, 0, 11), // "pelotonbike" -QT_MOC_LITERAL(1, 12, 12), // "disconnected" -QT_MOC_LITERAL(2, 25, 0), // "" -QT_MOC_LITERAL(3, 26, 5), // "debug" -QT_MOC_LITERAL(4, 32, 6), // "string" -QT_MOC_LITERAL(5, 39, 33), // "pelotonOCRprocessPendingDatag..." -QT_MOC_LITERAL(6, 73, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(7, 100, 5), // "grade" -QT_MOC_LITERAL(8, 106, 10), // "percentage" -QT_MOC_LITERAL(9, 117, 6) // "update" - - }, - "pelotonbike\0disconnected\0\0debug\0string\0" - "pelotonOCRprocessPendingDatagrams\0" - "changeInclinationRequested\0grade\0" - "percentage\0update" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_pelotonbike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 5, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 39, 2, 0x06 /* Public */, - 3, 1, 40, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 0, 43, 2, 0x08 /* Private */, - 6, 2, 44, 2, 0x08 /* Private */, - 9, 0, 49, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 7, 8, - QMetaType::Void, - - 0 // eod -}; - -void pelotonbike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->pelotonOCRprocessPendingDatagrams(); break; - case 3: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 4: _t->update(); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (pelotonbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&pelotonbike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (pelotonbike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&pelotonbike::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject pelotonbike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_pelotonbike.data, - qt_meta_data_pelotonbike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *pelotonbike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *pelotonbike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_pelotonbike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int pelotonbike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 5) - qt_static_metacall(this, _c, _id, _a); - _id -= 5; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 5) - *reinterpret_cast(_a[0]) = -1; - _id -= 5; - } - return _id; -} - -// SIGNAL 0 -void pelotonbike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void pelotonbike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_powerzonepack.cpp b/src/moc_powerzonepack.cpp deleted file mode 100644 index 0a651d639..000000000 --- a/src/moc_powerzonepack.cpp +++ /dev/null @@ -1,189 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'powerzonepack.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "powerzonepack.h" -#include -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'powerzonepack.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_powerzonepack_t { - QByteArrayData data[12]; - char stringdata0[148]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_powerzonepack_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_powerzonepack_t qt_meta_stringdata_powerzonepack = { - { -QT_MOC_LITERAL(0, 0, 13), // "powerzonepack" -QT_MOC_LITERAL(1, 14, 14), // "workoutStarted" -QT_MOC_LITERAL(2, 29, 0), // "" -QT_MOC_LITERAL(3, 30, 16), // "QList*" -QT_MOC_LITERAL(4, 47, 4), // "list" -QT_MOC_LITERAL(5, 52, 10), // "loginState" -QT_MOC_LITERAL(6, 63, 2), // "ok" -QT_MOC_LITERAL(7, 66, 23), // "search_workout_onfinish" -QT_MOC_LITERAL(8, 90, 7), // "message" -QT_MOC_LITERAL(9, 98, 5), // "error" -QT_MOC_LITERAL(10, 104, 28), // "QAbstractSocket::SocketError" -QT_MOC_LITERAL(11, 133, 14) // "login_onfinish" - - }, - "powerzonepack\0workoutStarted\0\0" - "QList*\0list\0loginState\0ok\0" - "search_workout_onfinish\0message\0error\0" - "QAbstractSocket::SocketError\0" - "login_onfinish" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_powerzonepack[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 5, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 1, 39, 2, 0x06 /* Public */, - 5, 1, 42, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 7, 1, 45, 2, 0x08 /* Private */, - 9, 1, 48, 2, 0x08 /* Private */, - 11, 1, 51, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, 0x80000000 | 3, 4, - QMetaType::Void, QMetaType::Bool, 6, - - // slots: parameters - QMetaType::Void, QMetaType::QString, 8, - QMetaType::Void, 0x80000000 | 10, 9, - QMetaType::Void, QMetaType::QString, 8, - - 0 // eod -}; - -void powerzonepack::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->workoutStarted((*reinterpret_cast< QList*(*)>(_a[1]))); break; - case 1: _t->loginState((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 2: _t->search_workout_onfinish((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 3: _t->error((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break; - case 4: _t->login_onfinish((*reinterpret_cast< const QString(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QAbstractSocket::SocketError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (powerzonepack::*)(QList * ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&powerzonepack::workoutStarted)) { - *result = 0; - return; - } - } - { - using _t = void (powerzonepack::*)(bool ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&powerzonepack::loginState)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject powerzonepack::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_powerzonepack.data, - qt_meta_data_powerzonepack, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *powerzonepack::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *powerzonepack::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_powerzonepack.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int powerzonepack::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 5) - qt_static_metacall(this, _c, _id, _a); - _id -= 5; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 5) - qt_static_metacall(this, _c, _id, _a); - _id -= 5; - } - return _id; -} - -// SIGNAL 0 -void powerzonepack::workoutStarted(QList * _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void powerzonepack::loginState(bool _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_prober.cpp b/src/moc_prober.cpp deleted file mode 100644 index a9d977b20..000000000 --- a/src/moc_prober.cpp +++ /dev/null @@ -1,136 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'prober.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "qmdnsengine/src/include/qmdnsengine/prober.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'prober.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_QMdnsEngine__Prober_t { - QByteArrayData data[4]; - char stringdata0[40]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_QMdnsEngine__Prober_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_QMdnsEngine__Prober_t qt_meta_stringdata_QMdnsEngine__Prober = { - { -QT_MOC_LITERAL(0, 0, 19), // "QMdnsEngine::Prober" -QT_MOC_LITERAL(1, 20, 13), // "nameConfirmed" -QT_MOC_LITERAL(2, 34, 0), // "" -QT_MOC_LITERAL(3, 35, 4) // "name" - - }, - "QMdnsEngine::Prober\0nameConfirmed\0\0" - "name" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_QMdnsEngine__Prober[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 1, 19, 2, 0x06 /* Public */, - - // signals: parameters - QMetaType::Void, QMetaType::QByteArray, 3, - - 0 // eod -}; - -void QMdnsEngine::Prober::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->nameConfirmed((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (Prober::*)(const QByteArray & ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Prober::nameConfirmed)) { - *result = 0; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject QMdnsEngine::Prober::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_QMdnsEngine__Prober.data, - qt_meta_data_QMdnsEngine__Prober, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *QMdnsEngine::Prober::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *QMdnsEngine::Prober::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_QMdnsEngine__Prober.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int QMdnsEngine::Prober::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 1) - *reinterpret_cast(_a[0]) = -1; - _id -= 1; - } - return _id; -} - -// SIGNAL 0 -void QMdnsEngine::Prober::nameConfirmed(const QByteArray & _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_prober_p.cpp b/src/moc_prober_p.cpp deleted file mode 100644 index b0c1a910c..000000000 --- a/src/moc_prober_p.cpp +++ /dev/null @@ -1,125 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'prober_p.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "qmdnsengine/src/src/prober_p.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'prober_p.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_QMdnsEngine__ProberPrivate_t { - QByteArrayData data[6]; - char stringdata0[72]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_QMdnsEngine__ProberPrivate_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_QMdnsEngine__ProberPrivate_t qt_meta_stringdata_QMdnsEngine__ProberPrivate = { - { -QT_MOC_LITERAL(0, 0, 26), // "QMdnsEngine::ProberPrivate" -QT_MOC_LITERAL(1, 27, 17), // "onMessageReceived" -QT_MOC_LITERAL(2, 45, 0), // "" -QT_MOC_LITERAL(3, 46, 7), // "Message" -QT_MOC_LITERAL(4, 54, 7), // "message" -QT_MOC_LITERAL(5, 62, 9) // "onTimeout" - - }, - "QMdnsEngine::ProberPrivate\0onMessageReceived\0" - "\0Message\0message\0onTimeout" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_QMdnsEngine__ProberPrivate[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 1, 24, 2, 0x08 /* Private */, - 5, 0, 27, 2, 0x08 /* Private */, - - // slots: parameters - QMetaType::Void, 0x80000000 | 3, 4, - QMetaType::Void, - - 0 // eod -}; - -void QMdnsEngine::ProberPrivate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->onMessageReceived((*reinterpret_cast< const Message(*)>(_a[1]))); break; - case 1: _t->onTimeout(); break; - default: ; - } - } -} - -QT_INIT_METAOBJECT const QMetaObject QMdnsEngine::ProberPrivate::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_QMdnsEngine__ProberPrivate.data, - qt_meta_data_QMdnsEngine__ProberPrivate, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *QMdnsEngine::ProberPrivate::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *QMdnsEngine::ProberPrivate::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_QMdnsEngine__ProberPrivate.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int QMdnsEngine::ProberPrivate::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 2) - *reinterpret_cast(_a[0]) = -1; - _id -= 2; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_proformbike.cpp b/src/moc_proformbike.cpp deleted file mode 100644 index 181d73ad5..000000000 --- a/src/moc_proformbike.cpp +++ /dev/null @@ -1,295 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'proformbike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "proformbike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'proformbike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_proformbike_t { - QByteArrayData data[31]; - char stringdata0[483]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_proformbike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_proformbike_t qt_meta_stringdata_proformbike = { - { -QT_MOC_LITERAL(0, 0, 11), // "proformbike" -QT_MOC_LITERAL(1, 12, 12), // "disconnected" -QT_MOC_LITERAL(2, 25, 0), // "" -QT_MOC_LITERAL(3, 26, 5), // "debug" -QT_MOC_LITERAL(4, 32, 6), // "string" -QT_MOC_LITERAL(5, 39, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 56, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 77, 6), // "device" -QT_MOC_LITERAL(8, 84, 21), // "characteristicChanged" -QT_MOC_LITERAL(9, 106, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(10, 131, 14), // "characteristic" -QT_MOC_LITERAL(11, 146, 8), // "newValue" -QT_MOC_LITERAL(12, 155, 21), // "characteristicWritten" -QT_MOC_LITERAL(13, 177, 17), // "descriptorWritten" -QT_MOC_LITERAL(14, 195, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(15, 216, 10), // "descriptor" -QT_MOC_LITERAL(16, 227, 12), // "stateChanged" -QT_MOC_LITERAL(17, 240, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(18, 272, 5), // "state" -QT_MOC_LITERAL(19, 278, 22), // "controllerStateChanged" -QT_MOC_LITERAL(20, 301, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(21, 339, 17), // "serviceDiscovered" -QT_MOC_LITERAL(22, 357, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(23, 372, 4), // "gatt" -QT_MOC_LITERAL(24, 377, 15), // "serviceScanDone" -QT_MOC_LITERAL(25, 393, 6), // "update" -QT_MOC_LITERAL(26, 400, 5), // "error" -QT_MOC_LITERAL(27, 406, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(28, 434, 3), // "err" -QT_MOC_LITERAL(29, 438, 12), // "errorService" -QT_MOC_LITERAL(30, 451, 31) // "QLowEnergyService::ServiceError" - - }, - "proformbike\0disconnected\0\0debug\0string\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_proformbike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 13, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 79, 2, 0x06 /* Public */, - 3, 1, 80, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 83, 2, 0x0a /* Public */, - 8, 2, 86, 2, 0x08 /* Private */, - 12, 2, 91, 2, 0x08 /* Private */, - 13, 2, 96, 2, 0x08 /* Private */, - 16, 1, 101, 2, 0x08 /* Private */, - 19, 1, 104, 2, 0x08 /* Private */, - 21, 1, 107, 2, 0x08 /* Private */, - 24, 0, 110, 2, 0x08 /* Private */, - 25, 0, 111, 2, 0x08 /* Private */, - 26, 1, 112, 2, 0x08 /* Private */, - 29, 1, 115, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 17, 18, - QMetaType::Void, 0x80000000 | 20, 18, - QMetaType::Void, 0x80000000 | 22, 23, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 27, 28, - QMetaType::Void, 0x80000000 | 30, 2, - - 0 // eod -}; - -void proformbike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 7: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 8: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 9: _t->serviceScanDone(); break; - case 10: _t->update(); break; - case 11: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 12: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 12: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (proformbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&proformbike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (proformbike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&proformbike::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject proformbike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_proformbike.data, - qt_meta_data_proformbike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *proformbike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *proformbike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_proformbike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int proformbike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 13) - qt_static_metacall(this, _c, _id, _a); - _id -= 13; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 13) - qt_static_metacall(this, _c, _id, _a); - _id -= 13; - } - return _id; -} - -// SIGNAL 0 -void proformbike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void proformbike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_proformelliptical.cpp b/src/moc_proformelliptical.cpp deleted file mode 100644 index 2a536883a..000000000 --- a/src/moc_proformelliptical.cpp +++ /dev/null @@ -1,302 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'proformelliptical.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "proformelliptical.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'proformelliptical.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_proformelliptical_t { - QByteArrayData data[34]; - char stringdata0[533]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_proformelliptical_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_proformelliptical_t qt_meta_stringdata_proformelliptical = { - { -QT_MOC_LITERAL(0, 0, 17), // "proformelliptical" -QT_MOC_LITERAL(1, 18, 12), // "disconnected" -QT_MOC_LITERAL(2, 31, 0), // "" -QT_MOC_LITERAL(3, 32, 5), // "debug" -QT_MOC_LITERAL(4, 38, 6), // "string" -QT_MOC_LITERAL(5, 45, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 62, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 83, 6), // "device" -QT_MOC_LITERAL(8, 90, 21), // "characteristicChanged" -QT_MOC_LITERAL(9, 112, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(10, 137, 14), // "characteristic" -QT_MOC_LITERAL(11, 152, 8), // "newValue" -QT_MOC_LITERAL(12, 161, 21), // "characteristicWritten" -QT_MOC_LITERAL(13, 183, 17), // "descriptorWritten" -QT_MOC_LITERAL(14, 201, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(15, 222, 10), // "descriptor" -QT_MOC_LITERAL(16, 233, 12), // "stateChanged" -QT_MOC_LITERAL(17, 246, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(18, 278, 5), // "state" -QT_MOC_LITERAL(19, 284, 22), // "controllerStateChanged" -QT_MOC_LITERAL(20, 307, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(21, 345, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(22, 372, 5), // "grade" -QT_MOC_LITERAL(23, 378, 10), // "percentage" -QT_MOC_LITERAL(24, 389, 17), // "serviceDiscovered" -QT_MOC_LITERAL(25, 407, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(26, 422, 4), // "gatt" -QT_MOC_LITERAL(27, 427, 15), // "serviceScanDone" -QT_MOC_LITERAL(28, 443, 6), // "update" -QT_MOC_LITERAL(29, 450, 5), // "error" -QT_MOC_LITERAL(30, 456, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(31, 484, 3), // "err" -QT_MOC_LITERAL(32, 488, 12), // "errorService" -QT_MOC_LITERAL(33, 501, 31) // "QLowEnergyService::ServiceError" - - }, - "proformelliptical\0disconnected\0\0debug\0" - "string\0deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "changeInclinationRequested\0grade\0" - "percentage\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0serviceScanDone\0" - "update\0error\0QLowEnergyController::Error\0" - "err\0errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_proformelliptical[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 14, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 84, 2, 0x06 /* Public */, - 3, 1, 85, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 88, 2, 0x0a /* Public */, - 8, 2, 91, 2, 0x08 /* Private */, - 12, 2, 96, 2, 0x08 /* Private */, - 13, 2, 101, 2, 0x08 /* Private */, - 16, 1, 106, 2, 0x08 /* Private */, - 19, 1, 109, 2, 0x08 /* Private */, - 21, 2, 112, 2, 0x08 /* Private */, - 24, 1, 117, 2, 0x08 /* Private */, - 27, 0, 120, 2, 0x08 /* Private */, - 28, 0, 121, 2, 0x08 /* Private */, - 29, 1, 122, 2, 0x08 /* Private */, - 32, 1, 125, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 17, 18, - QMetaType::Void, 0x80000000 | 20, 18, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 22, 23, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 30, 31, - QMetaType::Void, 0x80000000 | 33, 2, - - 0 // eod -}; - -void proformelliptical::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 7: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 8: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 9: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 10: _t->serviceScanDone(); break; - case 11: _t->update(); break; - case 12: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 13: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 12: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (proformelliptical::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&proformelliptical::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (proformelliptical::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&proformelliptical::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject proformelliptical::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_proformelliptical.data, - qt_meta_data_proformelliptical, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *proformelliptical::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *proformelliptical::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_proformelliptical.stringdata0)) - return static_cast(this); - return elliptical::qt_metacast(_clname); -} - -int proformelliptical::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = elliptical::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } - return _id; -} - -// SIGNAL 0 -void proformelliptical::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void proformelliptical::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_proformellipticaltrainer.cpp b/src/moc_proformellipticaltrainer.cpp deleted file mode 100644 index 7b47b00be..000000000 --- a/src/moc_proformellipticaltrainer.cpp +++ /dev/null @@ -1,302 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'proformellipticaltrainer.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "proformellipticaltrainer.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'proformellipticaltrainer.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_proformellipticaltrainer_t { - QByteArrayData data[34]; - char stringdata0[540]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_proformellipticaltrainer_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_proformellipticaltrainer_t qt_meta_stringdata_proformellipticaltrainer = { - { -QT_MOC_LITERAL(0, 0, 24), // "proformellipticaltrainer" -QT_MOC_LITERAL(1, 25, 12), // "disconnected" -QT_MOC_LITERAL(2, 38, 0), // "" -QT_MOC_LITERAL(3, 39, 5), // "debug" -QT_MOC_LITERAL(4, 45, 6), // "string" -QT_MOC_LITERAL(5, 52, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 69, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 90, 6), // "device" -QT_MOC_LITERAL(8, 97, 21), // "characteristicChanged" -QT_MOC_LITERAL(9, 119, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(10, 144, 14), // "characteristic" -QT_MOC_LITERAL(11, 159, 8), // "newValue" -QT_MOC_LITERAL(12, 168, 21), // "characteristicWritten" -QT_MOC_LITERAL(13, 190, 17), // "descriptorWritten" -QT_MOC_LITERAL(14, 208, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(15, 229, 10), // "descriptor" -QT_MOC_LITERAL(16, 240, 12), // "stateChanged" -QT_MOC_LITERAL(17, 253, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(18, 285, 5), // "state" -QT_MOC_LITERAL(19, 291, 22), // "controllerStateChanged" -QT_MOC_LITERAL(20, 314, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(21, 352, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(22, 379, 5), // "grade" -QT_MOC_LITERAL(23, 385, 10), // "percentage" -QT_MOC_LITERAL(24, 396, 17), // "serviceDiscovered" -QT_MOC_LITERAL(25, 414, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(26, 429, 4), // "gatt" -QT_MOC_LITERAL(27, 434, 15), // "serviceScanDone" -QT_MOC_LITERAL(28, 450, 6), // "update" -QT_MOC_LITERAL(29, 457, 5), // "error" -QT_MOC_LITERAL(30, 463, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(31, 491, 3), // "err" -QT_MOC_LITERAL(32, 495, 12), // "errorService" -QT_MOC_LITERAL(33, 508, 31) // "QLowEnergyService::ServiceError" - - }, - "proformellipticaltrainer\0disconnected\0" - "\0debug\0string\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0" - "characteristicChanged\0QLowEnergyCharacteristic\0" - "characteristic\0newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "changeInclinationRequested\0grade\0" - "percentage\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0serviceScanDone\0" - "update\0error\0QLowEnergyController::Error\0" - "err\0errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_proformellipticaltrainer[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 14, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 84, 2, 0x06 /* Public */, - 3, 1, 85, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 88, 2, 0x0a /* Public */, - 8, 2, 91, 2, 0x08 /* Private */, - 12, 2, 96, 2, 0x08 /* Private */, - 13, 2, 101, 2, 0x08 /* Private */, - 16, 1, 106, 2, 0x08 /* Private */, - 19, 1, 109, 2, 0x08 /* Private */, - 21, 2, 112, 2, 0x08 /* Private */, - 24, 1, 117, 2, 0x08 /* Private */, - 27, 0, 120, 2, 0x08 /* Private */, - 28, 0, 121, 2, 0x08 /* Private */, - 29, 1, 122, 2, 0x08 /* Private */, - 32, 1, 125, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 17, 18, - QMetaType::Void, 0x80000000 | 20, 18, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 22, 23, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 30, 31, - QMetaType::Void, 0x80000000 | 33, 2, - - 0 // eod -}; - -void proformellipticaltrainer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 7: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 8: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 9: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 10: _t->serviceScanDone(); break; - case 11: _t->update(); break; - case 12: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 13: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 12: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (proformellipticaltrainer::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&proformellipticaltrainer::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (proformellipticaltrainer::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&proformellipticaltrainer::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject proformellipticaltrainer::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_proformellipticaltrainer.data, - qt_meta_data_proformellipticaltrainer, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *proformellipticaltrainer::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *proformellipticaltrainer::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_proformellipticaltrainer.stringdata0)) - return static_cast(this); - return elliptical::qt_metacast(_clname); -} - -int proformellipticaltrainer::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = elliptical::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } - return _id; -} - -// SIGNAL 0 -void proformellipticaltrainer::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void proformellipticaltrainer::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_proformrower.cpp b/src/moc_proformrower.cpp deleted file mode 100644 index 20286555b..000000000 --- a/src/moc_proformrower.cpp +++ /dev/null @@ -1,302 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'proformrower.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "proformrower.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'proformrower.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_proformrower_t { - QByteArrayData data[34]; - char stringdata0[528]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_proformrower_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_proformrower_t qt_meta_stringdata_proformrower = { - { -QT_MOC_LITERAL(0, 0, 12), // "proformrower" -QT_MOC_LITERAL(1, 13, 12), // "disconnected" -QT_MOC_LITERAL(2, 26, 0), // "" -QT_MOC_LITERAL(3, 27, 5), // "debug" -QT_MOC_LITERAL(4, 33, 6), // "string" -QT_MOC_LITERAL(5, 40, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 57, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 78, 6), // "device" -QT_MOC_LITERAL(8, 85, 21), // "characteristicChanged" -QT_MOC_LITERAL(9, 107, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(10, 132, 14), // "characteristic" -QT_MOC_LITERAL(11, 147, 8), // "newValue" -QT_MOC_LITERAL(12, 156, 21), // "characteristicWritten" -QT_MOC_LITERAL(13, 178, 17), // "descriptorWritten" -QT_MOC_LITERAL(14, 196, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(15, 217, 10), // "descriptor" -QT_MOC_LITERAL(16, 228, 12), // "stateChanged" -QT_MOC_LITERAL(17, 241, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(18, 273, 5), // "state" -QT_MOC_LITERAL(19, 279, 22), // "controllerStateChanged" -QT_MOC_LITERAL(20, 302, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(21, 340, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(22, 367, 5), // "grade" -QT_MOC_LITERAL(23, 373, 10), // "percentage" -QT_MOC_LITERAL(24, 384, 17), // "serviceDiscovered" -QT_MOC_LITERAL(25, 402, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(26, 417, 4), // "gatt" -QT_MOC_LITERAL(27, 422, 15), // "serviceScanDone" -QT_MOC_LITERAL(28, 438, 6), // "update" -QT_MOC_LITERAL(29, 445, 5), // "error" -QT_MOC_LITERAL(30, 451, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(31, 479, 3), // "err" -QT_MOC_LITERAL(32, 483, 12), // "errorService" -QT_MOC_LITERAL(33, 496, 31) // "QLowEnergyService::ServiceError" - - }, - "proformrower\0disconnected\0\0debug\0" - "string\0deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "changeInclinationRequested\0grade\0" - "percentage\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0serviceScanDone\0" - "update\0error\0QLowEnergyController::Error\0" - "err\0errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_proformrower[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 14, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 84, 2, 0x06 /* Public */, - 3, 1, 85, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 88, 2, 0x0a /* Public */, - 8, 2, 91, 2, 0x08 /* Private */, - 12, 2, 96, 2, 0x08 /* Private */, - 13, 2, 101, 2, 0x08 /* Private */, - 16, 1, 106, 2, 0x08 /* Private */, - 19, 1, 109, 2, 0x08 /* Private */, - 21, 2, 112, 2, 0x08 /* Private */, - 24, 1, 117, 2, 0x08 /* Private */, - 27, 0, 120, 2, 0x08 /* Private */, - 28, 0, 121, 2, 0x08 /* Private */, - 29, 1, 122, 2, 0x08 /* Private */, - 32, 1, 125, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 17, 18, - QMetaType::Void, 0x80000000 | 20, 18, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 22, 23, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 30, 31, - QMetaType::Void, 0x80000000 | 33, 2, - - 0 // eod -}; - -void proformrower::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 7: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 8: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 9: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 10: _t->serviceScanDone(); break; - case 11: _t->update(); break; - case 12: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 13: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 12: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (proformrower::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&proformrower::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (proformrower::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&proformrower::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject proformrower::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_proformrower.data, - qt_meta_data_proformrower, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *proformrower::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *proformrower::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_proformrower.stringdata0)) - return static_cast(this); - return rower::qt_metacast(_clname); -} - -int proformrower::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = rower::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } - return _id; -} - -// SIGNAL 0 -void proformrower::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void proformrower::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_proformtreadmill.cpp b/src/moc_proformtreadmill.cpp deleted file mode 100644 index 364fd3670..000000000 --- a/src/moc_proformtreadmill.cpp +++ /dev/null @@ -1,302 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'proformtreadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "proformtreadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'proformtreadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_proformtreadmill_t { - QByteArrayData data[34]; - char stringdata0[532]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_proformtreadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_proformtreadmill_t qt_meta_stringdata_proformtreadmill = { - { -QT_MOC_LITERAL(0, 0, 16), // "proformtreadmill" -QT_MOC_LITERAL(1, 17, 12), // "disconnected" -QT_MOC_LITERAL(2, 30, 0), // "" -QT_MOC_LITERAL(3, 31, 5), // "debug" -QT_MOC_LITERAL(4, 37, 6), // "string" -QT_MOC_LITERAL(5, 44, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 61, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 82, 6), // "device" -QT_MOC_LITERAL(8, 89, 21), // "characteristicChanged" -QT_MOC_LITERAL(9, 111, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(10, 136, 14), // "characteristic" -QT_MOC_LITERAL(11, 151, 8), // "newValue" -QT_MOC_LITERAL(12, 160, 21), // "characteristicWritten" -QT_MOC_LITERAL(13, 182, 17), // "descriptorWritten" -QT_MOC_LITERAL(14, 200, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(15, 221, 10), // "descriptor" -QT_MOC_LITERAL(16, 232, 12), // "stateChanged" -QT_MOC_LITERAL(17, 245, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(18, 277, 5), // "state" -QT_MOC_LITERAL(19, 283, 22), // "controllerStateChanged" -QT_MOC_LITERAL(20, 306, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(21, 344, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(22, 371, 5), // "grade" -QT_MOC_LITERAL(23, 377, 10), // "percentage" -QT_MOC_LITERAL(24, 388, 17), // "serviceDiscovered" -QT_MOC_LITERAL(25, 406, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(26, 421, 4), // "gatt" -QT_MOC_LITERAL(27, 426, 15), // "serviceScanDone" -QT_MOC_LITERAL(28, 442, 6), // "update" -QT_MOC_LITERAL(29, 449, 5), // "error" -QT_MOC_LITERAL(30, 455, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(31, 483, 3), // "err" -QT_MOC_LITERAL(32, 487, 12), // "errorService" -QT_MOC_LITERAL(33, 500, 31) // "QLowEnergyService::ServiceError" - - }, - "proformtreadmill\0disconnected\0\0debug\0" - "string\0deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "changeInclinationRequested\0grade\0" - "percentage\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0serviceScanDone\0" - "update\0error\0QLowEnergyController::Error\0" - "err\0errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_proformtreadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 14, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 84, 2, 0x06 /* Public */, - 3, 1, 85, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 88, 2, 0x0a /* Public */, - 8, 2, 91, 2, 0x08 /* Private */, - 12, 2, 96, 2, 0x08 /* Private */, - 13, 2, 101, 2, 0x08 /* Private */, - 16, 1, 106, 2, 0x08 /* Private */, - 19, 1, 109, 2, 0x08 /* Private */, - 21, 2, 112, 2, 0x08 /* Private */, - 24, 1, 117, 2, 0x08 /* Private */, - 27, 0, 120, 2, 0x08 /* Private */, - 28, 0, 121, 2, 0x08 /* Private */, - 29, 1, 122, 2, 0x08 /* Private */, - 32, 1, 125, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 17, 18, - QMetaType::Void, 0x80000000 | 20, 18, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 22, 23, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 30, 31, - QMetaType::Void, 0x80000000 | 33, 2, - - 0 // eod -}; - -void proformtreadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 7: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 8: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 9: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 10: _t->serviceScanDone(); break; - case 11: _t->update(); break; - case 12: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 13: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 12: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (proformtreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&proformtreadmill::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (proformtreadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&proformtreadmill::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject proformtreadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_proformtreadmill.data, - qt_meta_data_proformtreadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *proformtreadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *proformtreadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_proformtreadmill.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int proformtreadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } - return _id; -} - -// SIGNAL 0 -void proformtreadmill::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void proformtreadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_proformwifibike.cpp b/src/moc_proformwifibike.cpp deleted file mode 100644 index 2fcfedea7..000000000 --- a/src/moc_proformwifibike.cpp +++ /dev/null @@ -1,203 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'proformwifibike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "proformwifibike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'proformwifibike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_proformwifibike_t { - QByteArrayData data[15]; - char stringdata0[185]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_proformwifibike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_proformwifibike_t qt_meta_stringdata_proformwifibike = { - { -QT_MOC_LITERAL(0, 0, 15), // "proformwifibike" -QT_MOC_LITERAL(1, 16, 12), // "disconnected" -QT_MOC_LITERAL(2, 29, 0), // "" -QT_MOC_LITERAL(3, 30, 5), // "debug" -QT_MOC_LITERAL(4, 36, 6), // "string" -QT_MOC_LITERAL(5, 43, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 60, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 81, 6), // "device" -QT_MOC_LITERAL(8, 88, 21), // "characteristicChanged" -QT_MOC_LITERAL(9, 110, 7), // "message" -QT_MOC_LITERAL(10, 118, 21), // "binaryMessageReceived" -QT_MOC_LITERAL(11, 140, 17), // "serviceDiscovered" -QT_MOC_LITERAL(12, 158, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(13, 173, 4), // "gatt" -QT_MOC_LITERAL(14, 178, 6) // "update" - - }, - "proformwifibike\0disconnected\0\0debug\0" - "string\0deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0message\0" - "binaryMessageReceived\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0update" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_proformwifibike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 7, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 49, 2, 0x06 /* Public */, - 3, 1, 50, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 53, 2, 0x0a /* Public */, - 8, 1, 56, 2, 0x08 /* Private */, - 10, 1, 59, 2, 0x08 /* Private */, - 11, 1, 62, 2, 0x08 /* Private */, - 14, 0, 65, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, QMetaType::QString, 9, - QMetaType::Void, QMetaType::QByteArray, 9, - QMetaType::Void, 0x80000000 | 12, 13, - QMetaType::Void, - - 0 // eod -}; - -void proformwifibike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 4: _t->binaryMessageReceived((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; - case 5: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 6: _t->update(); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (proformwifibike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&proformwifibike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (proformwifibike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&proformwifibike::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject proformwifibike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_proformwifibike.data, - qt_meta_data_proformwifibike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *proformwifibike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *proformwifibike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_proformwifibike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int proformwifibike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 7) - qt_static_metacall(this, _c, _id, _a); - _id -= 7; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 7) - qt_static_metacall(this, _c, _id, _a); - _id -= 7; - } - return _id; -} - -// SIGNAL 0 -void proformwifibike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void proformwifibike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_proformwifitreadmill.cpp b/src/moc_proformwifitreadmill.cpp deleted file mode 100644 index 5a9127a79..000000000 --- a/src/moc_proformwifitreadmill.cpp +++ /dev/null @@ -1,211 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'proformwifitreadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "proformwifitreadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'proformwifitreadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_proformwifitreadmill_t { - QByteArrayData data[18]; - char stringdata0[234]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_proformwifitreadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_proformwifitreadmill_t qt_meta_stringdata_proformwifitreadmill = { - { -QT_MOC_LITERAL(0, 0, 20), // "proformwifitreadmill" -QT_MOC_LITERAL(1, 21, 12), // "disconnected" -QT_MOC_LITERAL(2, 34, 0), // "" -QT_MOC_LITERAL(3, 35, 5), // "debug" -QT_MOC_LITERAL(4, 41, 6), // "string" -QT_MOC_LITERAL(5, 48, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 65, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 86, 6), // "device" -QT_MOC_LITERAL(8, 93, 21), // "characteristicChanged" -QT_MOC_LITERAL(9, 115, 7), // "message" -QT_MOC_LITERAL(10, 123, 21), // "binaryMessageReceived" -QT_MOC_LITERAL(11, 145, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(12, 172, 5), // "grade" -QT_MOC_LITERAL(13, 178, 10), // "percentage" -QT_MOC_LITERAL(14, 189, 17), // "serviceDiscovered" -QT_MOC_LITERAL(15, 207, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(16, 222, 4), // "gatt" -QT_MOC_LITERAL(17, 227, 6) // "update" - - }, - "proformwifitreadmill\0disconnected\0\0" - "debug\0string\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0" - "characteristicChanged\0message\0" - "binaryMessageReceived\0changeInclinationRequested\0" - "grade\0percentage\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0update" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_proformwifitreadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 8, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 54, 2, 0x06 /* Public */, - 3, 1, 55, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 58, 2, 0x0a /* Public */, - 8, 1, 61, 2, 0x08 /* Private */, - 10, 1, 64, 2, 0x08 /* Private */, - 11, 2, 67, 2, 0x08 /* Private */, - 14, 1, 72, 2, 0x08 /* Private */, - 17, 0, 75, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, QMetaType::QString, 9, - QMetaType::Void, QMetaType::QByteArray, 9, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 12, 13, - QMetaType::Void, 0x80000000 | 15, 16, - QMetaType::Void, - - 0 // eod -}; - -void proformwifitreadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 4: _t->binaryMessageReceived((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; - case 5: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 6: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 7: _t->update(); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (proformwifitreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&proformwifitreadmill::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (proformwifitreadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&proformwifitreadmill::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject proformwifitreadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_proformwifitreadmill.data, - qt_meta_data_proformwifitreadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *proformwifitreadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *proformwifitreadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_proformwifitreadmill.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int proformwifitreadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 8) - qt_static_metacall(this, _c, _id, _a); - _id -= 8; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 8) - qt_static_metacall(this, _c, _id, _a); - _id -= 8; - } - return _id; -} - -// SIGNAL 0 -void proformwifitreadmill::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void proformwifitreadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_provider.cpp b/src/moc_provider.cpp deleted file mode 100644 index c2285ea1f..000000000 --- a/src/moc_provider.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'provider.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "qmdnsengine/src/include/qmdnsengine/provider.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'provider.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_QMdnsEngine__Provider_t { - QByteArrayData data[1]; - char stringdata0[22]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_QMdnsEngine__Provider_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_QMdnsEngine__Provider_t qt_meta_stringdata_QMdnsEngine__Provider = { - { -QT_MOC_LITERAL(0, 0, 21) // "QMdnsEngine::Provider" - - }, - "QMdnsEngine::Provider" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_QMdnsEngine__Provider[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void QMdnsEngine::Provider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject QMdnsEngine::Provider::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_QMdnsEngine__Provider.data, - qt_meta_data_QMdnsEngine__Provider, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *QMdnsEngine::Provider::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *QMdnsEngine::Provider::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_QMdnsEngine__Provider.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int QMdnsEngine::Provider::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_provider_p.cpp b/src/moc_provider_p.cpp deleted file mode 100644 index f85593e42..000000000 --- a/src/moc_provider_p.cpp +++ /dev/null @@ -1,127 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'provider_p.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "qmdnsengine/src/src/provider_p.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'provider_p.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_QMdnsEngine__ProviderPrivate_t { - QByteArrayData data[7]; - char stringdata0[91]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_QMdnsEngine__ProviderPrivate_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_QMdnsEngine__ProviderPrivate_t qt_meta_stringdata_QMdnsEngine__ProviderPrivate = { - { -QT_MOC_LITERAL(0, 0, 28), // "QMdnsEngine::ProviderPrivate" -QT_MOC_LITERAL(1, 29, 17), // "onMessageReceived" -QT_MOC_LITERAL(2, 47, 0), // "" -QT_MOC_LITERAL(3, 48, 7), // "Message" -QT_MOC_LITERAL(4, 56, 7), // "message" -QT_MOC_LITERAL(5, 64, 17), // "onHostnameChanged" -QT_MOC_LITERAL(6, 82, 8) // "hostname" - - }, - "QMdnsEngine::ProviderPrivate\0" - "onMessageReceived\0\0Message\0message\0" - "onHostnameChanged\0hostname" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_QMdnsEngine__ProviderPrivate[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 1, 24, 2, 0x08 /* Private */, - 5, 1, 27, 2, 0x08 /* Private */, - - // slots: parameters - QMetaType::Void, 0x80000000 | 3, 4, - QMetaType::Void, QMetaType::QByteArray, 6, - - 0 // eod -}; - -void QMdnsEngine::ProviderPrivate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->onMessageReceived((*reinterpret_cast< const Message(*)>(_a[1]))); break; - case 1: _t->onHostnameChanged((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; - default: ; - } - } -} - -QT_INIT_METAOBJECT const QMetaObject QMdnsEngine::ProviderPrivate::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_QMdnsEngine__ProviderPrivate.data, - qt_meta_data_QMdnsEngine__ProviderPrivate, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *QMdnsEngine::ProviderPrivate::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *QMdnsEngine::ProviderPrivate::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_QMdnsEngine__ProviderPrivate.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int QMdnsEngine::ProviderPrivate::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 2) - *reinterpret_cast(_a[0]) = -1; - _id -= 2; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_qfit.cpp b/src/moc_qfit.cpp deleted file mode 100644 index 2f77146a7..000000000 --- a/src/moc_qfit.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'qfit.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "qfit.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'qfit.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_qfit_t { - QByteArrayData data[1]; - char stringdata0[5]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_qfit_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_qfit_t qt_meta_stringdata_qfit = { - { -QT_MOC_LITERAL(0, 0, 4) // "qfit" - - }, - "qfit" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_qfit[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void qfit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject qfit::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_qfit.data, - qt_meta_data_qfit, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *qfit::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *qfit::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_qfit.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int qfit::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_quotedprintable.cpp b/src/moc_quotedprintable.cpp deleted file mode 100644 index d90ae71b7..000000000 --- a/src/moc_quotedprintable.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'quotedprintable.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "smtpclient/src/quotedprintable.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'quotedprintable.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_QuotedPrintable_t { - QByteArrayData data[1]; - char stringdata0[16]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_QuotedPrintable_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_QuotedPrintable_t qt_meta_stringdata_QuotedPrintable = { - { -QT_MOC_LITERAL(0, 0, 15) // "QuotedPrintable" - - }, - "QuotedPrintable" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_QuotedPrintable[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void QuotedPrintable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject QuotedPrintable::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_QuotedPrintable.data, - qt_meta_data_QuotedPrintable, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *QuotedPrintable::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *QuotedPrintable::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_QuotedPrintable.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int QuotedPrintable::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_renphobike.cpp b/src/moc_renphobike.cpp deleted file mode 100644 index 21528873b..000000000 --- a/src/moc_renphobike.cpp +++ /dev/null @@ -1,330 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'renphobike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "renphobike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'renphobike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_renphobike_t { - QByteArrayData data[34]; - char stringdata0[542]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_renphobike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_renphobike_t qt_meta_stringdata_renphobike = { - { -QT_MOC_LITERAL(0, 0, 10), // "renphobike" -QT_MOC_LITERAL(1, 11, 12), // "disconnected" -QT_MOC_LITERAL(2, 24, 0), // "" -QT_MOC_LITERAL(3, 25, 5), // "debug" -QT_MOC_LITERAL(4, 31, 6), // "string" -QT_MOC_LITERAL(5, 38, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 55, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 76, 6), // "device" -QT_MOC_LITERAL(8, 83, 21), // "characteristicChanged" -QT_MOC_LITERAL(9, 105, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(10, 130, 14), // "characteristic" -QT_MOC_LITERAL(11, 145, 8), // "newValue" -QT_MOC_LITERAL(12, 154, 21), // "characteristicWritten" -QT_MOC_LITERAL(13, 176, 17), // "descriptorWritten" -QT_MOC_LITERAL(14, 194, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(15, 215, 10), // "descriptor" -QT_MOC_LITERAL(16, 226, 18), // "characteristicRead" -QT_MOC_LITERAL(17, 245, 14), // "descriptorRead" -QT_MOC_LITERAL(18, 260, 12), // "stateChanged" -QT_MOC_LITERAL(19, 273, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(20, 305, 5), // "state" -QT_MOC_LITERAL(21, 311, 22), // "controllerStateChanged" -QT_MOC_LITERAL(22, 334, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(23, 372, 17), // "serviceDiscovered" -QT_MOC_LITERAL(24, 390, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(25, 405, 4), // "gatt" -QT_MOC_LITERAL(26, 410, 15), // "serviceScanDone" -QT_MOC_LITERAL(27, 426, 6), // "update" -QT_MOC_LITERAL(28, 433, 5), // "error" -QT_MOC_LITERAL(29, 439, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(30, 467, 3), // "err" -QT_MOC_LITERAL(31, 471, 12), // "errorService" -QT_MOC_LITERAL(32, 484, 31), // "QLowEnergyService::ServiceError" -QT_MOC_LITERAL(33, 516, 25) // "ftmsCharacteristicChanged" - - }, - "renphobike\0disconnected\0\0debug\0string\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0characteristicRead\0" - "descriptorRead\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError\0" - "ftmsCharacteristicChanged" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_renphobike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 16, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 94, 2, 0x06 /* Public */, - 3, 1, 95, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 98, 2, 0x0a /* Public */, - 8, 2, 101, 2, 0x08 /* Private */, - 12, 2, 106, 2, 0x08 /* Private */, - 13, 2, 111, 2, 0x08 /* Private */, - 16, 2, 116, 2, 0x08 /* Private */, - 17, 2, 121, 2, 0x08 /* Private */, - 18, 1, 126, 2, 0x08 /* Private */, - 21, 1, 129, 2, 0x08 /* Private */, - 23, 1, 132, 2, 0x08 /* Private */, - 26, 0, 135, 2, 0x08 /* Private */, - 27, 0, 136, 2, 0x08 /* Private */, - 28, 1, 137, 2, 0x08 /* Private */, - 31, 1, 140, 2, 0x08 /* Private */, - 33, 2, 143, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 19, 20, - QMetaType::Void, 0x80000000 | 22, 20, - QMetaType::Void, 0x80000000 | 24, 25, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 29, 30, - QMetaType::Void, 0x80000000 | 32, 2, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - - 0 // eod -}; - -void renphobike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->characteristicRead((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->descriptorRead((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 9: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 10: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 11: _t->serviceScanDone(); break; - case 12: _t->update(); break; - case 13: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 14: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - case 15: _t->ftmsCharacteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - case 15: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (renphobike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&renphobike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (renphobike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&renphobike::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject renphobike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_renphobike.data, - qt_meta_data_renphobike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *renphobike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *renphobike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_renphobike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int renphobike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } - return _id; -} - -// SIGNAL 0 -void renphobike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void renphobike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_resolver.cpp b/src/moc_resolver.cpp deleted file mode 100644 index 17a5f6d57..000000000 --- a/src/moc_resolver.cpp +++ /dev/null @@ -1,137 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'resolver.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "qmdnsengine/src/include/qmdnsengine/resolver.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'resolver.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_QMdnsEngine__Resolver_t { - QByteArrayData data[5]; - char stringdata0[53]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_QMdnsEngine__Resolver_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_QMdnsEngine__Resolver_t qt_meta_stringdata_QMdnsEngine__Resolver = { - { -QT_MOC_LITERAL(0, 0, 21), // "QMdnsEngine::Resolver" -QT_MOC_LITERAL(1, 22, 8), // "resolved" -QT_MOC_LITERAL(2, 31, 0), // "" -QT_MOC_LITERAL(3, 32, 12), // "QHostAddress" -QT_MOC_LITERAL(4, 45, 7) // "address" - - }, - "QMdnsEngine::Resolver\0resolved\0\0" - "QHostAddress\0address" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_QMdnsEngine__Resolver[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 1, 19, 2, 0x06 /* Public */, - - // signals: parameters - QMetaType::Void, 0x80000000 | 3, 4, - - 0 // eod -}; - -void QMdnsEngine::Resolver::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->resolved((*reinterpret_cast< const QHostAddress(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (Resolver::*)(const QHostAddress & ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Resolver::resolved)) { - *result = 0; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject QMdnsEngine::Resolver::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_QMdnsEngine__Resolver.data, - qt_meta_data_QMdnsEngine__Resolver, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *QMdnsEngine::Resolver::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *QMdnsEngine::Resolver::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_QMdnsEngine__Resolver.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int QMdnsEngine::Resolver::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 1) - *reinterpret_cast(_a[0]) = -1; - _id -= 1; - } - return _id; -} - -// SIGNAL 0 -void QMdnsEngine::Resolver::resolved(const QHostAddress & _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_resolver_p.cpp b/src/moc_resolver_p.cpp deleted file mode 100644 index 81030797f..000000000 --- a/src/moc_resolver_p.cpp +++ /dev/null @@ -1,126 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'resolver_p.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "qmdnsengine/src/src/resolver_p.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'resolver_p.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_QMdnsEngine__ResolverPrivate_t { - QByteArrayData data[6]; - char stringdata0[74]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_QMdnsEngine__ResolverPrivate_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_QMdnsEngine__ResolverPrivate_t qt_meta_stringdata_QMdnsEngine__ResolverPrivate = { - { -QT_MOC_LITERAL(0, 0, 28), // "QMdnsEngine::ResolverPrivate" -QT_MOC_LITERAL(1, 29, 17), // "onMessageReceived" -QT_MOC_LITERAL(2, 47, 0), // "" -QT_MOC_LITERAL(3, 48, 7), // "Message" -QT_MOC_LITERAL(4, 56, 7), // "message" -QT_MOC_LITERAL(5, 64, 9) // "onTimeout" - - }, - "QMdnsEngine::ResolverPrivate\0" - "onMessageReceived\0\0Message\0message\0" - "onTimeout" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_QMdnsEngine__ResolverPrivate[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 1, 24, 2, 0x08 /* Private */, - 5, 0, 27, 2, 0x08 /* Private */, - - // slots: parameters - QMetaType::Void, 0x80000000 | 3, 4, - QMetaType::Void, - - 0 // eod -}; - -void QMdnsEngine::ResolverPrivate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->onMessageReceived((*reinterpret_cast< const Message(*)>(_a[1]))); break; - case 1: _t->onTimeout(); break; - default: ; - } - } -} - -QT_INIT_METAOBJECT const QMetaObject QMdnsEngine::ResolverPrivate::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_QMdnsEngine__ResolverPrivate.data, - qt_meta_data_QMdnsEngine__ResolverPrivate, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *QMdnsEngine::ResolverPrivate::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *QMdnsEngine::ResolverPrivate::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_QMdnsEngine__ResolverPrivate.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int QMdnsEngine::ResolverPrivate::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 2) - *reinterpret_cast(_a[0]) = -1; - _id -= 2; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_rower.cpp b/src/moc_rower.cpp deleted file mode 100644 index 9b90b19d4..000000000 --- a/src/moc_rower.cpp +++ /dev/null @@ -1,219 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'rower.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "rower.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'rower.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_rower_t { - QByteArrayData data[24]; - char stringdata0[258]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_rower_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_rower_t qt_meta_stringdata_rower = { - { -QT_MOC_LITERAL(0, 0, 5), // "rower" -QT_MOC_LITERAL(1, 6, 11), // "bikeStarted" -QT_MOC_LITERAL(2, 18, 0), // "" -QT_MOC_LITERAL(3, 19, 17), // "resistanceChanged" -QT_MOC_LITERAL(4, 37, 12), // "resistance_t" -QT_MOC_LITERAL(5, 50, 10), // "resistance" -QT_MOC_LITERAL(6, 61, 14), // "resistanceRead" -QT_MOC_LITERAL(7, 76, 16), // "changeResistance" -QT_MOC_LITERAL(8, 93, 3), // "res" -QT_MOC_LITERAL(9, 97, 13), // "changeCadence" -QT_MOC_LITERAL(10, 111, 7), // "int16_t" -QT_MOC_LITERAL(11, 119, 3), // "cad" -QT_MOC_LITERAL(12, 123, 11), // "changePower" -QT_MOC_LITERAL(13, 135, 7), // "int32_t" -QT_MOC_LITERAL(14, 143, 5), // "power" -QT_MOC_LITERAL(15, 149, 32), // "changeRequestedPelotonResistance" -QT_MOC_LITERAL(16, 182, 6), // "int8_t" -QT_MOC_LITERAL(17, 189, 13), // "cadenceSensor" -QT_MOC_LITERAL(18, 203, 7), // "uint8_t" -QT_MOC_LITERAL(19, 211, 7), // "cadence" -QT_MOC_LITERAL(20, 219, 11), // "powerSensor" -QT_MOC_LITERAL(21, 231, 8), // "uint16_t" -QT_MOC_LITERAL(22, 240, 11), // "changeSpeed" -QT_MOC_LITERAL(23, 252, 5) // "speed" - - }, - "rower\0bikeStarted\0\0resistanceChanged\0" - "resistance_t\0resistance\0resistanceRead\0" - "changeResistance\0res\0changeCadence\0" - "int16_t\0cad\0changePower\0int32_t\0power\0" - "changeRequestedPelotonResistance\0" - "int8_t\0cadenceSensor\0uint8_t\0cadence\0" - "powerSensor\0uint16_t\0changeSpeed\0speed" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_rower[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 10, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 3, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 64, 2, 0x06 /* Public */, - 3, 1, 65, 2, 0x06 /* Public */, - 6, 1, 68, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 7, 1, 71, 2, 0x0a /* Public */, - 9, 1, 74, 2, 0x0a /* Public */, - 12, 1, 77, 2, 0x0a /* Public */, - 15, 1, 80, 2, 0x0a /* Public */, - 17, 1, 83, 2, 0x0a /* Public */, - 20, 1, 86, 2, 0x0a /* Public */, - 22, 1, 89, 2, 0x0a /* Public */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, 0x80000000 | 4, 5, - QMetaType::Void, 0x80000000 | 4, 5, - - // slots: parameters - QMetaType::Void, 0x80000000 | 4, 8, - QMetaType::Void, 0x80000000 | 10, 11, - QMetaType::Void, 0x80000000 | 13, 14, - QMetaType::Void, 0x80000000 | 16, 5, - QMetaType::Void, 0x80000000 | 18, 19, - QMetaType::Void, 0x80000000 | 21, 14, - QMetaType::Void, QMetaType::Double, 23, - - 0 // eod -}; - -void rower::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->bikeStarted(); break; - case 1: _t->resistanceChanged((*reinterpret_cast< resistance_t(*)>(_a[1]))); break; - case 2: _t->resistanceRead((*reinterpret_cast< resistance_t(*)>(_a[1]))); break; - case 3: _t->changeResistance((*reinterpret_cast< resistance_t(*)>(_a[1]))); break; - case 4: _t->changeCadence((*reinterpret_cast< int16_t(*)>(_a[1]))); break; - case 5: _t->changePower((*reinterpret_cast< int32_t(*)>(_a[1]))); break; - case 6: _t->changeRequestedPelotonResistance((*reinterpret_cast< int8_t(*)>(_a[1]))); break; - case 7: _t->cadenceSensor((*reinterpret_cast< uint8_t(*)>(_a[1]))); break; - case 8: _t->powerSensor((*reinterpret_cast< uint16_t(*)>(_a[1]))); break; - case 9: _t->changeSpeed((*reinterpret_cast< double(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (rower::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&rower::bikeStarted)) { - *result = 0; - return; - } - } - { - using _t = void (rower::*)(resistance_t ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&rower::resistanceChanged)) { - *result = 1; - return; - } - } - { - using _t = void (rower::*)(resistance_t ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&rower::resistanceRead)) { - *result = 2; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject rower::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_rower.data, - qt_meta_data_rower, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *rower::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *rower::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_rower.stringdata0)) - return static_cast(this); - return bluetoothdevice::qt_metacast(_clname); -} - -int rower::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bluetoothdevice::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 10) - qt_static_metacall(this, _c, _id, _a); - _id -= 10; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 10) - *reinterpret_cast(_a[0]) = -1; - _id -= 10; - } - return _id; -} - -// SIGNAL 0 -void rower::bikeStarted() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void rower::resistanceChanged(resistance_t _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void rower::resistanceRead(resistance_t _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_schwinn170bike.cpp b/src/moc_schwinn170bike.cpp deleted file mode 100644 index 79093d3f2..000000000 --- a/src/moc_schwinn170bike.cpp +++ /dev/null @@ -1,325 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'schwinn170bike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "schwinn170bike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'schwinn170bike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_schwinn170bike_t { - QByteArrayData data[36]; - char stringdata0[565]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_schwinn170bike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_schwinn170bike_t qt_meta_stringdata_schwinn170bike = { - { -QT_MOC_LITERAL(0, 0, 14), // "schwinn170bike" -QT_MOC_LITERAL(1, 15, 12), // "disconnected" -QT_MOC_LITERAL(2, 28, 0), // "" -QT_MOC_LITERAL(3, 29, 5), // "debug" -QT_MOC_LITERAL(4, 35, 6), // "string" -QT_MOC_LITERAL(5, 42, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 59, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 80, 6), // "device" -QT_MOC_LITERAL(8, 87, 27), // "resistanceFromFTMSAccessory" -QT_MOC_LITERAL(9, 115, 12), // "resistance_t" -QT_MOC_LITERAL(10, 128, 3), // "res" -QT_MOC_LITERAL(11, 132, 21), // "characteristicChanged" -QT_MOC_LITERAL(12, 154, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(13, 179, 14), // "characteristic" -QT_MOC_LITERAL(14, 194, 8), // "newValue" -QT_MOC_LITERAL(15, 203, 21), // "characteristicWritten" -QT_MOC_LITERAL(16, 225, 17), // "descriptorWritten" -QT_MOC_LITERAL(17, 243, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(18, 264, 10), // "descriptor" -QT_MOC_LITERAL(19, 275, 18), // "characteristicRead" -QT_MOC_LITERAL(20, 294, 14), // "descriptorRead" -QT_MOC_LITERAL(21, 309, 12), // "stateChanged" -QT_MOC_LITERAL(22, 322, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(23, 354, 5), // "state" -QT_MOC_LITERAL(24, 360, 22), // "controllerStateChanged" -QT_MOC_LITERAL(25, 383, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(26, 421, 17), // "serviceDiscovered" -QT_MOC_LITERAL(27, 439, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(28, 454, 4), // "gatt" -QT_MOC_LITERAL(29, 459, 15), // "serviceScanDone" -QT_MOC_LITERAL(30, 475, 6), // "update" -QT_MOC_LITERAL(31, 482, 5), // "error" -QT_MOC_LITERAL(32, 488, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(33, 516, 3), // "err" -QT_MOC_LITERAL(34, 520, 12), // "errorService" -QT_MOC_LITERAL(35, 533, 31) // "QLowEnergyService::ServiceError" - - }, - "schwinn170bike\0disconnected\0\0debug\0" - "string\0deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0resistanceFromFTMSAccessory\0" - "resistance_t\0res\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0characteristicRead\0" - "descriptorRead\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_schwinn170bike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 16, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 94, 2, 0x06 /* Public */, - 3, 1, 95, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 98, 2, 0x0a /* Public */, - 8, 1, 101, 2, 0x0a /* Public */, - 11, 2, 104, 2, 0x08 /* Private */, - 15, 2, 109, 2, 0x08 /* Private */, - 16, 2, 114, 2, 0x08 /* Private */, - 19, 2, 119, 2, 0x08 /* Private */, - 20, 2, 124, 2, 0x08 /* Private */, - 21, 1, 129, 2, 0x08 /* Private */, - 24, 1, 132, 2, 0x08 /* Private */, - 26, 1, 135, 2, 0x08 /* Private */, - 29, 0, 138, 2, 0x08 /* Private */, - 30, 0, 139, 2, 0x08 /* Private */, - 31, 1, 140, 2, 0x08 /* Private */, - 34, 1, 143, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, 10, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 22, 23, - QMetaType::Void, 0x80000000 | 25, 23, - QMetaType::Void, 0x80000000 | 27, 28, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 32, 33, - QMetaType::Void, 0x80000000 | 35, 2, - - 0 // eod -}; - -void schwinn170bike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->resistanceFromFTMSAccessory((*reinterpret_cast< resistance_t(*)>(_a[1]))); break; - case 4: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->characteristicRead((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->descriptorRead((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 9: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 10: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 11: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 12: _t->serviceScanDone(); break; - case 13: _t->update(); break; - case 14: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 15: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 15: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (schwinn170bike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&schwinn170bike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (schwinn170bike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&schwinn170bike::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject schwinn170bike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_schwinn170bike.data, - qt_meta_data_schwinn170bike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *schwinn170bike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *schwinn170bike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_schwinn170bike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int schwinn170bike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } - return _id; -} - -// SIGNAL 0 -void schwinn170bike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void schwinn170bike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_schwinnic4bike.cpp b/src/moc_schwinnic4bike.cpp deleted file mode 100644 index 5989be53a..000000000 --- a/src/moc_schwinnic4bike.cpp +++ /dev/null @@ -1,325 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'schwinnic4bike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "schwinnic4bike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'schwinnic4bike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_schwinnic4bike_t { - QByteArrayData data[36]; - char stringdata0[565]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_schwinnic4bike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_schwinnic4bike_t qt_meta_stringdata_schwinnic4bike = { - { -QT_MOC_LITERAL(0, 0, 14), // "schwinnic4bike" -QT_MOC_LITERAL(1, 15, 12), // "disconnected" -QT_MOC_LITERAL(2, 28, 0), // "" -QT_MOC_LITERAL(3, 29, 5), // "debug" -QT_MOC_LITERAL(4, 35, 6), // "string" -QT_MOC_LITERAL(5, 42, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 59, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 80, 6), // "device" -QT_MOC_LITERAL(8, 87, 27), // "resistanceFromFTMSAccessory" -QT_MOC_LITERAL(9, 115, 12), // "resistance_t" -QT_MOC_LITERAL(10, 128, 3), // "res" -QT_MOC_LITERAL(11, 132, 21), // "characteristicChanged" -QT_MOC_LITERAL(12, 154, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(13, 179, 14), // "characteristic" -QT_MOC_LITERAL(14, 194, 8), // "newValue" -QT_MOC_LITERAL(15, 203, 21), // "characteristicWritten" -QT_MOC_LITERAL(16, 225, 17), // "descriptorWritten" -QT_MOC_LITERAL(17, 243, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(18, 264, 10), // "descriptor" -QT_MOC_LITERAL(19, 275, 18), // "characteristicRead" -QT_MOC_LITERAL(20, 294, 14), // "descriptorRead" -QT_MOC_LITERAL(21, 309, 12), // "stateChanged" -QT_MOC_LITERAL(22, 322, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(23, 354, 5), // "state" -QT_MOC_LITERAL(24, 360, 22), // "controllerStateChanged" -QT_MOC_LITERAL(25, 383, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(26, 421, 17), // "serviceDiscovered" -QT_MOC_LITERAL(27, 439, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(28, 454, 4), // "gatt" -QT_MOC_LITERAL(29, 459, 15), // "serviceScanDone" -QT_MOC_LITERAL(30, 475, 6), // "update" -QT_MOC_LITERAL(31, 482, 5), // "error" -QT_MOC_LITERAL(32, 488, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(33, 516, 3), // "err" -QT_MOC_LITERAL(34, 520, 12), // "errorService" -QT_MOC_LITERAL(35, 533, 31) // "QLowEnergyService::ServiceError" - - }, - "schwinnic4bike\0disconnected\0\0debug\0" - "string\0deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0resistanceFromFTMSAccessory\0" - "resistance_t\0res\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0characteristicRead\0" - "descriptorRead\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_schwinnic4bike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 16, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 94, 2, 0x06 /* Public */, - 3, 1, 95, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 98, 2, 0x0a /* Public */, - 8, 1, 101, 2, 0x0a /* Public */, - 11, 2, 104, 2, 0x08 /* Private */, - 15, 2, 109, 2, 0x08 /* Private */, - 16, 2, 114, 2, 0x08 /* Private */, - 19, 2, 119, 2, 0x08 /* Private */, - 20, 2, 124, 2, 0x08 /* Private */, - 21, 1, 129, 2, 0x08 /* Private */, - 24, 1, 132, 2, 0x08 /* Private */, - 26, 1, 135, 2, 0x08 /* Private */, - 29, 0, 138, 2, 0x08 /* Private */, - 30, 0, 139, 2, 0x08 /* Private */, - 31, 1, 140, 2, 0x08 /* Private */, - 34, 1, 143, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, 10, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 22, 23, - QMetaType::Void, 0x80000000 | 25, 23, - QMetaType::Void, 0x80000000 | 27, 28, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 32, 33, - QMetaType::Void, 0x80000000 | 35, 2, - - 0 // eod -}; - -void schwinnic4bike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->resistanceFromFTMSAccessory((*reinterpret_cast< resistance_t(*)>(_a[1]))); break; - case 4: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->characteristicRead((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->descriptorRead((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 9: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 10: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 11: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 12: _t->serviceScanDone(); break; - case 13: _t->update(); break; - case 14: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 15: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 15: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (schwinnic4bike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&schwinnic4bike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (schwinnic4bike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&schwinnic4bike::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject schwinnic4bike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_schwinnic4bike.data, - qt_meta_data_schwinnic4bike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *schwinnic4bike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *schwinnic4bike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_schwinnic4bike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int schwinnic4bike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } - return _id; -} - -// SIGNAL 0 -void schwinnic4bike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void schwinnic4bike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_screencapture.cpp b/src/moc_screencapture.cpp deleted file mode 100644 index 792c9a3c6..000000000 --- a/src/moc_screencapture.cpp +++ /dev/null @@ -1,119 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'screencapture.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "screencapture.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'screencapture.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_screenCapture_t { - QByteArrayData data[4]; - char stringdata0[28]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_screenCapture_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_screenCapture_t qt_meta_stringdata_screenCapture = { - { -QT_MOC_LITERAL(0, 0, 13), // "screenCapture" -QT_MOC_LITERAL(1, 14, 7), // "capture" -QT_MOC_LITERAL(2, 22, 0), // "" -QT_MOC_LITERAL(3, 23, 4) // "path" - - }, - "screenCapture\0capture\0\0path" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_screenCapture[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 1, 19, 2, 0x0a /* Public */, - - // slots: parameters - QMetaType::Void, QMetaType::QString, 3, - - 0 // eod -}; - -void screenCapture::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->capture((*reinterpret_cast< const QString(*)>(_a[1]))); break; - default: ; - } - } -} - -QT_INIT_METAOBJECT const QMetaObject screenCapture::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_screenCapture.data, - qt_meta_data_screenCapture, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *screenCapture::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *screenCapture::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_screenCapture.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int screenCapture::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 1) - *reinterpret_cast(_a[0]) = -1; - _id -= 1; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_server.cpp b/src/moc_server.cpp deleted file mode 100644 index 3a141e3bd..000000000 --- a/src/moc_server.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'server.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "qmdnsengine/src/include/qmdnsengine/server.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'server.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_QMdnsEngine__Server_t { - QByteArrayData data[1]; - char stringdata0[20]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_QMdnsEngine__Server_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_QMdnsEngine__Server_t qt_meta_stringdata_QMdnsEngine__Server = { - { -QT_MOC_LITERAL(0, 0, 19) // "QMdnsEngine::Server" - - }, - "QMdnsEngine::Server" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_QMdnsEngine__Server[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void QMdnsEngine::Server::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject QMdnsEngine::Server::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_QMdnsEngine__Server.data, - qt_meta_data_QMdnsEngine__Server, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *QMdnsEngine::Server::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *QMdnsEngine::Server::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_QMdnsEngine__Server.stringdata0)) - return static_cast(this); - return AbstractServer::qt_metacast(_clname); -} - -int QMdnsEngine::Server::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = AbstractServer::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_server_p.cpp b/src/moc_server_p.cpp deleted file mode 100644 index 8c39650c6..000000000 --- a/src/moc_server_p.cpp +++ /dev/null @@ -1,124 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'server_p.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "qmdnsengine/src/src/server_p.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'server_p.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_QMdnsEngine__ServerPrivate_t { - QByteArrayData data[4]; - char stringdata0[50]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_QMdnsEngine__ServerPrivate_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_QMdnsEngine__ServerPrivate_t qt_meta_stringdata_QMdnsEngine__ServerPrivate = { - { -QT_MOC_LITERAL(0, 0, 26), // "QMdnsEngine::ServerPrivate" -QT_MOC_LITERAL(1, 27, 9), // "onTimeout" -QT_MOC_LITERAL(2, 37, 0), // "" -QT_MOC_LITERAL(3, 38, 11) // "onReadyRead" - - }, - "QMdnsEngine::ServerPrivate\0onTimeout\0" - "\0onReadyRead" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_QMdnsEngine__ServerPrivate[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 0, 24, 2, 0x08 /* Private */, - 3, 0, 25, 2, 0x08 /* Private */, - - // slots: parameters - QMetaType::Void, - QMetaType::Void, - - 0 // eod -}; - -void QMdnsEngine::ServerPrivate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->onTimeout(); break; - case 1: _t->onReadyRead(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject QMdnsEngine::ServerPrivate::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_QMdnsEngine__ServerPrivate.data, - qt_meta_data_QMdnsEngine__ServerPrivate, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *QMdnsEngine::ServerPrivate::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *QMdnsEngine::ServerPrivate::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_QMdnsEngine__ServerPrivate.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int QMdnsEngine::ServerPrivate::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 2) - *reinterpret_cast(_a[0]) = -1; - _id -= 2; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_shuaa5treadmill.cpp b/src/moc_shuaa5treadmill.cpp deleted file mode 100644 index b12ebf08c..000000000 --- a/src/moc_shuaa5treadmill.cpp +++ /dev/null @@ -1,362 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'shuaa5treadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "shuaa5treadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'shuaa5treadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_shuaa5treadmill_t { - QByteArrayData data[39]; - char stringdata0[599]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_shuaa5treadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_shuaa5treadmill_t qt_meta_stringdata_shuaa5treadmill = { - { -QT_MOC_LITERAL(0, 0, 15), // "shuaa5treadmill" -QT_MOC_LITERAL(1, 16, 12), // "disconnected" -QT_MOC_LITERAL(2, 29, 0), // "" -QT_MOC_LITERAL(3, 30, 5), // "debug" -QT_MOC_LITERAL(4, 36, 6), // "string" -QT_MOC_LITERAL(5, 43, 14), // "packetReceived" -QT_MOC_LITERAL(6, 58, 12), // "speedChanged" -QT_MOC_LITERAL(7, 71, 5), // "speed" -QT_MOC_LITERAL(8, 77, 16), // "deviceDiscovered" -QT_MOC_LITERAL(9, 94, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(10, 115, 6), // "device" -QT_MOC_LITERAL(11, 122, 21), // "characteristicChanged" -QT_MOC_LITERAL(12, 144, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(13, 169, 14), // "characteristic" -QT_MOC_LITERAL(14, 184, 8), // "newValue" -QT_MOC_LITERAL(15, 193, 21), // "characteristicWritten" -QT_MOC_LITERAL(16, 215, 17), // "descriptorWritten" -QT_MOC_LITERAL(17, 233, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(18, 254, 10), // "descriptor" -QT_MOC_LITERAL(19, 265, 18), // "characteristicRead" -QT_MOC_LITERAL(20, 284, 14), // "descriptorRead" -QT_MOC_LITERAL(21, 299, 12), // "stateChanged" -QT_MOC_LITERAL(22, 312, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(23, 344, 5), // "state" -QT_MOC_LITERAL(24, 350, 22), // "controllerStateChanged" -QT_MOC_LITERAL(25, 373, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(26, 411, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(27, 438, 5), // "grade" -QT_MOC_LITERAL(28, 444, 10), // "percentage" -QT_MOC_LITERAL(29, 455, 17), // "serviceDiscovered" -QT_MOC_LITERAL(30, 473, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(31, 488, 4), // "gatt" -QT_MOC_LITERAL(32, 493, 15), // "serviceScanDone" -QT_MOC_LITERAL(33, 509, 6), // "update" -QT_MOC_LITERAL(34, 516, 5), // "error" -QT_MOC_LITERAL(35, 522, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(36, 550, 3), // "err" -QT_MOC_LITERAL(37, 554, 12), // "errorService" -QT_MOC_LITERAL(38, 567, 31) // "QLowEnergyService::ServiceError" - - }, - "shuaa5treadmill\0disconnected\0\0debug\0" - "string\0packetReceived\0speedChanged\0" - "speed\0deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0characteristicRead\0" - "descriptorRead\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "changeInclinationRequested\0grade\0" - "percentage\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0serviceScanDone\0" - "update\0error\0QLowEnergyController::Error\0" - "err\0errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_shuaa5treadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 18, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 4, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 104, 2, 0x06 /* Public */, - 3, 1, 105, 2, 0x06 /* Public */, - 5, 0, 108, 2, 0x06 /* Public */, - 6, 1, 109, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 8, 1, 112, 2, 0x0a /* Public */, - 11, 2, 115, 2, 0x08 /* Private */, - 15, 2, 120, 2, 0x08 /* Private */, - 16, 2, 125, 2, 0x08 /* Private */, - 19, 2, 130, 2, 0x08 /* Private */, - 20, 2, 135, 2, 0x08 /* Private */, - 21, 1, 140, 2, 0x08 /* Private */, - 24, 1, 143, 2, 0x08 /* Private */, - 26, 2, 146, 2, 0x08 /* Private */, - 29, 1, 151, 2, 0x08 /* Private */, - 32, 0, 154, 2, 0x08 /* Private */, - 33, 0, 155, 2, 0x08 /* Private */, - 34, 1, 156, 2, 0x08 /* Private */, - 37, 1, 159, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, - QMetaType::Void, QMetaType::Double, 7, - - // slots: parameters - QMetaType::Void, 0x80000000 | 9, 10, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 22, 23, - QMetaType::Void, 0x80000000 | 25, 23, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 27, 28, - QMetaType::Void, 0x80000000 | 30, 31, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 35, 36, - QMetaType::Void, 0x80000000 | 38, 2, - - 0 // eod -}; - -void shuaa5treadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->packetReceived(); break; - case 3: _t->speedChanged((*reinterpret_cast< double(*)>(_a[1]))); break; - case 4: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 5: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->characteristicRead((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 9: _t->descriptorRead((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 10: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 11: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 12: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 13: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 14: _t->serviceScanDone(); break; - case 15: _t->update(); break; - case 16: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 17: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 16: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 17: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (shuaa5treadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&shuaa5treadmill::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (shuaa5treadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&shuaa5treadmill::debug)) { - *result = 1; - return; - } - } - { - using _t = void (shuaa5treadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&shuaa5treadmill::packetReceived)) { - *result = 2; - return; - } - } - { - using _t = void (shuaa5treadmill::*)(double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&shuaa5treadmill::speedChanged)) { - *result = 3; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject shuaa5treadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_shuaa5treadmill.data, - qt_meta_data_shuaa5treadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *shuaa5treadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *shuaa5treadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_shuaa5treadmill.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int shuaa5treadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 18) - qt_static_metacall(this, _c, _id, _a); - _id -= 18; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 18) - qt_static_metacall(this, _c, _id, _a); - _id -= 18; - } - return _id; -} - -// SIGNAL 0 -void shuaa5treadmill::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void shuaa5treadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void shuaa5treadmill::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 2, nullptr); -} - -// SIGNAL 3 -void shuaa5treadmill::speedChanged(double _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 3, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_skandikawiribike.cpp b/src/moc_skandikawiribike.cpp deleted file mode 100644 index 749858bee..000000000 --- a/src/moc_skandikawiribike.cpp +++ /dev/null @@ -1,295 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'skandikawiribike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "skandikawiribike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'skandikawiribike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_skandikawiribike_t { - QByteArrayData data[31]; - char stringdata0[488]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_skandikawiribike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_skandikawiribike_t qt_meta_stringdata_skandikawiribike = { - { -QT_MOC_LITERAL(0, 0, 16), // "skandikawiribike" -QT_MOC_LITERAL(1, 17, 12), // "disconnected" -QT_MOC_LITERAL(2, 30, 0), // "" -QT_MOC_LITERAL(3, 31, 5), // "debug" -QT_MOC_LITERAL(4, 37, 6), // "string" -QT_MOC_LITERAL(5, 44, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 61, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 82, 6), // "device" -QT_MOC_LITERAL(8, 89, 21), // "characteristicChanged" -QT_MOC_LITERAL(9, 111, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(10, 136, 14), // "characteristic" -QT_MOC_LITERAL(11, 151, 8), // "newValue" -QT_MOC_LITERAL(12, 160, 21), // "characteristicWritten" -QT_MOC_LITERAL(13, 182, 17), // "descriptorWritten" -QT_MOC_LITERAL(14, 200, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(15, 221, 10), // "descriptor" -QT_MOC_LITERAL(16, 232, 12), // "stateChanged" -QT_MOC_LITERAL(17, 245, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(18, 277, 5), // "state" -QT_MOC_LITERAL(19, 283, 22), // "controllerStateChanged" -QT_MOC_LITERAL(20, 306, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(21, 344, 17), // "serviceDiscovered" -QT_MOC_LITERAL(22, 362, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(23, 377, 4), // "gatt" -QT_MOC_LITERAL(24, 382, 15), // "serviceScanDone" -QT_MOC_LITERAL(25, 398, 6), // "update" -QT_MOC_LITERAL(26, 405, 5), // "error" -QT_MOC_LITERAL(27, 411, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(28, 439, 3), // "err" -QT_MOC_LITERAL(29, 443, 12), // "errorService" -QT_MOC_LITERAL(30, 456, 31) // "QLowEnergyService::ServiceError" - - }, - "skandikawiribike\0disconnected\0\0debug\0" - "string\0deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_skandikawiribike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 13, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 79, 2, 0x06 /* Public */, - 3, 1, 80, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 83, 2, 0x0a /* Public */, - 8, 2, 86, 2, 0x08 /* Private */, - 12, 2, 91, 2, 0x08 /* Private */, - 13, 2, 96, 2, 0x08 /* Private */, - 16, 1, 101, 2, 0x08 /* Private */, - 19, 1, 104, 2, 0x08 /* Private */, - 21, 1, 107, 2, 0x08 /* Private */, - 24, 0, 110, 2, 0x08 /* Private */, - 25, 0, 111, 2, 0x08 /* Private */, - 26, 1, 112, 2, 0x08 /* Private */, - 29, 1, 115, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 17, 18, - QMetaType::Void, 0x80000000 | 20, 18, - QMetaType::Void, 0x80000000 | 22, 23, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 27, 28, - QMetaType::Void, 0x80000000 | 30, 2, - - 0 // eod -}; - -void skandikawiribike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 7: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 8: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 9: _t->serviceScanDone(); break; - case 10: _t->update(); break; - case 11: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 12: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 12: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (skandikawiribike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&skandikawiribike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (skandikawiribike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&skandikawiribike::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject skandikawiribike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_skandikawiribike.data, - qt_meta_data_skandikawiribike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *skandikawiribike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *skandikawiribike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_skandikawiribike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int skandikawiribike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 13) - qt_static_metacall(this, _c, _id, _a); - _id -= 13; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 13) - qt_static_metacall(this, _c, _id, _a); - _id -= 13; - } - return _id; -} - -// SIGNAL 0 -void skandikawiribike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void skandikawiribike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_smartrowrower.cpp b/src/moc_smartrowrower.cpp deleted file mode 100644 index a2cb9f2af..000000000 --- a/src/moc_smartrowrower.cpp +++ /dev/null @@ -1,276 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'smartrowrower.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "smartrowrower.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'smartrowrower.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_smartrowrower_t { - QByteArrayData data[29]; - char stringdata0[472]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_smartrowrower_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_smartrowrower_t qt_meta_stringdata_smartrowrower = { - { -QT_MOC_LITERAL(0, 0, 13), // "smartrowrower" -QT_MOC_LITERAL(1, 14, 12), // "disconnected" -QT_MOC_LITERAL(2, 27, 0), // "" -QT_MOC_LITERAL(3, 28, 16), // "deviceDiscovered" -QT_MOC_LITERAL(4, 45, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(5, 66, 6), // "device" -QT_MOC_LITERAL(6, 73, 21), // "characteristicChanged" -QT_MOC_LITERAL(7, 95, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(8, 120, 14), // "characteristic" -QT_MOC_LITERAL(9, 135, 8), // "newValue" -QT_MOC_LITERAL(10, 144, 21), // "characteristicWritten" -QT_MOC_LITERAL(11, 166, 17), // "descriptorWritten" -QT_MOC_LITERAL(12, 184, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(13, 205, 10), // "descriptor" -QT_MOC_LITERAL(14, 216, 12), // "stateChanged" -QT_MOC_LITERAL(15, 229, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(16, 261, 5), // "state" -QT_MOC_LITERAL(17, 267, 22), // "controllerStateChanged" -QT_MOC_LITERAL(18, 290, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(19, 328, 17), // "serviceDiscovered" -QT_MOC_LITERAL(20, 346, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(21, 361, 4), // "gatt" -QT_MOC_LITERAL(22, 366, 15), // "serviceScanDone" -QT_MOC_LITERAL(23, 382, 6), // "update" -QT_MOC_LITERAL(24, 389, 5), // "error" -QT_MOC_LITERAL(25, 395, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(26, 423, 3), // "err" -QT_MOC_LITERAL(27, 427, 12), // "errorService" -QT_MOC_LITERAL(28, 440, 31) // "QLowEnergyService::ServiceError" - - }, - "smartrowrower\0disconnected\0\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_smartrowrower[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 12, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 74, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 3, 1, 75, 2, 0x0a /* Public */, - 6, 2, 78, 2, 0x08 /* Private */, - 10, 2, 83, 2, 0x08 /* Private */, - 11, 2, 88, 2, 0x08 /* Private */, - 14, 1, 93, 2, 0x08 /* Private */, - 17, 1, 96, 2, 0x08 /* Private */, - 19, 1, 99, 2, 0x08 /* Private */, - 22, 0, 102, 2, 0x08 /* Private */, - 23, 0, 103, 2, 0x08 /* Private */, - 24, 1, 104, 2, 0x08 /* Private */, - 27, 1, 107, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 4, 5, - QMetaType::Void, 0x80000000 | 7, QMetaType::QByteArray, 8, 9, - QMetaType::Void, 0x80000000 | 7, QMetaType::QByteArray, 8, 9, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 9, - QMetaType::Void, 0x80000000 | 15, 16, - QMetaType::Void, 0x80000000 | 18, 16, - QMetaType::Void, 0x80000000 | 20, 21, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, 0x80000000 | 28, 2, - - 0 // eod -}; - -void smartrowrower::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 2: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 3: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 6: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 7: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 8: _t->serviceScanDone(); break; - case 9: _t->update(); break; - case 10: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 11: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 1: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (smartrowrower::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&smartrowrower::disconnected)) { - *result = 0; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject smartrowrower::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_smartrowrower.data, - qt_meta_data_smartrowrower, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *smartrowrower::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *smartrowrower::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_smartrowrower.stringdata0)) - return static_cast(this); - return rower::qt_metacast(_clname); -} - -int smartrowrower::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = rower::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } - return _id; -} - -// SIGNAL 0 -void smartrowrower::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_smartspin2k.cpp b/src/moc_smartspin2k.cpp deleted file mode 100644 index 83e758a09..000000000 --- a/src/moc_smartspin2k.cpp +++ /dev/null @@ -1,385 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'smartspin2k.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "smartspin2k.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'smartspin2k.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_smartspin2k_t { - QByteArrayData data[43]; - char stringdata0[668]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_smartspin2k_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_smartspin2k_t qt_meta_stringdata_smartspin2k = { - { -QT_MOC_LITERAL(0, 0, 11), // "smartspin2k" -QT_MOC_LITERAL(1, 12, 12), // "disconnected" -QT_MOC_LITERAL(2, 25, 0), // "" -QT_MOC_LITERAL(3, 26, 5), // "debug" -QT_MOC_LITERAL(4, 32, 6), // "string" -QT_MOC_LITERAL(5, 39, 6), // "gearUp" -QT_MOC_LITERAL(6, 46, 8), // "gearDown" -QT_MOC_LITERAL(7, 55, 16), // "deviceDiscovered" -QT_MOC_LITERAL(8, 72, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(9, 93, 6), // "device" -QT_MOC_LITERAL(10, 100, 25), // "resistanceReadFromTheBike" -QT_MOC_LITERAL(11, 126, 12), // "resistance_t" -QT_MOC_LITERAL(12, 139, 10), // "resistance" -QT_MOC_LITERAL(13, 150, 21), // "autoResistanceChanged" -QT_MOC_LITERAL(14, 172, 5), // "value" -QT_MOC_LITERAL(15, 178, 18), // "calibrateShiftStep" -QT_MOC_LITERAL(16, 197, 21), // "characteristicChanged" -QT_MOC_LITERAL(17, 219, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(18, 244, 14), // "characteristic" -QT_MOC_LITERAL(19, 259, 8), // "newValue" -QT_MOC_LITERAL(20, 268, 21), // "characteristicWritten" -QT_MOC_LITERAL(21, 290, 17), // "descriptorWritten" -QT_MOC_LITERAL(22, 308, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(23, 329, 10), // "descriptor" -QT_MOC_LITERAL(24, 340, 18), // "characteristicRead" -QT_MOC_LITERAL(25, 359, 14), // "descriptorRead" -QT_MOC_LITERAL(26, 374, 12), // "stateChanged" -QT_MOC_LITERAL(27, 387, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(28, 419, 5), // "state" -QT_MOC_LITERAL(29, 425, 16), // "stateChangedFTMS" -QT_MOC_LITERAL(30, 442, 22), // "controllerStateChanged" -QT_MOC_LITERAL(31, 465, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(32, 503, 20), // "readPendingDatagrams" -QT_MOC_LITERAL(33, 524, 17), // "serviceDiscovered" -QT_MOC_LITERAL(34, 542, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(35, 557, 4), // "gatt" -QT_MOC_LITERAL(36, 562, 15), // "serviceScanDone" -QT_MOC_LITERAL(37, 578, 6), // "update" -QT_MOC_LITERAL(38, 585, 5), // "error" -QT_MOC_LITERAL(39, 591, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(40, 619, 3), // "err" -QT_MOC_LITERAL(41, 623, 12), // "errorService" -QT_MOC_LITERAL(42, 636, 31) // "QLowEnergyService::ServiceError" - - }, - "smartspin2k\0disconnected\0\0debug\0string\0" - "gearUp\0gearDown\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0" - "resistanceReadFromTheBike\0resistance_t\0" - "resistance\0autoResistanceChanged\0value\0" - "calibrateShiftStep\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0characteristicRead\0" - "descriptorRead\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "stateChangedFTMS\0controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "readPendingDatagrams\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0serviceScanDone\0" - "update\0error\0QLowEnergyController::Error\0" - "err\0errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_smartspin2k[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 22, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 4, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 124, 2, 0x06 /* Public */, - 3, 1, 125, 2, 0x06 /* Public */, - 5, 0, 128, 2, 0x06 /* Public */, - 6, 0, 129, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 7, 1, 130, 2, 0x0a /* Public */, - 10, 1, 133, 2, 0x0a /* Public */, - 13, 1, 136, 2, 0x0a /* Public */, - 15, 0, 139, 2, 0x0a /* Public */, - 16, 2, 140, 2, 0x08 /* Private */, - 20, 2, 145, 2, 0x08 /* Private */, - 21, 2, 150, 2, 0x08 /* Private */, - 24, 2, 155, 2, 0x08 /* Private */, - 25, 2, 160, 2, 0x08 /* Private */, - 26, 1, 165, 2, 0x08 /* Private */, - 29, 1, 168, 2, 0x08 /* Private */, - 30, 1, 171, 2, 0x08 /* Private */, - 32, 0, 174, 2, 0x08 /* Private */, - 33, 1, 175, 2, 0x08 /* Private */, - 36, 0, 178, 2, 0x08 /* Private */, - 37, 0, 179, 2, 0x08 /* Private */, - 38, 1, 180, 2, 0x08 /* Private */, - 41, 1, 183, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 8, 9, - QMetaType::Void, 0x80000000 | 11, 12, - QMetaType::Void, QMetaType::Bool, 14, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 19, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 19, - QMetaType::Void, 0x80000000 | 22, QMetaType::QByteArray, 23, 19, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 19, - QMetaType::Void, 0x80000000 | 22, QMetaType::QByteArray, 23, 19, - QMetaType::Void, 0x80000000 | 27, 28, - QMetaType::Void, 0x80000000 | 27, 28, - QMetaType::Void, 0x80000000 | 31, 28, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 34, 35, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 39, 40, - QMetaType::Void, 0x80000000 | 42, 2, - - 0 // eod -}; - -void smartspin2k::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->gearUp(); break; - case 3: _t->gearDown(); break; - case 4: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 5: _t->resistanceReadFromTheBike((*reinterpret_cast< resistance_t(*)>(_a[1]))); break; - case 6: _t->autoResistanceChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 7: _t->calibrateShiftStep(); break; - case 8: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 9: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 10: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 11: _t->characteristicRead((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 12: _t->descriptorRead((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 13: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 14: _t->stateChangedFTMS((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 15: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 16: _t->readPendingDatagrams(); break; - case 17: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 18: _t->serviceScanDone(); break; - case 19: _t->update(); break; - case 20: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 21: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 12: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 15: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 17: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 20: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 21: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (smartspin2k::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&smartspin2k::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (smartspin2k::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&smartspin2k::debug)) { - *result = 1; - return; - } - } - { - using _t = void (smartspin2k::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&smartspin2k::gearUp)) { - *result = 2; - return; - } - } - { - using _t = void (smartspin2k::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&smartspin2k::gearDown)) { - *result = 3; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject smartspin2k::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_smartspin2k.data, - qt_meta_data_smartspin2k, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *smartspin2k::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *smartspin2k::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_smartspin2k.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int smartspin2k::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 22) - qt_static_metacall(this, _c, _id, _a); - _id -= 22; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 22) - qt_static_metacall(this, _c, _id, _a); - _id -= 22; - } - return _id; -} - -// SIGNAL 0 -void smartspin2k::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void smartspin2k::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void smartspin2k::gearUp() -{ - QMetaObject::activate(this, &staticMetaObject, 2, nullptr); -} - -// SIGNAL 3 -void smartspin2k::gearDown() -{ - QMetaObject::activate(this, &staticMetaObject, 3, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_smtpclient.cpp b/src/moc_smtpclient.cpp deleted file mode 100644 index ddc238d52..000000000 --- a/src/moc_smtpclient.cpp +++ /dev/null @@ -1,177 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'smtpclient.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "smtpclient/src/smtpclient.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'smtpclient.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_SmtpClient_t { - QByteArrayData data[12]; - char stringdata0[163]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_SmtpClient_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_SmtpClient_t qt_meta_stringdata_SmtpClient = { - { -QT_MOC_LITERAL(0, 0, 10), // "SmtpClient" -QT_MOC_LITERAL(1, 11, 9), // "smtpError" -QT_MOC_LITERAL(2, 21, 0), // "" -QT_MOC_LITERAL(3, 22, 21), // "SmtpClient::SmtpError" -QT_MOC_LITERAL(4, 44, 1), // "e" -QT_MOC_LITERAL(5, 46, 18), // "socketStateChanged" -QT_MOC_LITERAL(6, 65, 28), // "QAbstractSocket::SocketState" -QT_MOC_LITERAL(7, 94, 5), // "state" -QT_MOC_LITERAL(8, 100, 11), // "socketError" -QT_MOC_LITERAL(9, 112, 28), // "QAbstractSocket::SocketError" -QT_MOC_LITERAL(10, 141, 5), // "error" -QT_MOC_LITERAL(11, 147, 15) // "socketReadyRead" - - }, - "SmtpClient\0smtpError\0\0SmtpClient::SmtpError\0" - "e\0socketStateChanged\0QAbstractSocket::SocketState\0" - "state\0socketError\0QAbstractSocket::SocketError\0" - "error\0socketReadyRead" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_SmtpClient[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 4, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 1, 34, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 37, 2, 0x09 /* Protected */, - 8, 1, 40, 2, 0x09 /* Protected */, - 11, 0, 43, 2, 0x09 /* Protected */, - - // signals: parameters - QMetaType::Void, 0x80000000 | 3, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, 10, - QMetaType::Void, - - 0 // eod -}; - -void SmtpClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->smtpError((*reinterpret_cast< SmtpClient::SmtpError(*)>(_a[1]))); break; - case 1: _t->socketStateChanged((*reinterpret_cast< QAbstractSocket::SocketState(*)>(_a[1]))); break; - case 2: _t->socketError((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break; - case 3: _t->socketReadyRead(); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 1: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QAbstractSocket::SocketState >(); break; - } - break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QAbstractSocket::SocketError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (SmtpClient::*)(SmtpClient::SmtpError ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SmtpClient::smtpError)) { - *result = 0; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject SmtpClient::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_SmtpClient.data, - qt_meta_data_SmtpClient, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *SmtpClient::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *SmtpClient::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_SmtpClient.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int SmtpClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 4) - qt_static_metacall(this, _c, _id, _a); - _id -= 4; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 4) - qt_static_metacall(this, _c, _id, _a); - _id -= 4; - } - return _id; -} - -// SIGNAL 0 -void SmtpClient::smtpError(SmtpClient::SmtpError _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_snodebike.cpp b/src/moc_snodebike.cpp deleted file mode 100644 index 1ac973edd..000000000 --- a/src/moc_snodebike.cpp +++ /dev/null @@ -1,330 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'snodebike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "snodebike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'snodebike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_snodebike_t { - QByteArrayData data[34]; - char stringdata0[541]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_snodebike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_snodebike_t qt_meta_stringdata_snodebike = { - { -QT_MOC_LITERAL(0, 0, 9), // "snodebike" -QT_MOC_LITERAL(1, 10, 12), // "disconnected" -QT_MOC_LITERAL(2, 23, 0), // "" -QT_MOC_LITERAL(3, 24, 5), // "debug" -QT_MOC_LITERAL(4, 30, 6), // "string" -QT_MOC_LITERAL(5, 37, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 54, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 75, 6), // "device" -QT_MOC_LITERAL(8, 82, 21), // "characteristicChanged" -QT_MOC_LITERAL(9, 104, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(10, 129, 14), // "characteristic" -QT_MOC_LITERAL(11, 144, 8), // "newValue" -QT_MOC_LITERAL(12, 153, 21), // "characteristicWritten" -QT_MOC_LITERAL(13, 175, 17), // "descriptorWritten" -QT_MOC_LITERAL(14, 193, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(15, 214, 10), // "descriptor" -QT_MOC_LITERAL(16, 225, 18), // "characteristicRead" -QT_MOC_LITERAL(17, 244, 14), // "descriptorRead" -QT_MOC_LITERAL(18, 259, 12), // "stateChanged" -QT_MOC_LITERAL(19, 272, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(20, 304, 5), // "state" -QT_MOC_LITERAL(21, 310, 22), // "controllerStateChanged" -QT_MOC_LITERAL(22, 333, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(23, 371, 17), // "serviceDiscovered" -QT_MOC_LITERAL(24, 389, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(25, 404, 4), // "gatt" -QT_MOC_LITERAL(26, 409, 15), // "serviceScanDone" -QT_MOC_LITERAL(27, 425, 6), // "update" -QT_MOC_LITERAL(28, 432, 5), // "error" -QT_MOC_LITERAL(29, 438, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(30, 466, 3), // "err" -QT_MOC_LITERAL(31, 470, 12), // "errorService" -QT_MOC_LITERAL(32, 483, 31), // "QLowEnergyService::ServiceError" -QT_MOC_LITERAL(33, 515, 25) // "ftmsCharacteristicChanged" - - }, - "snodebike\0disconnected\0\0debug\0string\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0characteristicRead\0" - "descriptorRead\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError\0" - "ftmsCharacteristicChanged" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_snodebike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 16, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 94, 2, 0x06 /* Public */, - 3, 1, 95, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 98, 2, 0x0a /* Public */, - 8, 2, 101, 2, 0x08 /* Private */, - 12, 2, 106, 2, 0x08 /* Private */, - 13, 2, 111, 2, 0x08 /* Private */, - 16, 2, 116, 2, 0x08 /* Private */, - 17, 2, 121, 2, 0x08 /* Private */, - 18, 1, 126, 2, 0x08 /* Private */, - 21, 1, 129, 2, 0x08 /* Private */, - 23, 1, 132, 2, 0x08 /* Private */, - 26, 0, 135, 2, 0x08 /* Private */, - 27, 0, 136, 2, 0x08 /* Private */, - 28, 1, 137, 2, 0x08 /* Private */, - 31, 1, 140, 2, 0x08 /* Private */, - 33, 2, 143, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 19, 20, - QMetaType::Void, 0x80000000 | 22, 20, - QMetaType::Void, 0x80000000 | 24, 25, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 29, 30, - QMetaType::Void, 0x80000000 | 32, 2, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - - 0 // eod -}; - -void snodebike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->characteristicRead((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->descriptorRead((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 9: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 10: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 11: _t->serviceScanDone(); break; - case 12: _t->update(); break; - case 13: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 14: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - case 15: _t->ftmsCharacteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - case 15: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (snodebike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&snodebike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (snodebike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&snodebike::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject snodebike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_snodebike.data, - qt_meta_data_snodebike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *snodebike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *snodebike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_snodebike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int snodebike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } - return _id; -} - -// SIGNAL 0 -void snodebike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void snodebike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_solebike.cpp b/src/moc_solebike.cpp deleted file mode 100644 index f6bbab8a7..000000000 --- a/src/moc_solebike.cpp +++ /dev/null @@ -1,275 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'solebike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "solebike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'solebike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_solebike_t { - QByteArrayData data[29]; - char stringdata0[467]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_solebike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_solebike_t qt_meta_stringdata_solebike = { - { -QT_MOC_LITERAL(0, 0, 8), // "solebike" -QT_MOC_LITERAL(1, 9, 12), // "disconnected" -QT_MOC_LITERAL(2, 22, 0), // "" -QT_MOC_LITERAL(3, 23, 16), // "deviceDiscovered" -QT_MOC_LITERAL(4, 40, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(5, 61, 6), // "device" -QT_MOC_LITERAL(6, 68, 21), // "characteristicChanged" -QT_MOC_LITERAL(7, 90, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(8, 115, 14), // "characteristic" -QT_MOC_LITERAL(9, 130, 8), // "newValue" -QT_MOC_LITERAL(10, 139, 21), // "characteristicWritten" -QT_MOC_LITERAL(11, 161, 17), // "descriptorWritten" -QT_MOC_LITERAL(12, 179, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(13, 200, 10), // "descriptor" -QT_MOC_LITERAL(14, 211, 12), // "stateChanged" -QT_MOC_LITERAL(15, 224, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(16, 256, 5), // "state" -QT_MOC_LITERAL(17, 262, 22), // "controllerStateChanged" -QT_MOC_LITERAL(18, 285, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(19, 323, 17), // "serviceDiscovered" -QT_MOC_LITERAL(20, 341, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(21, 356, 4), // "gatt" -QT_MOC_LITERAL(22, 361, 15), // "serviceScanDone" -QT_MOC_LITERAL(23, 377, 6), // "update" -QT_MOC_LITERAL(24, 384, 5), // "error" -QT_MOC_LITERAL(25, 390, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(26, 418, 3), // "err" -QT_MOC_LITERAL(27, 422, 12), // "errorService" -QT_MOC_LITERAL(28, 435, 31) // "QLowEnergyService::ServiceError" - - }, - "solebike\0disconnected\0\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0" - "characteristicChanged\0QLowEnergyCharacteristic\0" - "characteristic\0newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_solebike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 12, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 74, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 3, 1, 75, 2, 0x0a /* Public */, - 6, 2, 78, 2, 0x08 /* Private */, - 10, 2, 83, 2, 0x08 /* Private */, - 11, 2, 88, 2, 0x08 /* Private */, - 14, 1, 93, 2, 0x08 /* Private */, - 17, 1, 96, 2, 0x08 /* Private */, - 19, 1, 99, 2, 0x08 /* Private */, - 22, 0, 102, 2, 0x08 /* Private */, - 23, 0, 103, 2, 0x08 /* Private */, - 24, 1, 104, 2, 0x08 /* Private */, - 27, 1, 107, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 4, 5, - QMetaType::Void, 0x80000000 | 7, QMetaType::QByteArray, 8, 9, - QMetaType::Void, 0x80000000 | 7, QMetaType::QByteArray, 8, 9, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 9, - QMetaType::Void, 0x80000000 | 15, 16, - QMetaType::Void, 0x80000000 | 18, 16, - QMetaType::Void, 0x80000000 | 20, 21, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, 0x80000000 | 28, 2, - - 0 // eod -}; - -void solebike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 2: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 3: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 6: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 7: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 8: _t->serviceScanDone(); break; - case 9: _t->update(); break; - case 10: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 11: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 1: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (solebike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&solebike::disconnected)) { - *result = 0; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject solebike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_solebike.data, - qt_meta_data_solebike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *solebike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *solebike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_solebike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int solebike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } - return _id; -} - -// SIGNAL 0 -void solebike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_soleelliptical.cpp b/src/moc_soleelliptical.cpp deleted file mode 100644 index 51c22c6bf..000000000 --- a/src/moc_soleelliptical.cpp +++ /dev/null @@ -1,306 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'soleelliptical.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "soleelliptical.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'soleelliptical.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_soleelliptical_t { - QByteArrayData data[35]; - char stringdata0[544]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_soleelliptical_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_soleelliptical_t qt_meta_stringdata_soleelliptical = { - { -QT_MOC_LITERAL(0, 0, 14), // "soleelliptical" -QT_MOC_LITERAL(1, 15, 12), // "disconnected" -QT_MOC_LITERAL(2, 28, 0), // "" -QT_MOC_LITERAL(3, 29, 5), // "debug" -QT_MOC_LITERAL(4, 35, 6), // "string" -QT_MOC_LITERAL(5, 42, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 59, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 80, 6), // "device" -QT_MOC_LITERAL(8, 87, 13), // "searchingStop" -QT_MOC_LITERAL(9, 101, 21), // "characteristicChanged" -QT_MOC_LITERAL(10, 123, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(11, 148, 14), // "characteristic" -QT_MOC_LITERAL(12, 163, 8), // "newValue" -QT_MOC_LITERAL(13, 172, 21), // "characteristicWritten" -QT_MOC_LITERAL(14, 194, 17), // "descriptorWritten" -QT_MOC_LITERAL(15, 212, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(16, 233, 10), // "descriptor" -QT_MOC_LITERAL(17, 244, 12), // "stateChanged" -QT_MOC_LITERAL(18, 257, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(19, 289, 5), // "state" -QT_MOC_LITERAL(20, 295, 22), // "controllerStateChanged" -QT_MOC_LITERAL(21, 318, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(22, 356, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(23, 383, 5), // "grade" -QT_MOC_LITERAL(24, 389, 10), // "percentage" -QT_MOC_LITERAL(25, 400, 17), // "serviceDiscovered" -QT_MOC_LITERAL(26, 418, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(27, 433, 4), // "gatt" -QT_MOC_LITERAL(28, 438, 15), // "serviceScanDone" -QT_MOC_LITERAL(29, 454, 6), // "update" -QT_MOC_LITERAL(30, 461, 5), // "error" -QT_MOC_LITERAL(31, 467, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(32, 495, 3), // "err" -QT_MOC_LITERAL(33, 499, 12), // "errorService" -QT_MOC_LITERAL(34, 512, 31) // "QLowEnergyService::ServiceError" - - }, - "soleelliptical\0disconnected\0\0debug\0" - "string\0deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0searchingStop\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "changeInclinationRequested\0grade\0" - "percentage\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0serviceScanDone\0" - "update\0error\0QLowEnergyController::Error\0" - "err\0errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_soleelliptical[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 15, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 89, 2, 0x06 /* Public */, - 3, 1, 90, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 93, 2, 0x0a /* Public */, - 8, 0, 96, 2, 0x0a /* Public */, - 9, 2, 97, 2, 0x08 /* Private */, - 13, 2, 102, 2, 0x08 /* Private */, - 14, 2, 107, 2, 0x08 /* Private */, - 17, 1, 112, 2, 0x08 /* Private */, - 20, 1, 115, 2, 0x08 /* Private */, - 22, 2, 118, 2, 0x08 /* Private */, - 25, 1, 123, 2, 0x08 /* Private */, - 28, 0, 126, 2, 0x08 /* Private */, - 29, 0, 127, 2, 0x08 /* Private */, - 30, 1, 128, 2, 0x08 /* Private */, - 33, 1, 131, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 15, QMetaType::QByteArray, 16, 12, - QMetaType::Void, 0x80000000 | 18, 19, - QMetaType::Void, 0x80000000 | 21, 19, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 23, 24, - QMetaType::Void, 0x80000000 | 26, 27, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 31, 32, - QMetaType::Void, 0x80000000 | 34, 2, - - 0 // eod -}; - -void soleelliptical::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->searchingStop(); break; - case 4: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 8: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 9: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 10: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 11: _t->serviceScanDone(); break; - case 12: _t->update(); break; - case 13: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 14: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (soleelliptical::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&soleelliptical::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (soleelliptical::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&soleelliptical::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject soleelliptical::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_soleelliptical.data, - qt_meta_data_soleelliptical, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *soleelliptical::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *soleelliptical::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_soleelliptical.stringdata0)) - return static_cast(this); - return elliptical::qt_metacast(_clname); -} - -int soleelliptical::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = elliptical::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) - qt_static_metacall(this, _c, _id, _a); - _id -= 15; - } - return _id; -} - -// SIGNAL 0 -void soleelliptical::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void soleelliptical::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_solef80treadmill.cpp b/src/moc_solef80treadmill.cpp deleted file mode 100644 index 2615fd062..000000000 --- a/src/moc_solef80treadmill.cpp +++ /dev/null @@ -1,342 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'solef80treadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "solef80treadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'solef80treadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_solef80treadmill_t { - QByteArrayData data[37]; - char stringdata0[581]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_solef80treadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_solef80treadmill_t qt_meta_stringdata_solef80treadmill = { - { -QT_MOC_LITERAL(0, 0, 16), // "solef80treadmill" -QT_MOC_LITERAL(1, 17, 12), // "disconnected" -QT_MOC_LITERAL(2, 30, 0), // "" -QT_MOC_LITERAL(3, 31, 5), // "debug" -QT_MOC_LITERAL(4, 37, 6), // "string" -QT_MOC_LITERAL(5, 44, 14), // "packetReceived" -QT_MOC_LITERAL(6, 59, 16), // "deviceDiscovered" -QT_MOC_LITERAL(7, 76, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(8, 97, 6), // "device" -QT_MOC_LITERAL(9, 104, 21), // "characteristicChanged" -QT_MOC_LITERAL(10, 126, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(11, 151, 14), // "characteristic" -QT_MOC_LITERAL(12, 166, 8), // "newValue" -QT_MOC_LITERAL(13, 175, 21), // "characteristicWritten" -QT_MOC_LITERAL(14, 197, 17), // "descriptorWritten" -QT_MOC_LITERAL(15, 215, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(16, 236, 10), // "descriptor" -QT_MOC_LITERAL(17, 247, 18), // "characteristicRead" -QT_MOC_LITERAL(18, 266, 14), // "descriptorRead" -QT_MOC_LITERAL(19, 281, 12), // "stateChanged" -QT_MOC_LITERAL(20, 294, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(21, 326, 5), // "state" -QT_MOC_LITERAL(22, 332, 22), // "controllerStateChanged" -QT_MOC_LITERAL(23, 355, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(24, 393, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(25, 420, 5), // "grade" -QT_MOC_LITERAL(26, 426, 10), // "percentage" -QT_MOC_LITERAL(27, 437, 17), // "serviceDiscovered" -QT_MOC_LITERAL(28, 455, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(29, 470, 4), // "gatt" -QT_MOC_LITERAL(30, 475, 15), // "serviceScanDone" -QT_MOC_LITERAL(31, 491, 6), // "update" -QT_MOC_LITERAL(32, 498, 5), // "error" -QT_MOC_LITERAL(33, 504, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(34, 532, 3), // "err" -QT_MOC_LITERAL(35, 536, 12), // "errorService" -QT_MOC_LITERAL(36, 549, 31) // "QLowEnergyService::ServiceError" - - }, - "solef80treadmill\0disconnected\0\0debug\0" - "string\0packetReceived\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0" - "characteristicChanged\0QLowEnergyCharacteristic\0" - "characteristic\0newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0characteristicRead\0" - "descriptorRead\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "changeInclinationRequested\0grade\0" - "percentage\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0serviceScanDone\0" - "update\0error\0QLowEnergyController::Error\0" - "err\0errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_solef80treadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 17, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 3, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 99, 2, 0x06 /* Public */, - 3, 1, 100, 2, 0x06 /* Public */, - 5, 0, 103, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 6, 1, 104, 2, 0x0a /* Public */, - 9, 2, 107, 2, 0x08 /* Private */, - 13, 2, 112, 2, 0x08 /* Private */, - 14, 2, 117, 2, 0x08 /* Private */, - 17, 2, 122, 2, 0x08 /* Private */, - 18, 2, 127, 2, 0x08 /* Private */, - 19, 1, 132, 2, 0x08 /* Private */, - 22, 1, 135, 2, 0x08 /* Private */, - 24, 2, 138, 2, 0x08 /* Private */, - 27, 1, 143, 2, 0x08 /* Private */, - 30, 0, 146, 2, 0x08 /* Private */, - 31, 0, 147, 2, 0x08 /* Private */, - 32, 1, 148, 2, 0x08 /* Private */, - 35, 1, 151, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 7, 8, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 15, QMetaType::QByteArray, 16, 12, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 15, QMetaType::QByteArray, 16, 12, - QMetaType::Void, 0x80000000 | 20, 21, - QMetaType::Void, 0x80000000 | 23, 21, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 25, 26, - QMetaType::Void, 0x80000000 | 28, 29, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 33, 34, - QMetaType::Void, 0x80000000 | 36, 2, - - 0 // eod -}; - -void solef80treadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->packetReceived(); break; - case 3: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 4: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->characteristicRead((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->descriptorRead((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 9: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 10: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 11: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 12: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 13: _t->serviceScanDone(); break; - case 14: _t->update(); break; - case 15: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 16: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 12: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 15: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 16: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (solef80treadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&solef80treadmill::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (solef80treadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&solef80treadmill::debug)) { - *result = 1; - return; - } - } - { - using _t = void (solef80treadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&solef80treadmill::packetReceived)) { - *result = 2; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject solef80treadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_solef80treadmill.data, - qt_meta_data_solef80treadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *solef80treadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *solef80treadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_solef80treadmill.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int solef80treadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 17) - qt_static_metacall(this, _c, _id, _a); - _id -= 17; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 17) - qt_static_metacall(this, _c, _id, _a); - _id -= 17; - } - return _id; -} - -// SIGNAL 0 -void solef80treadmill::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void solef80treadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void solef80treadmill::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 2, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_spirittreadmill.cpp b/src/moc_spirittreadmill.cpp deleted file mode 100644 index 5007af1fb..000000000 --- a/src/moc_spirittreadmill.cpp +++ /dev/null @@ -1,319 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'spirittreadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "spirittreadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'spirittreadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_spirittreadmill_t { - QByteArrayData data[35]; - char stringdata0[546]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_spirittreadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_spirittreadmill_t qt_meta_stringdata_spirittreadmill = { - { -QT_MOC_LITERAL(0, 0, 15), // "spirittreadmill" -QT_MOC_LITERAL(1, 16, 12), // "disconnected" -QT_MOC_LITERAL(2, 29, 0), // "" -QT_MOC_LITERAL(3, 30, 5), // "debug" -QT_MOC_LITERAL(4, 36, 6), // "string" -QT_MOC_LITERAL(5, 43, 14), // "packetReceived" -QT_MOC_LITERAL(6, 58, 16), // "deviceDiscovered" -QT_MOC_LITERAL(7, 75, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(8, 96, 6), // "device" -QT_MOC_LITERAL(9, 103, 21), // "characteristicChanged" -QT_MOC_LITERAL(10, 125, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(11, 150, 14), // "characteristic" -QT_MOC_LITERAL(12, 165, 8), // "newValue" -QT_MOC_LITERAL(13, 174, 21), // "characteristicWritten" -QT_MOC_LITERAL(14, 196, 17), // "descriptorWritten" -QT_MOC_LITERAL(15, 214, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(16, 235, 10), // "descriptor" -QT_MOC_LITERAL(17, 246, 12), // "stateChanged" -QT_MOC_LITERAL(18, 259, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(19, 291, 5), // "state" -QT_MOC_LITERAL(20, 297, 22), // "controllerStateChanged" -QT_MOC_LITERAL(21, 320, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(22, 358, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(23, 385, 5), // "grade" -QT_MOC_LITERAL(24, 391, 10), // "percentage" -QT_MOC_LITERAL(25, 402, 17), // "serviceDiscovered" -QT_MOC_LITERAL(26, 420, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(27, 435, 4), // "gatt" -QT_MOC_LITERAL(28, 440, 15), // "serviceScanDone" -QT_MOC_LITERAL(29, 456, 6), // "update" -QT_MOC_LITERAL(30, 463, 5), // "error" -QT_MOC_LITERAL(31, 469, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(32, 497, 3), // "err" -QT_MOC_LITERAL(33, 501, 12), // "errorService" -QT_MOC_LITERAL(34, 514, 31) // "QLowEnergyService::ServiceError" - - }, - "spirittreadmill\0disconnected\0\0debug\0" - "string\0packetReceived\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0" - "characteristicChanged\0QLowEnergyCharacteristic\0" - "characteristic\0newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "changeInclinationRequested\0grade\0" - "percentage\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0serviceScanDone\0" - "update\0error\0QLowEnergyController::Error\0" - "err\0errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_spirittreadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 15, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 3, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 89, 2, 0x06 /* Public */, - 3, 1, 90, 2, 0x06 /* Public */, - 5, 0, 93, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 6, 1, 94, 2, 0x0a /* Public */, - 9, 2, 97, 2, 0x08 /* Private */, - 13, 2, 102, 2, 0x08 /* Private */, - 14, 2, 107, 2, 0x08 /* Private */, - 17, 1, 112, 2, 0x08 /* Private */, - 20, 1, 115, 2, 0x08 /* Private */, - 22, 2, 118, 2, 0x08 /* Private */, - 25, 1, 123, 2, 0x08 /* Private */, - 28, 0, 126, 2, 0x08 /* Private */, - 29, 0, 127, 2, 0x08 /* Private */, - 30, 1, 128, 2, 0x08 /* Private */, - 33, 1, 131, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 7, 8, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 15, QMetaType::QByteArray, 16, 12, - QMetaType::Void, 0x80000000 | 18, 19, - QMetaType::Void, 0x80000000 | 21, 19, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 23, 24, - QMetaType::Void, 0x80000000 | 26, 27, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 31, 32, - QMetaType::Void, 0x80000000 | 34, 2, - - 0 // eod -}; - -void spirittreadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->packetReceived(); break; - case 3: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 4: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 8: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 9: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 10: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 11: _t->serviceScanDone(); break; - case 12: _t->update(); break; - case 13: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 14: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (spirittreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&spirittreadmill::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (spirittreadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&spirittreadmill::debug)) { - *result = 1; - return; - } - } - { - using _t = void (spirittreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&spirittreadmill::packetReceived)) { - *result = 2; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject spirittreadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_spirittreadmill.data, - qt_meta_data_spirittreadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *spirittreadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *spirittreadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_spirittreadmill.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int spirittreadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::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) - qt_static_metacall(this, _c, _id, _a); - _id -= 15; - } - return _id; -} - -// SIGNAL 0 -void spirittreadmill::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void spirittreadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void spirittreadmill::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 2, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_sportsplusbike.cpp b/src/moc_sportsplusbike.cpp deleted file mode 100644 index fb989399f..000000000 --- a/src/moc_sportsplusbike.cpp +++ /dev/null @@ -1,312 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'sportsplusbike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "sportsplusbike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'sportsplusbike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_sportsplusbike_t { - QByteArrayData data[32]; - char stringdata0[501]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_sportsplusbike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_sportsplusbike_t qt_meta_stringdata_sportsplusbike = { - { -QT_MOC_LITERAL(0, 0, 14), // "sportsplusbike" -QT_MOC_LITERAL(1, 15, 12), // "disconnected" -QT_MOC_LITERAL(2, 28, 0), // "" -QT_MOC_LITERAL(3, 29, 5), // "debug" -QT_MOC_LITERAL(4, 35, 6), // "string" -QT_MOC_LITERAL(5, 42, 14), // "packetReceived" -QT_MOC_LITERAL(6, 57, 16), // "deviceDiscovered" -QT_MOC_LITERAL(7, 74, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(8, 95, 6), // "device" -QT_MOC_LITERAL(9, 102, 21), // "characteristicChanged" -QT_MOC_LITERAL(10, 124, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(11, 149, 14), // "characteristic" -QT_MOC_LITERAL(12, 164, 8), // "newValue" -QT_MOC_LITERAL(13, 173, 21), // "characteristicWritten" -QT_MOC_LITERAL(14, 195, 17), // "descriptorWritten" -QT_MOC_LITERAL(15, 213, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(16, 234, 10), // "descriptor" -QT_MOC_LITERAL(17, 245, 12), // "stateChanged" -QT_MOC_LITERAL(18, 258, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(19, 290, 5), // "state" -QT_MOC_LITERAL(20, 296, 22), // "controllerStateChanged" -QT_MOC_LITERAL(21, 319, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(22, 357, 17), // "serviceDiscovered" -QT_MOC_LITERAL(23, 375, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(24, 390, 4), // "gatt" -QT_MOC_LITERAL(25, 395, 15), // "serviceScanDone" -QT_MOC_LITERAL(26, 411, 6), // "update" -QT_MOC_LITERAL(27, 418, 5), // "error" -QT_MOC_LITERAL(28, 424, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(29, 452, 3), // "err" -QT_MOC_LITERAL(30, 456, 12), // "errorService" -QT_MOC_LITERAL(31, 469, 31) // "QLowEnergyService::ServiceError" - - }, - "sportsplusbike\0disconnected\0\0debug\0" - "string\0packetReceived\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0" - "characteristicChanged\0QLowEnergyCharacteristic\0" - "characteristic\0newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_sportsplusbike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 14, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 3, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 84, 2, 0x06 /* Public */, - 3, 1, 85, 2, 0x06 /* Public */, - 5, 0, 88, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 6, 1, 89, 2, 0x0a /* Public */, - 9, 2, 92, 2, 0x08 /* Private */, - 13, 2, 97, 2, 0x08 /* Private */, - 14, 2, 102, 2, 0x08 /* Private */, - 17, 1, 107, 2, 0x08 /* Private */, - 20, 1, 110, 2, 0x08 /* Private */, - 22, 1, 113, 2, 0x08 /* Private */, - 25, 0, 116, 2, 0x08 /* Private */, - 26, 0, 117, 2, 0x08 /* Private */, - 27, 1, 118, 2, 0x08 /* Private */, - 30, 1, 121, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 7, 8, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 15, QMetaType::QByteArray, 16, 12, - QMetaType::Void, 0x80000000 | 18, 19, - QMetaType::Void, 0x80000000 | 21, 19, - QMetaType::Void, 0x80000000 | 23, 24, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 28, 29, - QMetaType::Void, 0x80000000 | 31, 2, - - 0 // eod -}; - -void sportsplusbike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->packetReceived(); break; - case 3: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 4: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 8: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 9: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 10: _t->serviceScanDone(); break; - case 11: _t->update(); break; - case 12: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 13: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 12: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (sportsplusbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&sportsplusbike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (sportsplusbike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&sportsplusbike::debug)) { - *result = 1; - return; - } - } - { - using _t = void (sportsplusbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&sportsplusbike::packetReceived)) { - *result = 2; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject sportsplusbike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_sportsplusbike.data, - qt_meta_data_sportsplusbike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *sportsplusbike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *sportsplusbike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_sportsplusbike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int sportsplusbike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } - return _id; -} - -// SIGNAL 0 -void sportsplusbike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void sportsplusbike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void sportsplusbike::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 2, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_sportstechbike.cpp b/src/moc_sportstechbike.cpp deleted file mode 100644 index a54bf4f3d..000000000 --- a/src/moc_sportstechbike.cpp +++ /dev/null @@ -1,312 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'sportstechbike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "sportstechbike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'sportstechbike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_sportstechbike_t { - QByteArrayData data[32]; - char stringdata0[501]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_sportstechbike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_sportstechbike_t qt_meta_stringdata_sportstechbike = { - { -QT_MOC_LITERAL(0, 0, 14), // "sportstechbike" -QT_MOC_LITERAL(1, 15, 12), // "disconnected" -QT_MOC_LITERAL(2, 28, 0), // "" -QT_MOC_LITERAL(3, 29, 5), // "debug" -QT_MOC_LITERAL(4, 35, 6), // "string" -QT_MOC_LITERAL(5, 42, 14), // "packetReceived" -QT_MOC_LITERAL(6, 57, 16), // "deviceDiscovered" -QT_MOC_LITERAL(7, 74, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(8, 95, 6), // "device" -QT_MOC_LITERAL(9, 102, 21), // "characteristicChanged" -QT_MOC_LITERAL(10, 124, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(11, 149, 14), // "characteristic" -QT_MOC_LITERAL(12, 164, 8), // "newValue" -QT_MOC_LITERAL(13, 173, 21), // "characteristicWritten" -QT_MOC_LITERAL(14, 195, 17), // "descriptorWritten" -QT_MOC_LITERAL(15, 213, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(16, 234, 10), // "descriptor" -QT_MOC_LITERAL(17, 245, 12), // "stateChanged" -QT_MOC_LITERAL(18, 258, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(19, 290, 5), // "state" -QT_MOC_LITERAL(20, 296, 22), // "controllerStateChanged" -QT_MOC_LITERAL(21, 319, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(22, 357, 17), // "serviceDiscovered" -QT_MOC_LITERAL(23, 375, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(24, 390, 4), // "gatt" -QT_MOC_LITERAL(25, 395, 15), // "serviceScanDone" -QT_MOC_LITERAL(26, 411, 6), // "update" -QT_MOC_LITERAL(27, 418, 5), // "error" -QT_MOC_LITERAL(28, 424, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(29, 452, 3), // "err" -QT_MOC_LITERAL(30, 456, 12), // "errorService" -QT_MOC_LITERAL(31, 469, 31) // "QLowEnergyService::ServiceError" - - }, - "sportstechbike\0disconnected\0\0debug\0" - "string\0packetReceived\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0" - "characteristicChanged\0QLowEnergyCharacteristic\0" - "characteristic\0newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_sportstechbike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 14, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 3, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 84, 2, 0x06 /* Public */, - 3, 1, 85, 2, 0x06 /* Public */, - 5, 0, 88, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 6, 1, 89, 2, 0x0a /* Public */, - 9, 2, 92, 2, 0x08 /* Private */, - 13, 2, 97, 2, 0x08 /* Private */, - 14, 2, 102, 2, 0x08 /* Private */, - 17, 1, 107, 2, 0x08 /* Private */, - 20, 1, 110, 2, 0x08 /* Private */, - 22, 1, 113, 2, 0x08 /* Private */, - 25, 0, 116, 2, 0x08 /* Private */, - 26, 0, 117, 2, 0x08 /* Private */, - 27, 1, 118, 2, 0x08 /* Private */, - 30, 1, 121, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 7, 8, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 15, QMetaType::QByteArray, 16, 12, - QMetaType::Void, 0x80000000 | 18, 19, - QMetaType::Void, 0x80000000 | 21, 19, - QMetaType::Void, 0x80000000 | 23, 24, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 28, 29, - QMetaType::Void, 0x80000000 | 31, 2, - - 0 // eod -}; - -void sportstechbike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->packetReceived(); break; - case 3: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 4: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 8: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 9: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 10: _t->serviceScanDone(); break; - case 11: _t->update(); break; - case 12: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 13: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 12: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (sportstechbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&sportstechbike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (sportstechbike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&sportstechbike::debug)) { - *result = 1; - return; - } - } - { - using _t = void (sportstechbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&sportstechbike::packetReceived)) { - *result = 2; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject sportstechbike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_sportstechbike.data, - qt_meta_data_sportstechbike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *sportstechbike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *sportstechbike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_sportstechbike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int sportstechbike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } - return _id; -} - -// SIGNAL 0 -void sportstechbike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void sportstechbike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void sportstechbike::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 2, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_stagesbike.cpp b/src/moc_stagesbike.cpp deleted file mode 100644 index 4116561f9..000000000 --- a/src/moc_stagesbike.cpp +++ /dev/null @@ -1,325 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'stagesbike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "stagesbike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'stagesbike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_stagesbike_t { - QByteArrayData data[36]; - char stringdata0[561]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_stagesbike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_stagesbike_t qt_meta_stringdata_stagesbike = { - { -QT_MOC_LITERAL(0, 0, 10), // "stagesbike" -QT_MOC_LITERAL(1, 11, 12), // "disconnected" -QT_MOC_LITERAL(2, 24, 0), // "" -QT_MOC_LITERAL(3, 25, 5), // "debug" -QT_MOC_LITERAL(4, 31, 6), // "string" -QT_MOC_LITERAL(5, 38, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 55, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 76, 6), // "device" -QT_MOC_LITERAL(8, 83, 27), // "resistanceFromFTMSAccessory" -QT_MOC_LITERAL(9, 111, 12), // "resistance_t" -QT_MOC_LITERAL(10, 124, 3), // "res" -QT_MOC_LITERAL(11, 128, 21), // "characteristicChanged" -QT_MOC_LITERAL(12, 150, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(13, 175, 14), // "characteristic" -QT_MOC_LITERAL(14, 190, 8), // "newValue" -QT_MOC_LITERAL(15, 199, 21), // "characteristicWritten" -QT_MOC_LITERAL(16, 221, 17), // "descriptorWritten" -QT_MOC_LITERAL(17, 239, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(18, 260, 10), // "descriptor" -QT_MOC_LITERAL(19, 271, 18), // "characteristicRead" -QT_MOC_LITERAL(20, 290, 14), // "descriptorRead" -QT_MOC_LITERAL(21, 305, 12), // "stateChanged" -QT_MOC_LITERAL(22, 318, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(23, 350, 5), // "state" -QT_MOC_LITERAL(24, 356, 22), // "controllerStateChanged" -QT_MOC_LITERAL(25, 379, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(26, 417, 17), // "serviceDiscovered" -QT_MOC_LITERAL(27, 435, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(28, 450, 4), // "gatt" -QT_MOC_LITERAL(29, 455, 15), // "serviceScanDone" -QT_MOC_LITERAL(30, 471, 6), // "update" -QT_MOC_LITERAL(31, 478, 5), // "error" -QT_MOC_LITERAL(32, 484, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(33, 512, 3), // "err" -QT_MOC_LITERAL(34, 516, 12), // "errorService" -QT_MOC_LITERAL(35, 529, 31) // "QLowEnergyService::ServiceError" - - }, - "stagesbike\0disconnected\0\0debug\0string\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0resistanceFromFTMSAccessory\0" - "resistance_t\0res\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0characteristicRead\0" - "descriptorRead\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_stagesbike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 16, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 94, 2, 0x06 /* Public */, - 3, 1, 95, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 98, 2, 0x0a /* Public */, - 8, 1, 101, 2, 0x0a /* Public */, - 11, 2, 104, 2, 0x08 /* Private */, - 15, 2, 109, 2, 0x08 /* Private */, - 16, 2, 114, 2, 0x08 /* Private */, - 19, 2, 119, 2, 0x08 /* Private */, - 20, 2, 124, 2, 0x08 /* Private */, - 21, 1, 129, 2, 0x08 /* Private */, - 24, 1, 132, 2, 0x08 /* Private */, - 26, 1, 135, 2, 0x08 /* Private */, - 29, 0, 138, 2, 0x08 /* Private */, - 30, 0, 139, 2, 0x08 /* Private */, - 31, 1, 140, 2, 0x08 /* Private */, - 34, 1, 143, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, 10, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 22, 23, - QMetaType::Void, 0x80000000 | 25, 23, - QMetaType::Void, 0x80000000 | 27, 28, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 32, 33, - QMetaType::Void, 0x80000000 | 35, 2, - - 0 // eod -}; - -void stagesbike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->resistanceFromFTMSAccessory((*reinterpret_cast< resistance_t(*)>(_a[1]))); break; - case 4: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->characteristicRead((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->descriptorRead((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 9: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 10: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 11: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 12: _t->serviceScanDone(); break; - case 13: _t->update(); break; - case 14: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 15: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 15: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (stagesbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&stagesbike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (stagesbike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&stagesbike::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject stagesbike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_stagesbike.data, - qt_meta_data_stagesbike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *stagesbike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *stagesbike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_stagesbike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int stagesbike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } - return _id; -} - -// SIGNAL 0 -void stagesbike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void stagesbike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_strydrunpowersensor.cpp b/src/moc_strydrunpowersensor.cpp deleted file mode 100644 index 5fba5e1d0..000000000 --- a/src/moc_strydrunpowersensor.cpp +++ /dev/null @@ -1,347 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'strydrunpowersensor.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "strydrunpowersensor.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'strydrunpowersensor.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_strydrunpowersensor_t { - QByteArrayData data[39]; - char stringdata0[595]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_strydrunpowersensor_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_strydrunpowersensor_t qt_meta_stringdata_strydrunpowersensor = { - { -QT_MOC_LITERAL(0, 0, 19), // "strydrunpowersensor" -QT_MOC_LITERAL(1, 20, 12), // "disconnected" -QT_MOC_LITERAL(2, 33, 0), // "" -QT_MOC_LITERAL(3, 34, 5), // "debug" -QT_MOC_LITERAL(4, 40, 6), // "string" -QT_MOC_LITERAL(5, 47, 11), // "onHeartRate" -QT_MOC_LITERAL(6, 59, 7), // "uint8_t" -QT_MOC_LITERAL(7, 67, 5), // "heart" -QT_MOC_LITERAL(8, 73, 16), // "deviceDiscovered" -QT_MOC_LITERAL(9, 90, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(10, 111, 6), // "device" -QT_MOC_LITERAL(11, 118, 21), // "characteristicChanged" -QT_MOC_LITERAL(12, 140, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(13, 165, 14), // "characteristic" -QT_MOC_LITERAL(14, 180, 8), // "newValue" -QT_MOC_LITERAL(15, 189, 21), // "characteristicWritten" -QT_MOC_LITERAL(16, 211, 17), // "descriptorWritten" -QT_MOC_LITERAL(17, 229, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(18, 250, 10), // "descriptor" -QT_MOC_LITERAL(19, 261, 18), // "characteristicRead" -QT_MOC_LITERAL(20, 280, 14), // "descriptorRead" -QT_MOC_LITERAL(21, 295, 12), // "stateChanged" -QT_MOC_LITERAL(22, 308, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(23, 340, 5), // "state" -QT_MOC_LITERAL(24, 346, 22), // "controllerStateChanged" -QT_MOC_LITERAL(25, 369, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(26, 407, 17), // "serviceDiscovered" -QT_MOC_LITERAL(27, 425, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(28, 440, 4), // "gatt" -QT_MOC_LITERAL(29, 445, 15), // "serviceScanDone" -QT_MOC_LITERAL(30, 461, 6), // "update" -QT_MOC_LITERAL(31, 468, 5), // "error" -QT_MOC_LITERAL(32, 474, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(33, 502, 3), // "err" -QT_MOC_LITERAL(34, 506, 12), // "errorService" -QT_MOC_LITERAL(35, 519, 31), // "QLowEnergyService::ServiceError" -QT_MOC_LITERAL(36, 551, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(37, 578, 5), // "grade" -QT_MOC_LITERAL(38, 584, 10) // "percentage" - - }, - "strydrunpowersensor\0disconnected\0\0" - "debug\0string\0onHeartRate\0uint8_t\0heart\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0characteristicRead\0" - "descriptorRead\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError\0" - "changeInclinationRequested\0grade\0" - "percentage" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_strydrunpowersensor[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 17, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 3, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 99, 2, 0x06 /* Public */, - 3, 1, 100, 2, 0x06 /* Public */, - 5, 1, 103, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 8, 1, 106, 2, 0x0a /* Public */, - 11, 2, 109, 2, 0x08 /* Private */, - 15, 2, 114, 2, 0x08 /* Private */, - 16, 2, 119, 2, 0x08 /* Private */, - 19, 2, 124, 2, 0x08 /* Private */, - 20, 2, 129, 2, 0x08 /* Private */, - 21, 1, 134, 2, 0x08 /* Private */, - 24, 1, 137, 2, 0x08 /* Private */, - 26, 1, 140, 2, 0x08 /* Private */, - 29, 0, 143, 2, 0x08 /* Private */, - 30, 0, 144, 2, 0x08 /* Private */, - 31, 1, 145, 2, 0x08 /* Private */, - 34, 1, 148, 2, 0x08 /* Private */, - 36, 2, 151, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, 0x80000000 | 6, 7, - - // slots: parameters - QMetaType::Void, 0x80000000 | 9, 10, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 22, 23, - QMetaType::Void, 0x80000000 | 25, 23, - QMetaType::Void, 0x80000000 | 27, 28, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 32, 33, - QMetaType::Void, 0x80000000 | 35, 2, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 37, 38, - - 0 // eod -}; - -void strydrunpowersensor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->onHeartRate((*reinterpret_cast< uint8_t(*)>(_a[1]))); break; - case 3: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 4: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->characteristicRead((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->descriptorRead((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 9: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 10: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 11: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 12: _t->serviceScanDone(); break; - case 13: _t->update(); break; - case 14: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 15: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - case 16: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 15: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (strydrunpowersensor::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&strydrunpowersensor::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (strydrunpowersensor::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&strydrunpowersensor::debug)) { - *result = 1; - return; - } - } - { - using _t = void (strydrunpowersensor::*)(uint8_t ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&strydrunpowersensor::onHeartRate)) { - *result = 2; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject strydrunpowersensor::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_strydrunpowersensor.data, - qt_meta_data_strydrunpowersensor, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *strydrunpowersensor::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *strydrunpowersensor::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_strydrunpowersensor.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int strydrunpowersensor::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 17) - qt_static_metacall(this, _c, _id, _a); - _id -= 17; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 17) - qt_static_metacall(this, _c, _id, _a); - _id -= 17; - } - return _id; -} - -// SIGNAL 0 -void strydrunpowersensor::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void strydrunpowersensor::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void strydrunpowersensor::onHeartRate(uint8_t _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_tacxneo2.cpp b/src/moc_tacxneo2.cpp deleted file mode 100644 index 398c73ea6..000000000 --- a/src/moc_tacxneo2.cpp +++ /dev/null @@ -1,324 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'tacxneo2.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "tacxneo2.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'tacxneo2.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_tacxneo2_t { - QByteArrayData data[35]; - char stringdata0[536]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_tacxneo2_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_tacxneo2_t qt_meta_stringdata_tacxneo2 = { - { -QT_MOC_LITERAL(0, 0, 8), // "tacxneo2" -QT_MOC_LITERAL(1, 9, 12), // "disconnected" -QT_MOC_LITERAL(2, 22, 0), // "" -QT_MOC_LITERAL(3, 23, 5), // "debug" -QT_MOC_LITERAL(4, 29, 6), // "string" -QT_MOC_LITERAL(5, 36, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 53, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 74, 6), // "device" -QT_MOC_LITERAL(8, 81, 21), // "characteristicChanged" -QT_MOC_LITERAL(9, 103, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(10, 128, 14), // "characteristic" -QT_MOC_LITERAL(11, 143, 8), // "newValue" -QT_MOC_LITERAL(12, 152, 21), // "characteristicWritten" -QT_MOC_LITERAL(13, 174, 17), // "descriptorWritten" -QT_MOC_LITERAL(14, 192, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(15, 213, 10), // "descriptor" -QT_MOC_LITERAL(16, 224, 18), // "characteristicRead" -QT_MOC_LITERAL(17, 243, 14), // "descriptorRead" -QT_MOC_LITERAL(18, 258, 12), // "stateChanged" -QT_MOC_LITERAL(19, 271, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(20, 303, 5), // "state" -QT_MOC_LITERAL(21, 309, 22), // "controllerStateChanged" -QT_MOC_LITERAL(22, 332, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(23, 370, 17), // "serviceDiscovered" -QT_MOC_LITERAL(24, 388, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(25, 403, 4), // "gatt" -QT_MOC_LITERAL(26, 408, 15), // "serviceScanDone" -QT_MOC_LITERAL(27, 424, 6), // "update" -QT_MOC_LITERAL(28, 431, 5), // "error" -QT_MOC_LITERAL(29, 437, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(30, 465, 3), // "err" -QT_MOC_LITERAL(31, 469, 12), // "errorService" -QT_MOC_LITERAL(32, 482, 31), // "QLowEnergyService::ServiceError" -QT_MOC_LITERAL(33, 514, 19), // "powerPacketReceived" -QT_MOC_LITERAL(34, 534, 1) // "b" - - }, - "tacxneo2\0disconnected\0\0debug\0string\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0characteristicRead\0" - "descriptorRead\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError\0" - "powerPacketReceived\0b" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_tacxneo2[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 16, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 94, 2, 0x06 /* Public */, - 3, 1, 95, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 98, 2, 0x0a /* Public */, - 8, 2, 101, 2, 0x08 /* Private */, - 12, 2, 106, 2, 0x08 /* Private */, - 13, 2, 111, 2, 0x08 /* Private */, - 16, 2, 116, 2, 0x08 /* Private */, - 17, 2, 121, 2, 0x08 /* Private */, - 18, 1, 126, 2, 0x08 /* Private */, - 21, 1, 129, 2, 0x08 /* Private */, - 23, 1, 132, 2, 0x08 /* Private */, - 26, 0, 135, 2, 0x08 /* Private */, - 27, 0, 136, 2, 0x08 /* Private */, - 28, 1, 137, 2, 0x08 /* Private */, - 31, 1, 140, 2, 0x08 /* Private */, - 33, 1, 143, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 19, 20, - QMetaType::Void, 0x80000000 | 22, 20, - QMetaType::Void, 0x80000000 | 24, 25, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 29, 30, - QMetaType::Void, 0x80000000 | 32, 2, - QMetaType::Void, QMetaType::QByteArray, 34, - - 0 // eod -}; - -void tacxneo2::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->characteristicRead((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->descriptorRead((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 9: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 10: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 11: _t->serviceScanDone(); break; - case 12: _t->update(); break; - case 13: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 14: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - case 15: _t->powerPacketReceived((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (tacxneo2::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&tacxneo2::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (tacxneo2::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&tacxneo2::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject tacxneo2::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_tacxneo2.data, - qt_meta_data_tacxneo2, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *tacxneo2::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *tacxneo2::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_tacxneo2.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int tacxneo2::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } - return _id; -} - -// SIGNAL 0 -void tacxneo2::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void tacxneo2::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_tcpclientinfosender.cpp b/src/moc_tcpclientinfosender.cpp deleted file mode 100644 index 1e59394cc..000000000 --- a/src/moc_tcpclientinfosender.cpp +++ /dev/null @@ -1,147 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'tcpclientinfosender.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "tcpclientinfosender.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'tcpclientinfosender.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_TcpClientInfoSender_t { - QByteArrayData data[9]; - char stringdata0[116]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_TcpClientInfoSender_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_TcpClientInfoSender_t qt_meta_stringdata_TcpClientInfoSender = { - { -QT_MOC_LITERAL(0, 0, 19), // "TcpClientInfoSender" -QT_MOC_LITERAL(1, 20, 9), // "readyRead" -QT_MOC_LITERAL(2, 30, 0), // "" -QT_MOC_LITERAL(3, 31, 14), // "debugConnected" -QT_MOC_LITERAL(4, 46, 11), // "socketError" -QT_MOC_LITERAL(5, 58, 3), // "err" -QT_MOC_LITERAL(6, 62, 12), // "stateChanged" -QT_MOC_LITERAL(7, 75, 28), // "QAbstractSocket::SocketState" -QT_MOC_LITERAL(8, 104, 11) // "socketState" - - }, - "TcpClientInfoSender\0readyRead\0\0" - "debugConnected\0socketError\0err\0" - "stateChanged\0QAbstractSocket::SocketState\0" - "socketState" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_TcpClientInfoSender[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 4, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 0, 34, 2, 0x08 /* Private */, - 3, 0, 35, 2, 0x08 /* Private */, - 4, 1, 36, 2, 0x08 /* Private */, - 6, 1, 39, 2, 0x08 /* Private */, - - // slots: parameters - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, QMetaType::Int, 5, - QMetaType::Void, 0x80000000 | 7, 8, - - 0 // eod -}; - -void TcpClientInfoSender::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->readyRead(); break; - case 1: _t->debugConnected(); break; - case 2: _t->socketError((*reinterpret_cast< int(*)>(_a[1]))); break; - case 3: _t->stateChanged((*reinterpret_cast< QAbstractSocket::SocketState(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QAbstractSocket::SocketState >(); break; - } - break; - } - } -} - -QT_INIT_METAOBJECT const QMetaObject TcpClientInfoSender::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_TcpClientInfoSender.data, - qt_meta_data_TcpClientInfoSender, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *TcpClientInfoSender::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *TcpClientInfoSender::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_TcpClientInfoSender.stringdata0)) - return static_cast(this); - return TemplateInfoSender::qt_metacast(_clname); -} - -int TcpClientInfoSender::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = TemplateInfoSender::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 4) - qt_static_metacall(this, _c, _id, _a); - _id -= 4; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 4) - qt_static_metacall(this, _c, _id, _a); - _id -= 4; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_technogymmyruntreadmill.cpp b/src/moc_technogymmyruntreadmill.cpp deleted file mode 100644 index e7fa71e61..000000000 --- a/src/moc_technogymmyruntreadmill.cpp +++ /dev/null @@ -1,344 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'technogymmyruntreadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "technogymmyruntreadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'technogymmyruntreadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_technogymmyruntreadmill_t { - QByteArrayData data[37]; - char stringdata0[588]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_technogymmyruntreadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_technogymmyruntreadmill_t qt_meta_stringdata_technogymmyruntreadmill = { - { -QT_MOC_LITERAL(0, 0, 23), // "technogymmyruntreadmill" -QT_MOC_LITERAL(1, 24, 12), // "disconnected" -QT_MOC_LITERAL(2, 37, 0), // "" -QT_MOC_LITERAL(3, 38, 5), // "debug" -QT_MOC_LITERAL(4, 44, 6), // "string" -QT_MOC_LITERAL(5, 51, 14), // "packetReceived" -QT_MOC_LITERAL(6, 66, 16), // "deviceDiscovered" -QT_MOC_LITERAL(7, 83, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(8, 104, 6), // "device" -QT_MOC_LITERAL(9, 111, 21), // "characteristicChanged" -QT_MOC_LITERAL(10, 133, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(11, 158, 14), // "characteristic" -QT_MOC_LITERAL(12, 173, 8), // "newValue" -QT_MOC_LITERAL(13, 182, 21), // "characteristicWritten" -QT_MOC_LITERAL(14, 204, 17), // "descriptorWritten" -QT_MOC_LITERAL(15, 222, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(16, 243, 10), // "descriptor" -QT_MOC_LITERAL(17, 254, 18), // "characteristicRead" -QT_MOC_LITERAL(18, 273, 14), // "descriptorRead" -QT_MOC_LITERAL(19, 288, 12), // "stateChanged" -QT_MOC_LITERAL(20, 301, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(21, 333, 5), // "state" -QT_MOC_LITERAL(22, 339, 22), // "controllerStateChanged" -QT_MOC_LITERAL(23, 362, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(24, 400, 17), // "serviceDiscovered" -QT_MOC_LITERAL(25, 418, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(26, 433, 4), // "gatt" -QT_MOC_LITERAL(27, 438, 15), // "serviceScanDone" -QT_MOC_LITERAL(28, 454, 6), // "update" -QT_MOC_LITERAL(29, 461, 5), // "error" -QT_MOC_LITERAL(30, 467, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(31, 495, 3), // "err" -QT_MOC_LITERAL(32, 499, 12), // "errorService" -QT_MOC_LITERAL(33, 512, 31), // "QLowEnergyService::ServiceError" -QT_MOC_LITERAL(34, 544, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(35, 571, 5), // "grade" -QT_MOC_LITERAL(36, 577, 10) // "percentage" - - }, - "technogymmyruntreadmill\0disconnected\0" - "\0debug\0string\0packetReceived\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0characteristicRead\0" - "descriptorRead\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError\0" - "changeInclinationRequested\0grade\0" - "percentage" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_technogymmyruntreadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 17, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 3, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 99, 2, 0x06 /* Public */, - 3, 1, 100, 2, 0x06 /* Public */, - 5, 0, 103, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 6, 1, 104, 2, 0x0a /* Public */, - 9, 2, 107, 2, 0x08 /* Private */, - 13, 2, 112, 2, 0x08 /* Private */, - 14, 2, 117, 2, 0x08 /* Private */, - 17, 2, 122, 2, 0x08 /* Private */, - 18, 2, 127, 2, 0x08 /* Private */, - 19, 1, 132, 2, 0x08 /* Private */, - 22, 1, 135, 2, 0x08 /* Private */, - 24, 1, 138, 2, 0x08 /* Private */, - 27, 0, 141, 2, 0x08 /* Private */, - 28, 0, 142, 2, 0x08 /* Private */, - 29, 1, 143, 2, 0x08 /* Private */, - 32, 1, 146, 2, 0x08 /* Private */, - 34, 2, 149, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 7, 8, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 15, QMetaType::QByteArray, 16, 12, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 15, QMetaType::QByteArray, 16, 12, - QMetaType::Void, 0x80000000 | 20, 21, - QMetaType::Void, 0x80000000 | 23, 21, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 30, 31, - QMetaType::Void, 0x80000000 | 33, 2, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 35, 36, - - 0 // eod -}; - -void technogymmyruntreadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->packetReceived(); break; - case 3: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 4: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->characteristicRead((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->descriptorRead((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 9: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 10: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 11: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 12: _t->serviceScanDone(); break; - case 13: _t->update(); break; - case 14: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 15: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - case 16: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 15: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (technogymmyruntreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&technogymmyruntreadmill::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (technogymmyruntreadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&technogymmyruntreadmill::debug)) { - *result = 1; - return; - } - } - { - using _t = void (technogymmyruntreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&technogymmyruntreadmill::packetReceived)) { - *result = 2; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject technogymmyruntreadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_technogymmyruntreadmill.data, - qt_meta_data_technogymmyruntreadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *technogymmyruntreadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *technogymmyruntreadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_technogymmyruntreadmill.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int technogymmyruntreadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 17) - qt_static_metacall(this, _c, _id, _a); - _id -= 17; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 17) - qt_static_metacall(this, _c, _id, _a); - _id -= 17; - } - return _id; -} - -// SIGNAL 0 -void technogymmyruntreadmill::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void technogymmyruntreadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void technogymmyruntreadmill::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 2, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_technogymmyruntreadmillrfcomm.cpp b/src/moc_technogymmyruntreadmillrfcomm.cpp deleted file mode 100644 index f194ec23e..000000000 --- a/src/moc_technogymmyruntreadmillrfcomm.cpp +++ /dev/null @@ -1,243 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'technogymmyruntreadmillrfcomm.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "technogymmyruntreadmillrfcomm.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'technogymmyruntreadmillrfcomm.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_technogymmyruntreadmillrfcomm_t { - QByteArrayData data[22]; - char stringdata0[327]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_technogymmyruntreadmillrfcomm_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_technogymmyruntreadmillrfcomm_t qt_meta_stringdata_technogymmyruntreadmillrfcomm = { - { -QT_MOC_LITERAL(0, 0, 29), // "technogymmyruntreadmillrfcomm" -QT_MOC_LITERAL(1, 30, 12), // "disconnected" -QT_MOC_LITERAL(2, 43, 0), // "" -QT_MOC_LITERAL(3, 44, 5), // "debug" -QT_MOC_LITERAL(4, 50, 6), // "string" -QT_MOC_LITERAL(5, 57, 14), // "packetReceived" -QT_MOC_LITERAL(6, 72, 16), // "deviceDiscovered" -QT_MOC_LITERAL(7, 89, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(8, 110, 6), // "device" -QT_MOC_LITERAL(9, 117, 15), // "serviceCanceled" -QT_MOC_LITERAL(10, 133, 17), // "serviceDiscovered" -QT_MOC_LITERAL(11, 151, 21), // "QBluetoothServiceInfo" -QT_MOC_LITERAL(12, 173, 7), // "service" -QT_MOC_LITERAL(13, 181, 15), // "serviceFinished" -QT_MOC_LITERAL(14, 197, 10), // "readSocket" -QT_MOC_LITERAL(15, 208, 15), // "rfCommConnected" -QT_MOC_LITERAL(16, 224, 21), // "onSocketErrorOccurred" -QT_MOC_LITERAL(17, 246, 29), // "QBluetoothSocket::SocketError" -QT_MOC_LITERAL(18, 276, 6), // "update" -QT_MOC_LITERAL(19, 283, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(20, 310, 5), // "grade" -QT_MOC_LITERAL(21, 316, 10) // "percentage" - - }, - "technogymmyruntreadmillrfcomm\0" - "disconnected\0\0debug\0string\0packetReceived\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0serviceCanceled\0serviceDiscovered\0" - "QBluetoothServiceInfo\0service\0" - "serviceFinished\0readSocket\0rfCommConnected\0" - "onSocketErrorOccurred\0" - "QBluetoothSocket::SocketError\0update\0" - "changeInclinationRequested\0grade\0" - "percentage" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_technogymmyruntreadmillrfcomm[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 12, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 3, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 74, 2, 0x06 /* Public */, - 3, 1, 75, 2, 0x06 /* Public */, - 5, 0, 78, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 6, 1, 79, 2, 0x0a /* Public */, - 9, 0, 82, 2, 0x08 /* Private */, - 10, 1, 83, 2, 0x08 /* Private */, - 13, 0, 86, 2, 0x08 /* Private */, - 14, 0, 87, 2, 0x08 /* Private */, - 15, 0, 88, 2, 0x08 /* Private */, - 16, 1, 89, 2, 0x08 /* Private */, - 18, 0, 92, 2, 0x08 /* Private */, - 19, 2, 93, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 7, 8, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 11, 12, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 17, 2, - QMetaType::Void, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 20, 21, - - 0 // eod -}; - -void technogymmyruntreadmillrfcomm::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->packetReceived(); break; - case 3: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 4: _t->serviceCanceled(); break; - case 5: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothServiceInfo(*)>(_a[1]))); break; - case 6: _t->serviceFinished(); break; - case 7: _t->readSocket(); break; - case 8: _t->rfCommConnected(); break; - case 9: _t->onSocketErrorOccurred((*reinterpret_cast< QBluetoothSocket::SocketError(*)>(_a[1]))); break; - case 10: _t->update(); break; - case 11: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothServiceInfo >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (technogymmyruntreadmillrfcomm::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&technogymmyruntreadmillrfcomm::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (technogymmyruntreadmillrfcomm::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&technogymmyruntreadmillrfcomm::debug)) { - *result = 1; - return; - } - } - { - using _t = void (technogymmyruntreadmillrfcomm::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&technogymmyruntreadmillrfcomm::packetReceived)) { - *result = 2; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject technogymmyruntreadmillrfcomm::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_technogymmyruntreadmillrfcomm.data, - qt_meta_data_technogymmyruntreadmillrfcomm, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *technogymmyruntreadmillrfcomm::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *technogymmyruntreadmillrfcomm::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_technogymmyruntreadmillrfcomm.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int technogymmyruntreadmillrfcomm::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } - return _id; -} - -// SIGNAL 0 -void technogymmyruntreadmillrfcomm::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void technogymmyruntreadmillrfcomm::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void technogymmyruntreadmillrfcomm::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 2, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_templateinfosender.cpp b/src/moc_templateinfosender.cpp deleted file mode 100644 index 230a28283..000000000 --- a/src/moc_templateinfosender.cpp +++ /dev/null @@ -1,144 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'templateinfosender.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "templateinfosender.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'templateinfosender.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_TemplateInfoSender_t { - QByteArrayData data[5]; - char stringdata0[47]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_TemplateInfoSender_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_TemplateInfoSender_t qt_meta_stringdata_TemplateInfoSender = { - { -QT_MOC_LITERAL(0, 0, 18), // "TemplateInfoSender" -QT_MOC_LITERAL(1, 19, 14), // "onDataReceived" -QT_MOC_LITERAL(2, 34, 0), // "" -QT_MOC_LITERAL(3, 35, 4), // "data" -QT_MOC_LITERAL(4, 40, 6) // "reinit" - - }, - "TemplateInfoSender\0onDataReceived\0\0" - "data\0reinit" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_TemplateInfoSender[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 1, 24, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 4, 0, 27, 2, 0x09 /* Protected */, - - // signals: parameters - QMetaType::Void, QMetaType::QByteArray, 3, - - // slots: parameters - QMetaType::Void, - - 0 // eod -}; - -void TemplateInfoSender::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->onDataReceived((*reinterpret_cast< QByteArray(*)>(_a[1]))); break; - case 1: _t->reinit(); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (TemplateInfoSender::*)(QByteArray ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSender::onDataReceived)) { - *result = 0; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject TemplateInfoSender::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_TemplateInfoSender.data, - qt_meta_data_TemplateInfoSender, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *TemplateInfoSender::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *TemplateInfoSender::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_TemplateInfoSender.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int TemplateInfoSender::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 2) - *reinterpret_cast(_a[0]) = -1; - _id -= 2; - } - return _id; -} - -// SIGNAL 0 -void TemplateInfoSender::onDataReceived(QByteArray _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_templateinfosenderbuilder.cpp b/src/moc_templateinfosenderbuilder.cpp deleted file mode 100644 index 6140d81a0..000000000 --- a/src/moc_templateinfosenderbuilder.cpp +++ /dev/null @@ -1,444 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'templateinfosenderbuilder.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "templateinfosenderbuilder.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'templateinfosenderbuilder.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_TemplateInfoSenderBuilder_t { - QByteArrayData data[30]; - char stringdata0[441]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_TemplateInfoSenderBuilder_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_TemplateInfoSenderBuilder_t qt_meta_stringdata_TemplateInfoSenderBuilder = { - { -QT_MOC_LITERAL(0, 0, 25), // "TemplateInfoSenderBuilder" -QT_MOC_LITERAL(1, 26, 26), // "activityDescriptionChanged" -QT_MOC_LITERAL(2, 53, 0), // "" -QT_MOC_LITERAL(3, 54, 14), // "newDescription" -QT_MOC_LITERAL(4, 69, 10), // "chartSaved" -QT_MOC_LITERAL(5, 80, 8), // "filename" -QT_MOC_LITERAL(6, 89, 3), // "lap" -QT_MOC_LITERAL(7, 93, 13), // "floatingClose" -QT_MOC_LITERAL(8, 107, 18), // "pelotonOffset_Plus" -QT_MOC_LITERAL(9, 126, 19), // "pelotonOffset_Minus" -QT_MOC_LITERAL(10, 146, 10), // "gears_Plus" -QT_MOC_LITERAL(11, 157, 11), // "gears_Minus" -QT_MOC_LITERAL(12, 169, 13), // "pelotonOffset" -QT_MOC_LITERAL(13, 183, 15), // "pelotonAskStart" -QT_MOC_LITERAL(14, 199, 21), // "peloton_start_workout" -QT_MOC_LITERAL(15, 221, 21), // "peloton_abort_workout" -QT_MOC_LITERAL(16, 243, 5), // "Start" -QT_MOC_LITERAL(17, 249, 5), // "Pause" -QT_MOC_LITERAL(18, 255, 4), // "Stop" -QT_MOC_LITERAL(19, 260, 14), // "autoResistance" -QT_MOC_LITERAL(20, 275, 15), // "onUpdateTimeout" -QT_MOC_LITERAL(21, 291, 14), // "onDataReceived" -QT_MOC_LITERAL(22, 306, 4), // "data" -QT_MOC_LITERAL(23, 311, 20), // "onWorkoutNameChanged" -QT_MOC_LITERAL(24, 332, 4), // "name" -QT_MOC_LITERAL(25, 337, 18), // "onWorkoutStartDate" -QT_MOC_LITERAL(26, 356, 16), // "onInstructorName" -QT_MOC_LITERAL(27, 373, 24), // "workoutEventStateChanged" -QT_MOC_LITERAL(28, 398, 36), // "bluetoothdevice::WORKOUT_EVEN..." -QT_MOC_LITERAL(29, 435, 5) // "state" - - }, - "TemplateInfoSenderBuilder\0" - "activityDescriptionChanged\0\0newDescription\0" - "chartSaved\0filename\0lap\0floatingClose\0" - "pelotonOffset_Plus\0pelotonOffset_Minus\0" - "gears_Plus\0gears_Minus\0pelotonOffset\0" - "pelotonAskStart\0peloton_start_workout\0" - "peloton_abort_workout\0Start\0Pause\0" - "Stop\0autoResistance\0onUpdateTimeout\0" - "onDataReceived\0data\0onWorkoutNameChanged\0" - "name\0onWorkoutStartDate\0onInstructorName\0" - "workoutEventStateChanged\0" - "bluetoothdevice::WORKOUT_EVENT_STATE\0" - "state" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_TemplateInfoSenderBuilder[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 22, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 16, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 1, 124, 2, 0x06 /* Public */, - 4, 1, 127, 2, 0x06 /* Public */, - 6, 0, 130, 2, 0x06 /* Public */, - 7, 0, 131, 2, 0x06 /* Public */, - 8, 0, 132, 2, 0x06 /* Public */, - 9, 0, 133, 2, 0x06 /* Public */, - 10, 0, 134, 2, 0x06 /* Public */, - 11, 0, 135, 2, 0x06 /* Public */, - 12, 0, 136, 2, 0x06 /* Public */, - 13, 0, 137, 2, 0x06 /* Public */, - 14, 0, 138, 2, 0x06 /* Public */, - 15, 0, 139, 2, 0x06 /* Public */, - 16, 0, 140, 2, 0x06 /* Public */, - 17, 0, 141, 2, 0x06 /* Public */, - 18, 0, 142, 2, 0x06 /* Public */, - 19, 0, 143, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 20, 0, 144, 2, 0x08 /* Private */, - 21, 1, 145, 2, 0x08 /* Private */, - 23, 1, 148, 2, 0x0a /* Public */, - 25, 1, 151, 2, 0x0a /* Public */, - 26, 1, 154, 2, 0x0a /* Public */, - 27, 1, 157, 2, 0x0a /* Public */, - - // signals: parameters - QMetaType::Void, QMetaType::QString, 3, - QMetaType::Void, QMetaType::QString, 5, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Int, - QMetaType::Bool, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QByteArray, 22, - QMetaType::Void, QMetaType::QString, 24, - QMetaType::Void, QMetaType::QString, 24, - QMetaType::Void, QMetaType::QString, 24, - QMetaType::Void, 0x80000000 | 28, 29, - - 0 // eod -}; - -void TemplateInfoSenderBuilder::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->activityDescriptionChanged((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 1: _t->chartSaved((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->lap(); break; - case 3: _t->floatingClose(); break; - case 4: _t->pelotonOffset_Plus(); break; - case 5: _t->pelotonOffset_Minus(); break; - case 6: _t->gears_Plus(); break; - case 7: _t->gears_Minus(); break; - case 8: { int _r = _t->pelotonOffset(); - if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break; - case 9: { bool _r = _t->pelotonAskStart(); - if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break; - case 10: _t->peloton_start_workout(); break; - case 11: _t->peloton_abort_workout(); break; - case 12: _t->Start(); break; - case 13: _t->Pause(); break; - case 14: _t->Stop(); break; - case 15: _t->autoResistance(); break; - case 16: _t->onUpdateTimeout(); break; - case 17: _t->onDataReceived((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; - case 18: _t->onWorkoutNameChanged((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 19: _t->onWorkoutStartDate((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 20: _t->onInstructorName((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 21: _t->workoutEventStateChanged((*reinterpret_cast< bluetoothdevice::WORKOUT_EVENT_STATE(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (TemplateInfoSenderBuilder::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSenderBuilder::activityDescriptionChanged)) { - *result = 0; - return; - } - } - { - using _t = void (TemplateInfoSenderBuilder::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSenderBuilder::chartSaved)) { - *result = 1; - return; - } - } - { - using _t = void (TemplateInfoSenderBuilder::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSenderBuilder::lap)) { - *result = 2; - return; - } - } - { - using _t = void (TemplateInfoSenderBuilder::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSenderBuilder::floatingClose)) { - *result = 3; - return; - } - } - { - using _t = void (TemplateInfoSenderBuilder::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSenderBuilder::pelotonOffset_Plus)) { - *result = 4; - return; - } - } - { - using _t = void (TemplateInfoSenderBuilder::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSenderBuilder::pelotonOffset_Minus)) { - *result = 5; - return; - } - } - { - using _t = void (TemplateInfoSenderBuilder::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSenderBuilder::gears_Plus)) { - *result = 6; - return; - } - } - { - using _t = void (TemplateInfoSenderBuilder::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSenderBuilder::gears_Minus)) { - *result = 7; - return; - } - } - { - using _t = int (TemplateInfoSenderBuilder::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSenderBuilder::pelotonOffset)) { - *result = 8; - return; - } - } - { - using _t = bool (TemplateInfoSenderBuilder::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSenderBuilder::pelotonAskStart)) { - *result = 9; - return; - } - } - { - using _t = void (TemplateInfoSenderBuilder::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSenderBuilder::peloton_start_workout)) { - *result = 10; - return; - } - } - { - using _t = void (TemplateInfoSenderBuilder::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSenderBuilder::peloton_abort_workout)) { - *result = 11; - return; - } - } - { - using _t = void (TemplateInfoSenderBuilder::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSenderBuilder::Start)) { - *result = 12; - return; - } - } - { - using _t = void (TemplateInfoSenderBuilder::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSenderBuilder::Pause)) { - *result = 13; - return; - } - } - { - using _t = void (TemplateInfoSenderBuilder::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSenderBuilder::Stop)) { - *result = 14; - return; - } - } - { - using _t = void (TemplateInfoSenderBuilder::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TemplateInfoSenderBuilder::autoResistance)) { - *result = 15; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject TemplateInfoSenderBuilder::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_TemplateInfoSenderBuilder.data, - qt_meta_data_TemplateInfoSenderBuilder, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *TemplateInfoSenderBuilder::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *TemplateInfoSenderBuilder::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_TemplateInfoSenderBuilder.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int TemplateInfoSenderBuilder::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 22) - qt_static_metacall(this, _c, _id, _a); - _id -= 22; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 22) - *reinterpret_cast(_a[0]) = -1; - _id -= 22; - } - return _id; -} - -// SIGNAL 0 -void TemplateInfoSenderBuilder::activityDescriptionChanged(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void TemplateInfoSenderBuilder::chartSaved(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void TemplateInfoSenderBuilder::lap() -{ - QMetaObject::activate(this, &staticMetaObject, 2, nullptr); -} - -// SIGNAL 3 -void TemplateInfoSenderBuilder::floatingClose() -{ - QMetaObject::activate(this, &staticMetaObject, 3, nullptr); -} - -// SIGNAL 4 -void TemplateInfoSenderBuilder::pelotonOffset_Plus() -{ - QMetaObject::activate(this, &staticMetaObject, 4, nullptr); -} - -// SIGNAL 5 -void TemplateInfoSenderBuilder::pelotonOffset_Minus() -{ - QMetaObject::activate(this, &staticMetaObject, 5, nullptr); -} - -// SIGNAL 6 -void TemplateInfoSenderBuilder::gears_Plus() -{ - QMetaObject::activate(this, &staticMetaObject, 6, nullptr); -} - -// SIGNAL 7 -void TemplateInfoSenderBuilder::gears_Minus() -{ - QMetaObject::activate(this, &staticMetaObject, 7, nullptr); -} - -// SIGNAL 8 -int TemplateInfoSenderBuilder::pelotonOffset() -{ - int _t0{}; - void *_a[] = { const_cast(reinterpret_cast(std::addressof(_t0))) }; - QMetaObject::activate(this, &staticMetaObject, 8, _a); - return _t0; -} - -// SIGNAL 9 -bool TemplateInfoSenderBuilder::pelotonAskStart() -{ - bool _t0{}; - void *_a[] = { const_cast(reinterpret_cast(std::addressof(_t0))) }; - QMetaObject::activate(this, &staticMetaObject, 9, _a); - return _t0; -} - -// SIGNAL 10 -void TemplateInfoSenderBuilder::peloton_start_workout() -{ - QMetaObject::activate(this, &staticMetaObject, 10, nullptr); -} - -// SIGNAL 11 -void TemplateInfoSenderBuilder::peloton_abort_workout() -{ - QMetaObject::activate(this, &staticMetaObject, 11, nullptr); -} - -// SIGNAL 12 -void TemplateInfoSenderBuilder::Start() -{ - QMetaObject::activate(this, &staticMetaObject, 12, nullptr); -} - -// SIGNAL 13 -void TemplateInfoSenderBuilder::Pause() -{ - QMetaObject::activate(this, &staticMetaObject, 13, nullptr); -} - -// SIGNAL 14 -void TemplateInfoSenderBuilder::Stop() -{ - QMetaObject::activate(this, &staticMetaObject, 14, nullptr); -} - -// SIGNAL 15 -void TemplateInfoSenderBuilder::autoResistance() -{ - QMetaObject::activate(this, &staticMetaObject, 15, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_toorxtreadmill.cpp b/src/moc_toorxtreadmill.cpp deleted file mode 100644 index 0ad772458..000000000 --- a/src/moc_toorxtreadmill.cpp +++ /dev/null @@ -1,208 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'toorxtreadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "toorxtreadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'toorxtreadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_toorxtreadmill_t { - QByteArrayData data[16]; - char stringdata0[221]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_toorxtreadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_toorxtreadmill_t qt_meta_stringdata_toorxtreadmill = { - { -QT_MOC_LITERAL(0, 0, 14), // "toorxtreadmill" -QT_MOC_LITERAL(1, 15, 12), // "disconnected" -QT_MOC_LITERAL(2, 28, 0), // "" -QT_MOC_LITERAL(3, 29, 5), // "debug" -QT_MOC_LITERAL(4, 35, 6), // "string" -QT_MOC_LITERAL(5, 42, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 59, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 80, 6), // "device" -QT_MOC_LITERAL(8, 87, 17), // "serviceDiscovered" -QT_MOC_LITERAL(9, 105, 21), // "QBluetoothServiceInfo" -QT_MOC_LITERAL(10, 127, 7), // "service" -QT_MOC_LITERAL(11, 135, 10), // "readSocket" -QT_MOC_LITERAL(12, 146, 15), // "rfCommConnected" -QT_MOC_LITERAL(13, 162, 21), // "onSocketErrorOccurred" -QT_MOC_LITERAL(14, 184, 29), // "QBluetoothSocket::SocketError" -QT_MOC_LITERAL(15, 214, 6) // "update" - - }, - "toorxtreadmill\0disconnected\0\0debug\0" - "string\0deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0serviceDiscovered\0QBluetoothServiceInfo\0" - "service\0readSocket\0rfCommConnected\0" - "onSocketErrorOccurred\0" - "QBluetoothSocket::SocketError\0update" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_toorxtreadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 8, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 54, 2, 0x06 /* Public */, - 3, 1, 55, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 58, 2, 0x0a /* Public */, - 8, 1, 61, 2, 0x08 /* Private */, - 11, 0, 64, 2, 0x08 /* Private */, - 12, 0, 65, 2, 0x08 /* Private */, - 13, 1, 66, 2, 0x08 /* Private */, - 15, 0, 69, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, 10, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 14, 2, - QMetaType::Void, - - 0 // eod -}; - -void toorxtreadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothServiceInfo(*)>(_a[1]))); break; - case 4: _t->readSocket(); break; - case 5: _t->rfCommConnected(); break; - case 6: _t->onSocketErrorOccurred((*reinterpret_cast< QBluetoothSocket::SocketError(*)>(_a[1]))); break; - case 7: _t->update(); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothServiceInfo >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (toorxtreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&toorxtreadmill::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (toorxtreadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&toorxtreadmill::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject toorxtreadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_toorxtreadmill.data, - qt_meta_data_toorxtreadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *toorxtreadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *toorxtreadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_toorxtreadmill.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int toorxtreadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 8) - qt_static_metacall(this, _c, _id, _a); - _id -= 8; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 8) - qt_static_metacall(this, _c, _id, _a); - _id -= 8; - } - return _id; -} - -// SIGNAL 0 -void toorxtreadmill::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void toorxtreadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_trainprogram.cpp b/src/moc_trainprogram.cpp deleted file mode 100644 index 09334aeee..000000000 --- a/src/moc_trainprogram.cpp +++ /dev/null @@ -1,449 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'trainprogram.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "trainprogram.h" -#include -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'trainprogram.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_trainprogram_t { - QByteArrayData data[40]; - char stringdata0[510]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_trainprogram_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_trainprogram_t qt_meta_stringdata_trainprogram = { - { -QT_MOC_LITERAL(0, 0, 12), // "trainprogram" -QT_MOC_LITERAL(1, 13, 5), // "start" -QT_MOC_LITERAL(2, 19, 0), // "" -QT_MOC_LITERAL(3, 20, 4), // "stop" -QT_MOC_LITERAL(4, 25, 6), // "paused" -QT_MOC_LITERAL(5, 32, 3), // "lap" -QT_MOC_LITERAL(6, 36, 11), // "changeSpeed" -QT_MOC_LITERAL(7, 48, 5), // "speed" -QT_MOC_LITERAL(8, 54, 14), // "changeFanSpeed" -QT_MOC_LITERAL(9, 69, 7), // "uint8_t" -QT_MOC_LITERAL(10, 77, 17), // "changeInclination" -QT_MOC_LITERAL(11, 95, 5), // "grade" -QT_MOC_LITERAL(12, 101, 11), // "inclination" -QT_MOC_LITERAL(13, 113, 30), // "changeNextInclination300Meters" -QT_MOC_LITERAL(14, 144, 26), // "QList" -QT_MOC_LITERAL(15, 171, 16), // "changeResistance" -QT_MOC_LITERAL(16, 188, 12), // "resistance_t" -QT_MOC_LITERAL(17, 201, 10), // "resistance" -QT_MOC_LITERAL(18, 212, 32), // "changeRequestedPelotonResistance" -QT_MOC_LITERAL(19, 245, 6), // "int8_t" -QT_MOC_LITERAL(20, 252, 13), // "changeCadence" -QT_MOC_LITERAL(21, 266, 7), // "int16_t" -QT_MOC_LITERAL(22, 274, 7), // "cadence" -QT_MOC_LITERAL(23, 282, 11), // "changePower" -QT_MOC_LITERAL(24, 294, 7), // "int32_t" -QT_MOC_LITERAL(25, 302, 5), // "power" -QT_MOC_LITERAL(26, 308, 25), // "changeSpeedAndInclination" -QT_MOC_LITERAL(27, 334, 17), // "changeGeoPosition" -QT_MOC_LITERAL(28, 352, 14), // "QGeoCoordinate" -QT_MOC_LITERAL(29, 367, 1), // "p" -QT_MOC_LITERAL(30, 369, 7), // "azimuth" -QT_MOC_LITERAL(31, 377, 23), // "avgAzimuthNext300Meters" -QT_MOC_LITERAL(32, 401, 15), // "changeTimestamp" -QT_MOC_LITERAL(33, 417, 6), // "source" -QT_MOC_LITERAL(34, 424, 6), // "actual" -QT_MOC_LITERAL(35, 431, 12), // "toastRequest" -QT_MOC_LITERAL(36, 444, 7), // "message" -QT_MOC_LITERAL(37, 452, 13), // "onTapeStarted" -QT_MOC_LITERAL(38, 466, 9), // "scheduler" -QT_MOC_LITERAL(39, 476, 33) // "pelotonOCRprocessPendingDatag..." - - }, - "trainprogram\0start\0\0stop\0paused\0lap\0" - "changeSpeed\0speed\0changeFanSpeed\0" - "uint8_t\0changeInclination\0grade\0" - "inclination\0changeNextInclination300Meters\0" - "QList\0changeResistance\0" - "resistance_t\0resistance\0" - "changeRequestedPelotonResistance\0" - "int8_t\0changeCadence\0int16_t\0cadence\0" - "changePower\0int32_t\0power\0" - "changeSpeedAndInclination\0changeGeoPosition\0" - "QGeoCoordinate\0p\0azimuth\0" - "avgAzimuthNext300Meters\0changeTimestamp\0" - "source\0actual\0toastRequest\0message\0" - "onTapeStarted\0scheduler\0" - "pelotonOCRprocessPendingDatagrams" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_trainprogram[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 18, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 15, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 104, 2, 0x06 /* Public */, - 3, 1, 105, 2, 0x06 /* Public */, - 5, 0, 108, 2, 0x06 /* Public */, - 6, 1, 109, 2, 0x06 /* Public */, - 8, 1, 112, 2, 0x06 /* Public */, - 10, 2, 115, 2, 0x06 /* Public */, - 13, 1, 120, 2, 0x06 /* Public */, - 15, 1, 123, 2, 0x06 /* Public */, - 18, 1, 126, 2, 0x06 /* Public */, - 20, 1, 129, 2, 0x06 /* Public */, - 23, 1, 132, 2, 0x06 /* Public */, - 26, 2, 135, 2, 0x06 /* Public */, - 27, 3, 140, 2, 0x06 /* Public */, - 32, 2, 147, 2, 0x06 /* Public */, - 35, 1, 152, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 37, 0, 155, 2, 0x0a /* Public */, - 38, 0, 156, 2, 0x0a /* Public */, - 39, 0, 157, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::Bool, 4, - QMetaType::Void, - QMetaType::Void, QMetaType::Double, 7, - QMetaType::Bool, 0x80000000 | 9, 7, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 11, 12, - QMetaType::Void, 0x80000000 | 14, 2, - QMetaType::Void, 0x80000000 | 16, 17, - QMetaType::Void, 0x80000000 | 19, 17, - QMetaType::Void, 0x80000000 | 21, 22, - QMetaType::Void, 0x80000000 | 24, 25, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 7, 12, - QMetaType::Void, 0x80000000 | 28, QMetaType::Double, QMetaType::Double, 29, 30, 31, - QMetaType::Void, QMetaType::QTime, QMetaType::QTime, 33, 34, - QMetaType::Void, QMetaType::QString, 36, - - // slots: parameters - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - - 0 // eod -}; - -void trainprogram::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->start(); break; - case 1: _t->stop((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 2: _t->lap(); break; - case 3: _t->changeSpeed((*reinterpret_cast< double(*)>(_a[1]))); break; - case 4: { bool _r = _t->changeFanSpeed((*reinterpret_cast< uint8_t(*)>(_a[1]))); - if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break; - case 5: _t->changeInclination((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 6: _t->changeNextInclination300Meters((*reinterpret_cast< QList(*)>(_a[1]))); break; - case 7: _t->changeResistance((*reinterpret_cast< resistance_t(*)>(_a[1]))); break; - case 8: _t->changeRequestedPelotonResistance((*reinterpret_cast< int8_t(*)>(_a[1]))); break; - case 9: _t->changeCadence((*reinterpret_cast< int16_t(*)>(_a[1]))); break; - case 10: _t->changePower((*reinterpret_cast< int32_t(*)>(_a[1]))); break; - case 11: _t->changeSpeedAndInclination((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 12: _t->changeGeoPosition((*reinterpret_cast< QGeoCoordinate(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3]))); break; - case 13: _t->changeTimestamp((*reinterpret_cast< QTime(*)>(_a[1])),(*reinterpret_cast< QTime(*)>(_a[2]))); break; - case 14: _t->toastRequest((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 15: _t->onTapeStarted(); break; - case 16: _t->scheduler(); break; - case 17: _t->pelotonOCRprocessPendingDatagrams(); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 12: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QGeoCoordinate >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (trainprogram::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trainprogram::start)) { - *result = 0; - return; - } - } - { - using _t = void (trainprogram::*)(bool ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trainprogram::stop)) { - *result = 1; - return; - } - } - { - using _t = void (trainprogram::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trainprogram::lap)) { - *result = 2; - return; - } - } - { - using _t = void (trainprogram::*)(double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trainprogram::changeSpeed)) { - *result = 3; - return; - } - } - { - using _t = bool (trainprogram::*)(uint8_t ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trainprogram::changeFanSpeed)) { - *result = 4; - return; - } - } - { - using _t = void (trainprogram::*)(double , double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trainprogram::changeInclination)) { - *result = 5; - return; - } - } - { - using _t = void (trainprogram::*)(QList ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trainprogram::changeNextInclination300Meters)) { - *result = 6; - return; - } - } - { - using _t = void (trainprogram::*)(resistance_t ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trainprogram::changeResistance)) { - *result = 7; - return; - } - } - { - using _t = void (trainprogram::*)(int8_t ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trainprogram::changeRequestedPelotonResistance)) { - *result = 8; - return; - } - } - { - using _t = void (trainprogram::*)(int16_t ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trainprogram::changeCadence)) { - *result = 9; - return; - } - } - { - using _t = void (trainprogram::*)(int32_t ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trainprogram::changePower)) { - *result = 10; - return; - } - } - { - using _t = void (trainprogram::*)(double , double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trainprogram::changeSpeedAndInclination)) { - *result = 11; - return; - } - } - { - using _t = void (trainprogram::*)(QGeoCoordinate , double , double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trainprogram::changeGeoPosition)) { - *result = 12; - return; - } - } - { - using _t = void (trainprogram::*)(QTime , QTime ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trainprogram::changeTimestamp)) { - *result = 13; - return; - } - } - { - using _t = void (trainprogram::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trainprogram::toastRequest)) { - *result = 14; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject trainprogram::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_trainprogram.data, - qt_meta_data_trainprogram, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *trainprogram::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *trainprogram::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_trainprogram.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int trainprogram::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 18) - qt_static_metacall(this, _c, _id, _a); - _id -= 18; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 18) - qt_static_metacall(this, _c, _id, _a); - _id -= 18; - } - return _id; -} - -// SIGNAL 0 -void trainprogram::start() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void trainprogram::stop(bool _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void trainprogram::lap() -{ - QMetaObject::activate(this, &staticMetaObject, 2, nullptr); -} - -// SIGNAL 3 -void trainprogram::changeSpeed(double _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 3, _a); -} - -// SIGNAL 4 -bool trainprogram::changeFanSpeed(uint8_t _t1) -{ - bool _t0{}; - void *_a[] = { const_cast(reinterpret_cast(std::addressof(_t0))), const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 4, _a); - return _t0; -} - -// SIGNAL 5 -void trainprogram::changeInclination(double _t1, double _t2) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; - QMetaObject::activate(this, &staticMetaObject, 5, _a); -} - -// SIGNAL 6 -void trainprogram::changeNextInclination300Meters(QList _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 6, _a); -} - -// SIGNAL 7 -void trainprogram::changeResistance(resistance_t _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 7, _a); -} - -// SIGNAL 8 -void trainprogram::changeRequestedPelotonResistance(int8_t _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 8, _a); -} - -// SIGNAL 9 -void trainprogram::changeCadence(int16_t _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 9, _a); -} - -// SIGNAL 10 -void trainprogram::changePower(int32_t _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 10, _a); -} - -// SIGNAL 11 -void trainprogram::changeSpeedAndInclination(double _t1, double _t2) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; - QMetaObject::activate(this, &staticMetaObject, 11, _a); -} - -// SIGNAL 12 -void trainprogram::changeGeoPosition(QGeoCoordinate _t1, double _t2, double _t3) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))), const_cast(reinterpret_cast(std::addressof(_t3))) }; - QMetaObject::activate(this, &staticMetaObject, 12, _a); -} - -// SIGNAL 13 -void trainprogram::changeTimestamp(QTime _t1, QTime _t2) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; - QMetaObject::activate(this, &staticMetaObject, 13, _a); -} - -// SIGNAL 14 -void trainprogram::toastRequest(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 14, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_treadmill.cpp b/src/moc_treadmill.cpp deleted file mode 100644 index 9b07c286d..000000000 --- a/src/moc_treadmill.cpp +++ /dev/null @@ -1,191 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'treadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "treadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'treadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_treadmill_t { - QByteArrayData data[23]; - char stringdata0[302]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_treadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_treadmill_t qt_meta_stringdata_treadmill = { - { -QT_MOC_LITERAL(0, 0, 9), // "treadmill" -QT_MOC_LITERAL(1, 10, 11), // "tapeStarted" -QT_MOC_LITERAL(2, 22, 0), // "" -QT_MOC_LITERAL(3, 23, 11), // "changeSpeed" -QT_MOC_LITERAL(4, 35, 5), // "speed" -QT_MOC_LITERAL(5, 41, 17), // "changeInclination" -QT_MOC_LITERAL(6, 59, 5), // "grade" -QT_MOC_LITERAL(7, 65, 10), // "percentage" -QT_MOC_LITERAL(8, 76, 25), // "changeSpeedAndInclination" -QT_MOC_LITERAL(9, 102, 11), // "inclination" -QT_MOC_LITERAL(10, 114, 13), // "cadenceSensor" -QT_MOC_LITERAL(11, 128, 7), // "uint8_t" -QT_MOC_LITERAL(12, 136, 7), // "cadence" -QT_MOC_LITERAL(13, 144, 11), // "powerSensor" -QT_MOC_LITERAL(14, 156, 8), // "uint16_t" -QT_MOC_LITERAL(15, 165, 5), // "power" -QT_MOC_LITERAL(16, 171, 11), // "speedSensor" -QT_MOC_LITERAL(17, 183, 31), // "instantaneousStrideLengthSensor" -QT_MOC_LITERAL(18, 215, 6), // "length" -QT_MOC_LITERAL(19, 222, 19), // "groundContactSensor" -QT_MOC_LITERAL(20, 242, 13), // "groundContact" -QT_MOC_LITERAL(21, 256, 25), // "verticalOscillationSensor" -QT_MOC_LITERAL(22, 282, 19) // "verticalOscillation" - - }, - "treadmill\0tapeStarted\0\0changeSpeed\0" - "speed\0changeInclination\0grade\0percentage\0" - "changeSpeedAndInclination\0inclination\0" - "cadenceSensor\0uint8_t\0cadence\0powerSensor\0" - "uint16_t\0power\0speedSensor\0" - "instantaneousStrideLengthSensor\0length\0" - "groundContactSensor\0groundContact\0" - "verticalOscillationSensor\0verticalOscillation" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_treadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 10, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 64, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 3, 1, 65, 2, 0x0a /* Public */, - 5, 2, 68, 2, 0x0a /* Public */, - 8, 2, 73, 2, 0x0a /* Public */, - 10, 1, 78, 2, 0x0a /* Public */, - 13, 1, 81, 2, 0x0a /* Public */, - 16, 1, 84, 2, 0x0a /* Public */, - 17, 1, 87, 2, 0x0a /* Public */, - 19, 1, 90, 2, 0x0a /* Public */, - 21, 1, 93, 2, 0x0a /* Public */, - - // signals: parameters - QMetaType::Void, - - // slots: parameters - QMetaType::Void, QMetaType::Double, 4, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 6, 7, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 4, 9, - QMetaType::Void, 0x80000000 | 11, 12, - QMetaType::Void, 0x80000000 | 14, 15, - QMetaType::Void, QMetaType::Double, 4, - QMetaType::Void, QMetaType::Double, 18, - QMetaType::Void, QMetaType::Double, 20, - QMetaType::Void, QMetaType::Double, 22, - - 0 // eod -}; - -void treadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->tapeStarted(); break; - case 1: _t->changeSpeed((*reinterpret_cast< double(*)>(_a[1]))); break; - case 2: _t->changeInclination((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 3: _t->changeSpeedAndInclination((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 4: _t->cadenceSensor((*reinterpret_cast< uint8_t(*)>(_a[1]))); break; - case 5: _t->powerSensor((*reinterpret_cast< uint16_t(*)>(_a[1]))); break; - case 6: _t->speedSensor((*reinterpret_cast< double(*)>(_a[1]))); break; - case 7: _t->instantaneousStrideLengthSensor((*reinterpret_cast< double(*)>(_a[1]))); break; - case 8: _t->groundContactSensor((*reinterpret_cast< double(*)>(_a[1]))); break; - case 9: _t->verticalOscillationSensor((*reinterpret_cast< double(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (treadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&treadmill::tapeStarted)) { - *result = 0; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject treadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_treadmill.data, - qt_meta_data_treadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *treadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *treadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_treadmill.stringdata0)) - return static_cast(this); - return bluetoothdevice::qt_metacast(_clname); -} - -int treadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bluetoothdevice::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 10) - qt_static_metacall(this, _c, _id, _a); - _id -= 10; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 10) - *reinterpret_cast(_a[0]) = -1; - _id -= 10; - } - return _id; -} - -// SIGNAL 0 -void treadmill::tapeStarted() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_truetreadmill.cpp b/src/moc_truetreadmill.cpp deleted file mode 100644 index 09084c9a4..000000000 --- a/src/moc_truetreadmill.cpp +++ /dev/null @@ -1,339 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'truetreadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "truetreadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'truetreadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_truetreadmill_t { - QByteArrayData data[37]; - 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_truetreadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_truetreadmill_t qt_meta_stringdata_truetreadmill = { - { -QT_MOC_LITERAL(0, 0, 13), // "truetreadmill" -QT_MOC_LITERAL(1, 14, 12), // "disconnected" -QT_MOC_LITERAL(2, 27, 0), // "" -QT_MOC_LITERAL(3, 28, 5), // "debug" -QT_MOC_LITERAL(4, 34, 6), // "string" -QT_MOC_LITERAL(5, 41, 12), // "speedChanged" -QT_MOC_LITERAL(6, 54, 5), // "speed" -QT_MOC_LITERAL(7, 60, 14), // "packetReceived" -QT_MOC_LITERAL(8, 75, 16), // "deviceDiscovered" -QT_MOC_LITERAL(9, 92, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(10, 113, 6), // "device" -QT_MOC_LITERAL(11, 120, 21), // "characteristicChanged" -QT_MOC_LITERAL(12, 142, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(13, 167, 14), // "characteristic" -QT_MOC_LITERAL(14, 182, 8), // "newValue" -QT_MOC_LITERAL(15, 191, 21), // "characteristicWritten" -QT_MOC_LITERAL(16, 213, 17), // "descriptorWritten" -QT_MOC_LITERAL(17, 231, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(18, 252, 10), // "descriptor" -QT_MOC_LITERAL(19, 263, 12), // "stateChanged" -QT_MOC_LITERAL(20, 276, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(21, 308, 5), // "state" -QT_MOC_LITERAL(22, 314, 22), // "controllerStateChanged" -QT_MOC_LITERAL(23, 337, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(24, 375, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(25, 402, 5), // "grade" -QT_MOC_LITERAL(26, 408, 10), // "percentage" -QT_MOC_LITERAL(27, 419, 17), // "serviceDiscovered" -QT_MOC_LITERAL(28, 437, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(29, 452, 4), // "gatt" -QT_MOC_LITERAL(30, 457, 15), // "serviceScanDone" -QT_MOC_LITERAL(31, 473, 6), // "update" -QT_MOC_LITERAL(32, 480, 5), // "error" -QT_MOC_LITERAL(33, 486, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(34, 514, 3), // "err" -QT_MOC_LITERAL(35, 518, 12), // "errorService" -QT_MOC_LITERAL(36, 531, 31) // "QLowEnergyService::ServiceError" - - }, - "truetreadmill\0disconnected\0\0debug\0" - "string\0speedChanged\0speed\0packetReceived\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "changeInclinationRequested\0grade\0" - "percentage\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0serviceScanDone\0" - "update\0error\0QLowEnergyController::Error\0" - "err\0errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_truetreadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 16, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 4, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 94, 2, 0x06 /* Public */, - 3, 1, 95, 2, 0x06 /* Public */, - 5, 1, 98, 2, 0x06 /* Public */, - 7, 0, 101, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 8, 1, 102, 2, 0x0a /* Public */, - 11, 2, 105, 2, 0x08 /* Private */, - 15, 2, 110, 2, 0x08 /* Private */, - 16, 2, 115, 2, 0x08 /* Private */, - 19, 1, 120, 2, 0x08 /* Private */, - 22, 1, 123, 2, 0x08 /* Private */, - 24, 2, 126, 2, 0x08 /* Private */, - 27, 1, 131, 2, 0x08 /* Private */, - 30, 0, 134, 2, 0x08 /* Private */, - 31, 0, 135, 2, 0x08 /* Private */, - 32, 1, 136, 2, 0x08 /* Private */, - 35, 1, 139, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, QMetaType::Double, 6, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 9, 10, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 20, 21, - QMetaType::Void, 0x80000000 | 23, 21, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 25, 26, - QMetaType::Void, 0x80000000 | 28, 29, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 33, 34, - QMetaType::Void, 0x80000000 | 36, 2, - - 0 // eod -}; - -void truetreadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->speedChanged((*reinterpret_cast< double(*)>(_a[1]))); break; - case 3: _t->packetReceived(); break; - case 4: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 5: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 9: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 10: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 11: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 12: _t->serviceScanDone(); break; - case 13: _t->update(); break; - case 14: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 15: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 15: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (truetreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&truetreadmill::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (truetreadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&truetreadmill::debug)) { - *result = 1; - return; - } - } - { - using _t = void (truetreadmill::*)(double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&truetreadmill::speedChanged)) { - *result = 2; - return; - } - } - { - using _t = void (truetreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&truetreadmill::packetReceived)) { - *result = 3; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject truetreadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_truetreadmill.data, - qt_meta_data_truetreadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *truetreadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *truetreadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_truetreadmill.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int truetreadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } - return _id; -} - -// SIGNAL 0 -void truetreadmill::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void truetreadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void truetreadmill::speedChanged(double _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} - -// SIGNAL 3 -void truetreadmill::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 3, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_trxappgateusbbike.cpp b/src/moc_trxappgateusbbike.cpp deleted file mode 100644 index f5baec4ed..000000000 --- a/src/moc_trxappgateusbbike.cpp +++ /dev/null @@ -1,312 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'trxappgateusbbike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "trxappgateusbbike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'trxappgateusbbike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_trxappgateusbbike_t { - QByteArrayData data[32]; - char stringdata0[504]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_trxappgateusbbike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_trxappgateusbbike_t qt_meta_stringdata_trxappgateusbbike = { - { -QT_MOC_LITERAL(0, 0, 17), // "trxappgateusbbike" -QT_MOC_LITERAL(1, 18, 12), // "disconnected" -QT_MOC_LITERAL(2, 31, 0), // "" -QT_MOC_LITERAL(3, 32, 5), // "debug" -QT_MOC_LITERAL(4, 38, 6), // "string" -QT_MOC_LITERAL(5, 45, 14), // "packetReceived" -QT_MOC_LITERAL(6, 60, 16), // "deviceDiscovered" -QT_MOC_LITERAL(7, 77, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(8, 98, 6), // "device" -QT_MOC_LITERAL(9, 105, 21), // "characteristicChanged" -QT_MOC_LITERAL(10, 127, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(11, 152, 14), // "characteristic" -QT_MOC_LITERAL(12, 167, 8), // "newValue" -QT_MOC_LITERAL(13, 176, 21), // "characteristicWritten" -QT_MOC_LITERAL(14, 198, 17), // "descriptorWritten" -QT_MOC_LITERAL(15, 216, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(16, 237, 10), // "descriptor" -QT_MOC_LITERAL(17, 248, 12), // "stateChanged" -QT_MOC_LITERAL(18, 261, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(19, 293, 5), // "state" -QT_MOC_LITERAL(20, 299, 22), // "controllerStateChanged" -QT_MOC_LITERAL(21, 322, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(22, 360, 17), // "serviceDiscovered" -QT_MOC_LITERAL(23, 378, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(24, 393, 4), // "gatt" -QT_MOC_LITERAL(25, 398, 15), // "serviceScanDone" -QT_MOC_LITERAL(26, 414, 6), // "update" -QT_MOC_LITERAL(27, 421, 5), // "error" -QT_MOC_LITERAL(28, 427, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(29, 455, 3), // "err" -QT_MOC_LITERAL(30, 459, 12), // "errorService" -QT_MOC_LITERAL(31, 472, 31) // "QLowEnergyService::ServiceError" - - }, - "trxappgateusbbike\0disconnected\0\0debug\0" - "string\0packetReceived\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0" - "characteristicChanged\0QLowEnergyCharacteristic\0" - "characteristic\0newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_trxappgateusbbike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 14, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 3, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 84, 2, 0x06 /* Public */, - 3, 1, 85, 2, 0x06 /* Public */, - 5, 0, 88, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 6, 1, 89, 2, 0x0a /* Public */, - 9, 2, 92, 2, 0x08 /* Private */, - 13, 2, 97, 2, 0x08 /* Private */, - 14, 2, 102, 2, 0x08 /* Private */, - 17, 1, 107, 2, 0x08 /* Private */, - 20, 1, 110, 2, 0x08 /* Private */, - 22, 1, 113, 2, 0x08 /* Private */, - 25, 0, 116, 2, 0x08 /* Private */, - 26, 0, 117, 2, 0x08 /* Private */, - 27, 1, 118, 2, 0x08 /* Private */, - 30, 1, 121, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 7, 8, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 15, QMetaType::QByteArray, 16, 12, - QMetaType::Void, 0x80000000 | 18, 19, - QMetaType::Void, 0x80000000 | 21, 19, - QMetaType::Void, 0x80000000 | 23, 24, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 28, 29, - QMetaType::Void, 0x80000000 | 31, 2, - - 0 // eod -}; - -void trxappgateusbbike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->packetReceived(); break; - case 3: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 4: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 8: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 9: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 10: _t->serviceScanDone(); break; - case 11: _t->update(); break; - case 12: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 13: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 12: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (trxappgateusbbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trxappgateusbbike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (trxappgateusbbike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trxappgateusbbike::debug)) { - *result = 1; - return; - } - } - { - using _t = void (trxappgateusbbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trxappgateusbbike::packetReceived)) { - *result = 2; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject trxappgateusbbike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_trxappgateusbbike.data, - qt_meta_data_trxappgateusbbike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *trxappgateusbbike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *trxappgateusbbike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_trxappgateusbbike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int trxappgateusbbike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 14) - qt_static_metacall(this, _c, _id, _a); - _id -= 14; - } - return _id; -} - -// SIGNAL 0 -void trxappgateusbbike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void trxappgateusbbike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void trxappgateusbbike::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 2, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_trxappgateusbtreadmill.cpp b/src/moc_trxappgateusbtreadmill.cpp deleted file mode 100644 index 5dd1ca2b7..000000000 --- a/src/moc_trxappgateusbtreadmill.cpp +++ /dev/null @@ -1,320 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'trxappgateusbtreadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "trxappgateusbtreadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'trxappgateusbtreadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_trxappgateusbtreadmill_t { - QByteArrayData data[35]; - char stringdata0[553]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_trxappgateusbtreadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_trxappgateusbtreadmill_t qt_meta_stringdata_trxappgateusbtreadmill = { - { -QT_MOC_LITERAL(0, 0, 22), // "trxappgateusbtreadmill" -QT_MOC_LITERAL(1, 23, 12), // "disconnected" -QT_MOC_LITERAL(2, 36, 0), // "" -QT_MOC_LITERAL(3, 37, 5), // "debug" -QT_MOC_LITERAL(4, 43, 6), // "string" -QT_MOC_LITERAL(5, 50, 14), // "packetReceived" -QT_MOC_LITERAL(6, 65, 16), // "deviceDiscovered" -QT_MOC_LITERAL(7, 82, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(8, 103, 6), // "device" -QT_MOC_LITERAL(9, 110, 21), // "characteristicChanged" -QT_MOC_LITERAL(10, 132, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(11, 157, 14), // "characteristic" -QT_MOC_LITERAL(12, 172, 8), // "newValue" -QT_MOC_LITERAL(13, 181, 21), // "characteristicWritten" -QT_MOC_LITERAL(14, 203, 17), // "descriptorWritten" -QT_MOC_LITERAL(15, 221, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(16, 242, 10), // "descriptor" -QT_MOC_LITERAL(17, 253, 12), // "stateChanged" -QT_MOC_LITERAL(18, 266, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(19, 298, 5), // "state" -QT_MOC_LITERAL(20, 304, 22), // "controllerStateChanged" -QT_MOC_LITERAL(21, 327, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(22, 365, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(23, 392, 5), // "grade" -QT_MOC_LITERAL(24, 398, 10), // "percentage" -QT_MOC_LITERAL(25, 409, 17), // "serviceDiscovered" -QT_MOC_LITERAL(26, 427, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(27, 442, 4), // "gatt" -QT_MOC_LITERAL(28, 447, 15), // "serviceScanDone" -QT_MOC_LITERAL(29, 463, 6), // "update" -QT_MOC_LITERAL(30, 470, 5), // "error" -QT_MOC_LITERAL(31, 476, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(32, 504, 3), // "err" -QT_MOC_LITERAL(33, 508, 12), // "errorService" -QT_MOC_LITERAL(34, 521, 31) // "QLowEnergyService::ServiceError" - - }, - "trxappgateusbtreadmill\0disconnected\0" - "\0debug\0string\0packetReceived\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "changeInclinationRequested\0grade\0" - "percentage\0serviceDiscovered\0" - "QBluetoothUuid\0gatt\0serviceScanDone\0" - "update\0error\0QLowEnergyController::Error\0" - "err\0errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_trxappgateusbtreadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 15, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 3, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 89, 2, 0x06 /* Public */, - 3, 1, 90, 2, 0x06 /* Public */, - 5, 0, 93, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 6, 1, 94, 2, 0x0a /* Public */, - 9, 2, 97, 2, 0x08 /* Private */, - 13, 2, 102, 2, 0x08 /* Private */, - 14, 2, 107, 2, 0x08 /* Private */, - 17, 1, 112, 2, 0x08 /* Private */, - 20, 1, 115, 2, 0x08 /* Private */, - 22, 2, 118, 2, 0x08 /* Private */, - 25, 1, 123, 2, 0x08 /* Private */, - 28, 0, 126, 2, 0x08 /* Private */, - 29, 0, 127, 2, 0x08 /* Private */, - 30, 1, 128, 2, 0x08 /* Private */, - 33, 1, 131, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 7, 8, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 10, QMetaType::QByteArray, 11, 12, - QMetaType::Void, 0x80000000 | 15, QMetaType::QByteArray, 16, 12, - QMetaType::Void, 0x80000000 | 18, 19, - QMetaType::Void, 0x80000000 | 21, 19, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 23, 24, - QMetaType::Void, 0x80000000 | 26, 27, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 31, 32, - QMetaType::Void, 0x80000000 | 34, 2, - - 0 // eod -}; - -void trxappgateusbtreadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->packetReceived(); break; - case 3: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 4: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 8: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 9: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 10: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 11: _t->serviceScanDone(); break; - case 12: _t->update(); break; - case 13: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 14: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (trxappgateusbtreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trxappgateusbtreadmill::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (trxappgateusbtreadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trxappgateusbtreadmill::debug)) { - *result = 1; - return; - } - } - { - using _t = void (trxappgateusbtreadmill::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&trxappgateusbtreadmill::packetReceived)) { - *result = 2; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject trxappgateusbtreadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_trxappgateusbtreadmill.data, - qt_meta_data_trxappgateusbtreadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *trxappgateusbtreadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *trxappgateusbtreadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_trxappgateusbtreadmill.stringdata0)) - return static_cast(this); - return treadmill::qt_metacast(_clname); -} - -int trxappgateusbtreadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = treadmill::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) - qt_static_metacall(this, _c, _id, _a); - _id -= 15; - } - return _id; -} - -// SIGNAL 0 -void trxappgateusbtreadmill::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void trxappgateusbtreadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void trxappgateusbtreadmill::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 2, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_ultrasportbike.cpp b/src/moc_ultrasportbike.cpp deleted file mode 100644 index 9966ae452..000000000 --- a/src/moc_ultrasportbike.cpp +++ /dev/null @@ -1,276 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'ultrasportbike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "ultrasportbike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'ultrasportbike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_ultrasportbike_t { - QByteArrayData data[29]; - char stringdata0[473]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_ultrasportbike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_ultrasportbike_t qt_meta_stringdata_ultrasportbike = { - { -QT_MOC_LITERAL(0, 0, 14), // "ultrasportbike" -QT_MOC_LITERAL(1, 15, 12), // "disconnected" -QT_MOC_LITERAL(2, 28, 0), // "" -QT_MOC_LITERAL(3, 29, 16), // "deviceDiscovered" -QT_MOC_LITERAL(4, 46, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(5, 67, 6), // "device" -QT_MOC_LITERAL(6, 74, 21), // "characteristicChanged" -QT_MOC_LITERAL(7, 96, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(8, 121, 14), // "characteristic" -QT_MOC_LITERAL(9, 136, 8), // "newValue" -QT_MOC_LITERAL(10, 145, 21), // "characteristicWritten" -QT_MOC_LITERAL(11, 167, 17), // "descriptorWritten" -QT_MOC_LITERAL(12, 185, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(13, 206, 10), // "descriptor" -QT_MOC_LITERAL(14, 217, 12), // "stateChanged" -QT_MOC_LITERAL(15, 230, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(16, 262, 5), // "state" -QT_MOC_LITERAL(17, 268, 22), // "controllerStateChanged" -QT_MOC_LITERAL(18, 291, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(19, 329, 17), // "serviceDiscovered" -QT_MOC_LITERAL(20, 347, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(21, 362, 4), // "gatt" -QT_MOC_LITERAL(22, 367, 15), // "serviceScanDone" -QT_MOC_LITERAL(23, 383, 6), // "update" -QT_MOC_LITERAL(24, 390, 5), // "error" -QT_MOC_LITERAL(25, 396, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(26, 424, 3), // "err" -QT_MOC_LITERAL(27, 428, 12), // "errorService" -QT_MOC_LITERAL(28, 441, 31) // "QLowEnergyService::ServiceError" - - }, - "ultrasportbike\0disconnected\0\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_ultrasportbike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 12, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 74, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 3, 1, 75, 2, 0x0a /* Public */, - 6, 2, 78, 2, 0x08 /* Private */, - 10, 2, 83, 2, 0x08 /* Private */, - 11, 2, 88, 2, 0x08 /* Private */, - 14, 1, 93, 2, 0x08 /* Private */, - 17, 1, 96, 2, 0x08 /* Private */, - 19, 1, 99, 2, 0x08 /* Private */, - 22, 0, 102, 2, 0x08 /* Private */, - 23, 0, 103, 2, 0x08 /* Private */, - 24, 1, 104, 2, 0x08 /* Private */, - 27, 1, 107, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 4, 5, - QMetaType::Void, 0x80000000 | 7, QMetaType::QByteArray, 8, 9, - QMetaType::Void, 0x80000000 | 7, QMetaType::QByteArray, 8, 9, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 9, - QMetaType::Void, 0x80000000 | 15, 16, - QMetaType::Void, 0x80000000 | 18, 16, - QMetaType::Void, 0x80000000 | 20, 21, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 25, 26, - QMetaType::Void, 0x80000000 | 28, 2, - - 0 // eod -}; - -void ultrasportbike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 2: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 3: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 6: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 7: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 8: _t->serviceScanDone(); break; - case 9: _t->update(); break; - case 10: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 11: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 1: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (ultrasportbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ultrasportbike::disconnected)) { - *result = 0; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject ultrasportbike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_ultrasportbike.data, - qt_meta_data_ultrasportbike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *ultrasportbike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *ultrasportbike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_ultrasportbike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int ultrasportbike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } - return _id; -} - -// SIGNAL 0 -void ultrasportbike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_virtualbike.cpp b/src/moc_virtualbike.cpp deleted file mode 100644 index 8fae0ad42..000000000 --- a/src/moc_virtualbike.cpp +++ /dev/null @@ -1,221 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'virtualbike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "virtualbike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'virtualbike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_virtualbike_t { - QByteArrayData data[16]; - char stringdata0[243]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_virtualbike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_virtualbike_t qt_meta_stringdata_virtualbike = { - { -QT_MOC_LITERAL(0, 0, 11), // "virtualbike" -QT_MOC_LITERAL(1, 12, 17), // "changeInclination" -QT_MOC_LITERAL(2, 30, 0), // "" -QT_MOC_LITERAL(3, 31, 5), // "grade" -QT_MOC_LITERAL(4, 37, 10), // "percentage" -QT_MOC_LITERAL(5, 48, 25), // "ftmsCharacteristicChanged" -QT_MOC_LITERAL(6, 74, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(7, 99, 14), // "characteristic" -QT_MOC_LITERAL(8, 114, 8), // "newValue" -QT_MOC_LITERAL(9, 123, 31), // "dirconFtmsCharacteristicChanged" -QT_MOC_LITERAL(10, 155, 21), // "characteristicChanged" -QT_MOC_LITERAL(11, 177, 12), // "bikeProvider" -QT_MOC_LITERAL(12, 190, 9), // "reconnect" -QT_MOC_LITERAL(13, 200, 5), // "error" -QT_MOC_LITERAL(14, 206, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(15, 234, 8) // "newError" - - }, - "virtualbike\0changeInclination\0\0grade\0" - "percentage\0ftmsCharacteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0dirconFtmsCharacteristicChanged\0" - "characteristicChanged\0bikeProvider\0" - "reconnect\0error\0QLowEnergyController::Error\0" - "newError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_virtualbike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 7, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 2, 49, 2, 0x06 /* Public */, - 5, 2, 54, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 9, 2, 59, 2, 0x08 /* Private */, - 10, 2, 64, 2, 0x08 /* Private */, - 11, 0, 69, 2, 0x08 /* Private */, - 12, 0, 70, 2, 0x08 /* Private */, - 13, 1, 71, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, QMetaType::Double, QMetaType::Double, 3, 4, - QMetaType::Void, 0x80000000 | 6, QMetaType::QByteArray, 7, 8, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, QMetaType::QByteArray, 7, 8, - QMetaType::Void, 0x80000000 | 6, QMetaType::QByteArray, 7, 8, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 14, 15, - - 0 // eod -}; - -void virtualbike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->changeInclination((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 1: _t->ftmsCharacteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 2: _t->dirconFtmsCharacteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->bikeProvider(); break; - case 5: _t->reconnect(); break; - case 6: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 1: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (virtualbike::*)(double , double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&virtualbike::changeInclination)) { - *result = 0; - return; - } - } - { - using _t = void (virtualbike::*)(const QLowEnergyCharacteristic & , const QByteArray & ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&virtualbike::ftmsCharacteristicChanged)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject virtualbike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_virtualbike.data, - qt_meta_data_virtualbike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *virtualbike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *virtualbike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_virtualbike.stringdata0)) - return static_cast(this); - return virtualdevice::qt_metacast(_clname); -} - -int virtualbike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = virtualdevice::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 7) - qt_static_metacall(this, _c, _id, _a); - _id -= 7; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 7) - qt_static_metacall(this, _c, _id, _a); - _id -= 7; - } - return _id; -} - -// SIGNAL 0 -void virtualbike::changeInclination(double _t1, double _t2) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void virtualbike::ftmsCharacteristicChanged(const QLowEnergyCharacteristic & _t1, const QByteArray & _t2) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_virtualdevice.cpp b/src/moc_virtualdevice.cpp deleted file mode 100644 index b99c11481..000000000 --- a/src/moc_virtualdevice.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'virtualdevice.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "virtualdevice.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'virtualdevice.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_virtualdevice_t { - QByteArrayData data[1]; - char stringdata0[14]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_virtualdevice_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_virtualdevice_t qt_meta_stringdata_virtualdevice = { - { -QT_MOC_LITERAL(0, 0, 13) // "virtualdevice" - - }, - "virtualdevice" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_virtualdevice[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void virtualdevice::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject virtualdevice::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_virtualdevice.data, - qt_meta_data_virtualdevice, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *virtualdevice::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *virtualdevice::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_virtualdevice.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int virtualdevice::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_virtualrower.cpp b/src/moc_virtualrower.cpp deleted file mode 100644 index a6ad890ca..000000000 --- a/src/moc_virtualrower.cpp +++ /dev/null @@ -1,188 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'virtualrower.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "virtualrower.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'virtualrower.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_virtualrower_t { - QByteArrayData data[12]; - char stringdata0[178]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_virtualrower_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_virtualrower_t qt_meta_stringdata_virtualrower = { - { -QT_MOC_LITERAL(0, 0, 12), // "virtualrower" -QT_MOC_LITERAL(1, 13, 25), // "ftmsCharacteristicChanged" -QT_MOC_LITERAL(2, 39, 0), // "" -QT_MOC_LITERAL(3, 40, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(4, 65, 14), // "characteristic" -QT_MOC_LITERAL(5, 80, 8), // "newValue" -QT_MOC_LITERAL(6, 89, 21), // "characteristicChanged" -QT_MOC_LITERAL(7, 111, 13), // "rowerProvider" -QT_MOC_LITERAL(8, 125, 9), // "reconnect" -QT_MOC_LITERAL(9, 135, 5), // "error" -QT_MOC_LITERAL(10, 141, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(11, 169, 8) // "newError" - - }, - "virtualrower\0ftmsCharacteristicChanged\0" - "\0QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicChanged\0" - "rowerProvider\0reconnect\0error\0" - "QLowEnergyController::Error\0newError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_virtualrower[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 5, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 2, 39, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 6, 2, 44, 2, 0x08 /* Private */, - 7, 0, 49, 2, 0x08 /* Private */, - 8, 0, 50, 2, 0x08 /* Private */, - 9, 1, 51, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, 0x80000000 | 3, QMetaType::QByteArray, 4, 5, - - // slots: parameters - QMetaType::Void, 0x80000000 | 3, QMetaType::QByteArray, 4, 5, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 10, 11, - - 0 // eod -}; - -void virtualrower::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->ftmsCharacteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 1: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 2: _t->rowerProvider(); break; - case 3: _t->reconnect(); break; - case 4: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 1: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (virtualrower::*)(const QLowEnergyCharacteristic & , const QByteArray & ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&virtualrower::ftmsCharacteristicChanged)) { - *result = 0; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject virtualrower::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_virtualrower.data, - qt_meta_data_virtualrower, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *virtualrower::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *virtualrower::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_virtualrower.stringdata0)) - return static_cast(this); - return virtualdevice::qt_metacast(_clname); -} - -int virtualrower::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = virtualdevice::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 5) - qt_static_metacall(this, _c, _id, _a); - _id -= 5; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 5) - qt_static_metacall(this, _c, _id, _a); - _id -= 5; - } - return _id; -} - -// SIGNAL 0 -void virtualrower::ftmsCharacteristicChanged(const QLowEnergyCharacteristic & _t1, const QByteArray & _t2) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_virtualtreadmill.cpp b/src/moc_virtualtreadmill.cpp deleted file mode 100644 index 4d5d12060..000000000 --- a/src/moc_virtualtreadmill.cpp +++ /dev/null @@ -1,224 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'virtualtreadmill.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "virtualtreadmill.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'virtualtreadmill.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_virtualtreadmill_t { - QByteArrayData data[16]; - char stringdata0[229]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_virtualtreadmill_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_virtualtreadmill_t qt_meta_stringdata_virtualtreadmill = { - { -QT_MOC_LITERAL(0, 0, 16), // "virtualtreadmill" -QT_MOC_LITERAL(1, 17, 5), // "debug" -QT_MOC_LITERAL(2, 23, 0), // "" -QT_MOC_LITERAL(3, 24, 6), // "string" -QT_MOC_LITERAL(4, 31, 17), // "changeInclination" -QT_MOC_LITERAL(5, 49, 5), // "grade" -QT_MOC_LITERAL(6, 55, 10), // "percentage" -QT_MOC_LITERAL(7, 66, 25), // "ftmsCharacteristicChanged" -QT_MOC_LITERAL(8, 92, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(9, 117, 14), // "characteristic" -QT_MOC_LITERAL(10, 132, 8), // "newValue" -QT_MOC_LITERAL(11, 141, 21), // "characteristicChanged" -QT_MOC_LITERAL(12, 163, 17), // "treadmillProvider" -QT_MOC_LITERAL(13, 181, 9), // "reconnect" -QT_MOC_LITERAL(14, 191, 12), // "slopeChanged" -QT_MOC_LITERAL(15, 204, 24) // "dirconChangedInclination" - - }, - "virtualtreadmill\0debug\0\0string\0" - "changeInclination\0grade\0percentage\0" - "ftmsCharacteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicChanged\0" - "treadmillProvider\0reconnect\0slopeChanged\0" - "dirconChangedInclination" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_virtualtreadmill[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 8, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 3, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 1, 54, 2, 0x06 /* Public */, - 4, 2, 57, 2, 0x06 /* Public */, - 7, 2, 62, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 11, 2, 67, 2, 0x08 /* Private */, - 12, 0, 72, 2, 0x08 /* Private */, - 13, 0, 73, 2, 0x08 /* Private */, - 14, 0, 74, 2, 0x08 /* Private */, - 15, 2, 75, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, QMetaType::QString, 3, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 5, 6, - QMetaType::Void, 0x80000000 | 8, QMetaType::QByteArray, 9, 10, - - // slots: parameters - QMetaType::Void, 0x80000000 | 8, QMetaType::QByteArray, 9, 10, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 5, 6, - - 0 // eod -}; - -void virtualtreadmill::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 1: _t->changeInclination((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 2: _t->ftmsCharacteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->treadmillProvider(); break; - case 5: _t->reconnect(); break; - case 6: _t->slopeChanged(); break; - case 7: _t->dirconChangedInclination((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (virtualtreadmill::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&virtualtreadmill::debug)) { - *result = 0; - return; - } - } - { - using _t = void (virtualtreadmill::*)(double , double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&virtualtreadmill::changeInclination)) { - *result = 1; - return; - } - } - { - using _t = void (virtualtreadmill::*)(const QLowEnergyCharacteristic & , const QByteArray & ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&virtualtreadmill::ftmsCharacteristicChanged)) { - *result = 2; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject virtualtreadmill::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_virtualtreadmill.data, - qt_meta_data_virtualtreadmill, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *virtualtreadmill::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *virtualtreadmill::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_virtualtreadmill.stringdata0)) - return static_cast(this); - return virtualdevice::qt_metacast(_clname); -} - -int virtualtreadmill::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = virtualdevice::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 8) - qt_static_metacall(this, _c, _id, _a); - _id -= 8; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 8) - qt_static_metacall(this, _c, _id, _a); - _id -= 8; - } - return _id; -} - -// SIGNAL 0 -void virtualtreadmill::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void virtualtreadmill::changeInclination(double _t1, double _t2) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void virtualtreadmill::ftmsCharacteristicChanged(const QLowEnergyCharacteristic & _t1, const QByteArray & _t2) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_wahookickrheadwind.cpp b/src/moc_wahookickrheadwind.cpp deleted file mode 100644 index 8a4def320..000000000 --- a/src/moc_wahookickrheadwind.cpp +++ /dev/null @@ -1,324 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'wahookickrheadwind.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "wahookickrheadwind.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'wahookickrheadwind.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_wahookickrheadwind_t { - QByteArrayData data[36]; - char stringdata0[555]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_wahookickrheadwind_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_wahookickrheadwind_t qt_meta_stringdata_wahookickrheadwind = { - { -QT_MOC_LITERAL(0, 0, 18), // "wahookickrheadwind" -QT_MOC_LITERAL(1, 19, 12), // "disconnected" -QT_MOC_LITERAL(2, 32, 0), // "" -QT_MOC_LITERAL(3, 33, 5), // "debug" -QT_MOC_LITERAL(4, 39, 6), // "string" -QT_MOC_LITERAL(5, 46, 14), // "packetReceived" -QT_MOC_LITERAL(6, 61, 16), // "deviceDiscovered" -QT_MOC_LITERAL(7, 78, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(8, 99, 6), // "device" -QT_MOC_LITERAL(9, 106, 19), // "disconnectBluetooth" -QT_MOC_LITERAL(10, 126, 15), // "fanSpeedRequest" -QT_MOC_LITERAL(11, 142, 7), // "uint8_t" -QT_MOC_LITERAL(12, 150, 5), // "value" -QT_MOC_LITERAL(13, 156, 21), // "characteristicChanged" -QT_MOC_LITERAL(14, 178, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(15, 203, 14), // "characteristic" -QT_MOC_LITERAL(16, 218, 8), // "newValue" -QT_MOC_LITERAL(17, 227, 21), // "characteristicWritten" -QT_MOC_LITERAL(18, 249, 17), // "descriptorWritten" -QT_MOC_LITERAL(19, 267, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(20, 288, 10), // "descriptor" -QT_MOC_LITERAL(21, 299, 12), // "stateChanged" -QT_MOC_LITERAL(22, 312, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(23, 344, 5), // "state" -QT_MOC_LITERAL(24, 350, 22), // "controllerStateChanged" -QT_MOC_LITERAL(25, 373, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(26, 411, 17), // "serviceDiscovered" -QT_MOC_LITERAL(27, 429, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(28, 444, 4), // "gatt" -QT_MOC_LITERAL(29, 449, 15), // "serviceScanDone" -QT_MOC_LITERAL(30, 465, 6), // "update" -QT_MOC_LITERAL(31, 472, 5), // "error" -QT_MOC_LITERAL(32, 478, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(33, 506, 3), // "err" -QT_MOC_LITERAL(34, 510, 12), // "errorService" -QT_MOC_LITERAL(35, 523, 31) // "QLowEnergyService::ServiceError" - - }, - "wahookickrheadwind\0disconnected\0\0debug\0" - "string\0packetReceived\0deviceDiscovered\0" - "QBluetoothDeviceInfo\0device\0" - "disconnectBluetooth\0fanSpeedRequest\0" - "uint8_t\0value\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_wahookickrheadwind[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 16, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 3, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 94, 2, 0x06 /* Public */, - 3, 1, 95, 2, 0x06 /* Public */, - 5, 0, 98, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 6, 1, 99, 2, 0x0a /* Public */, - 9, 0, 102, 2, 0x0a /* Public */, - 10, 1, 103, 2, 0x0a /* Public */, - 13, 2, 106, 2, 0x08 /* Private */, - 17, 2, 111, 2, 0x08 /* Private */, - 18, 2, 116, 2, 0x08 /* Private */, - 21, 1, 121, 2, 0x08 /* Private */, - 24, 1, 124, 2, 0x08 /* Private */, - 26, 1, 127, 2, 0x08 /* Private */, - 29, 0, 130, 2, 0x08 /* Private */, - 30, 0, 131, 2, 0x08 /* Private */, - 31, 1, 132, 2, 0x08 /* Private */, - 34, 1, 135, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, 0x80000000 | 7, 8, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 11, 12, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 16, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 16, - QMetaType::Void, 0x80000000 | 19, QMetaType::QByteArray, 20, 16, - QMetaType::Void, 0x80000000 | 22, 23, - QMetaType::Void, 0x80000000 | 25, 23, - QMetaType::Void, 0x80000000 | 27, 28, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 32, 33, - QMetaType::Void, 0x80000000 | 35, 2, - - 0 // eod -}; - -void wahookickrheadwind::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->packetReceived(); break; - case 3: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 4: _t->disconnectBluetooth(); break; - case 5: _t->fanSpeedRequest((*reinterpret_cast< uint8_t(*)>(_a[1]))); break; - case 6: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 9: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 10: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 11: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 12: _t->serviceScanDone(); break; - case 13: _t->update(); break; - case 14: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 15: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 15: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (wahookickrheadwind::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&wahookickrheadwind::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (wahookickrheadwind::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&wahookickrheadwind::debug)) { - *result = 1; - return; - } - } - { - using _t = void (wahookickrheadwind::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&wahookickrheadwind::packetReceived)) { - *result = 2; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject wahookickrheadwind::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_wahookickrheadwind.data, - qt_meta_data_wahookickrheadwind, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *wahookickrheadwind::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *wahookickrheadwind::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_wahookickrheadwind.stringdata0)) - return static_cast(this); - return bluetoothdevice::qt_metacast(_clname); -} - -int wahookickrheadwind::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bluetoothdevice::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } - return _id; -} - -// SIGNAL 0 -void wahookickrheadwind::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void wahookickrheadwind::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void wahookickrheadwind::packetReceived() -{ - QMetaObject::activate(this, &staticMetaObject, 2, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_wahookickrsnapbike.cpp b/src/moc_wahookickrsnapbike.cpp deleted file mode 100644 index 6f9bd3e0e..000000000 --- a/src/moc_wahookickrsnapbike.cpp +++ /dev/null @@ -1,332 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'wahookickrsnapbike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "wahookickrsnapbike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'wahookickrsnapbike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_wahookickrsnapbike_t { - QByteArrayData data[39]; - char stringdata0[605]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_wahookickrsnapbike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_wahookickrsnapbike_t qt_meta_stringdata_wahookickrsnapbike = { - { -QT_MOC_LITERAL(0, 0, 18), // "wahookickrsnapbike" -QT_MOC_LITERAL(1, 19, 12), // "disconnected" -QT_MOC_LITERAL(2, 32, 0), // "" -QT_MOC_LITERAL(3, 33, 5), // "debug" -QT_MOC_LITERAL(4, 39, 6), // "string" -QT_MOC_LITERAL(5, 46, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 63, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 84, 6), // "device" -QT_MOC_LITERAL(8, 91, 27), // "resistanceFromFTMSAccessory" -QT_MOC_LITERAL(9, 119, 12), // "resistance_t" -QT_MOC_LITERAL(10, 132, 3), // "res" -QT_MOC_LITERAL(11, 136, 21), // "characteristicChanged" -QT_MOC_LITERAL(12, 158, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(13, 183, 14), // "characteristic" -QT_MOC_LITERAL(14, 198, 8), // "newValue" -QT_MOC_LITERAL(15, 207, 21), // "characteristicWritten" -QT_MOC_LITERAL(16, 229, 17), // "descriptorWritten" -QT_MOC_LITERAL(17, 247, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(18, 268, 10), // "descriptor" -QT_MOC_LITERAL(19, 279, 18), // "characteristicRead" -QT_MOC_LITERAL(20, 298, 14), // "descriptorRead" -QT_MOC_LITERAL(21, 313, 12), // "stateChanged" -QT_MOC_LITERAL(22, 326, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(23, 358, 5), // "state" -QT_MOC_LITERAL(24, 364, 22), // "controllerStateChanged" -QT_MOC_LITERAL(25, 387, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(26, 425, 17), // "serviceDiscovered" -QT_MOC_LITERAL(27, 443, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(28, 458, 4), // "gatt" -QT_MOC_LITERAL(29, 463, 15), // "serviceScanDone" -QT_MOC_LITERAL(30, 479, 6), // "update" -QT_MOC_LITERAL(31, 486, 5), // "error" -QT_MOC_LITERAL(32, 492, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(33, 520, 3), // "err" -QT_MOC_LITERAL(34, 524, 12), // "errorService" -QT_MOC_LITERAL(35, 537, 31), // "QLowEnergyService::ServiceError" -QT_MOC_LITERAL(36, 569, 18), // "inclinationChanged" -QT_MOC_LITERAL(37, 588, 5), // "grade" -QT_MOC_LITERAL(38, 594, 10) // "percentage" - - }, - "wahookickrsnapbike\0disconnected\0\0debug\0" - "string\0deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0resistanceFromFTMSAccessory\0" - "resistance_t\0res\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0characteristicRead\0" - "descriptorRead\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError\0" - "inclinationChanged\0grade\0percentage" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_wahookickrsnapbike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 17, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 99, 2, 0x06 /* Public */, - 3, 1, 100, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 103, 2, 0x0a /* Public */, - 8, 1, 106, 2, 0x0a /* Public */, - 11, 2, 109, 2, 0x08 /* Private */, - 15, 2, 114, 2, 0x08 /* Private */, - 16, 2, 119, 2, 0x08 /* Private */, - 19, 2, 124, 2, 0x08 /* Private */, - 20, 2, 129, 2, 0x08 /* Private */, - 21, 1, 134, 2, 0x08 /* Private */, - 24, 1, 137, 2, 0x08 /* Private */, - 26, 1, 140, 2, 0x08 /* Private */, - 29, 0, 143, 2, 0x08 /* Private */, - 30, 0, 144, 2, 0x08 /* Private */, - 31, 1, 145, 2, 0x08 /* Private */, - 34, 1, 148, 2, 0x08 /* Private */, - 36, 2, 151, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, 10, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 12, QMetaType::QByteArray, 13, 14, - QMetaType::Void, 0x80000000 | 17, QMetaType::QByteArray, 18, 14, - QMetaType::Void, 0x80000000 | 22, 23, - QMetaType::Void, 0x80000000 | 25, 23, - QMetaType::Void, 0x80000000 | 27, 28, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 32, 33, - QMetaType::Void, 0x80000000 | 35, 2, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 37, 38, - - 0 // eod -}; - -void wahookickrsnapbike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->resistanceFromFTMSAccessory((*reinterpret_cast< resistance_t(*)>(_a[1]))); break; - case 4: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->characteristicRead((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->descriptorRead((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 9: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 10: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 11: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 12: _t->serviceScanDone(); break; - case 13: _t->update(); break; - case 14: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 15: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - case 16: _t->inclinationChanged((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 15: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (wahookickrsnapbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&wahookickrsnapbike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (wahookickrsnapbike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&wahookickrsnapbike::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject wahookickrsnapbike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_wahookickrsnapbike.data, - qt_meta_data_wahookickrsnapbike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *wahookickrsnapbike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *wahookickrsnapbike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_wahookickrsnapbike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int wahookickrsnapbike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 17) - qt_static_metacall(this, _c, _id, _a); - _id -= 17; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 17) - qt_static_metacall(this, _c, _id, _a); - _id -= 17; - } - return _id; -} - -// SIGNAL 0 -void wahookickrsnapbike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void wahookickrsnapbike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_windows_zwift_incline_paddleocr_thread.cpp b/src/moc_windows_zwift_incline_paddleocr_thread.cpp deleted file mode 100644 index ff9ec44d6..000000000 --- a/src/moc_windows_zwift_incline_paddleocr_thread.cpp +++ /dev/null @@ -1,157 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'windows_zwift_incline_paddleocr_thread.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "windows_zwift_incline_paddleocr_thread.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'windows_zwift_incline_paddleocr_thread.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_windows_zwift_incline_paddleocr_thread_t { - QByteArrayData data[7]; - char stringdata0[85]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_windows_zwift_incline_paddleocr_thread_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_windows_zwift_incline_paddleocr_thread_t qt_meta_stringdata_windows_zwift_incline_paddleocr_thread = { - { -QT_MOC_LITERAL(0, 0, 38), // "windows_zwift_incline_paddleo..." -QT_MOC_LITERAL(1, 39, 13), // "onInclination" -QT_MOC_LITERAL(2, 53, 0), // "" -QT_MOC_LITERAL(3, 54, 11), // "inclination" -QT_MOC_LITERAL(4, 66, 5), // "grade" -QT_MOC_LITERAL(5, 72, 5), // "debug" -QT_MOC_LITERAL(6, 78, 6) // "string" - - }, - "windows_zwift_incline_paddleocr_thread\0" - "onInclination\0\0inclination\0grade\0debug\0" - "string" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_windows_zwift_incline_paddleocr_thread[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 2, 24, 2, 0x06 /* Public */, - 5, 1, 29, 2, 0x06 /* Public */, - - // signals: parameters - QMetaType::Void, QMetaType::Double, QMetaType::Double, 3, 4, - QMetaType::Void, QMetaType::QString, 6, - - 0 // eod -}; - -void windows_zwift_incline_paddleocr_thread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->onInclination((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (windows_zwift_incline_paddleocr_thread::*)(double , double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&windows_zwift_incline_paddleocr_thread::onInclination)) { - *result = 0; - return; - } - } - { - using _t = void (windows_zwift_incline_paddleocr_thread::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&windows_zwift_incline_paddleocr_thread::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject windows_zwift_incline_paddleocr_thread::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_windows_zwift_incline_paddleocr_thread.data, - qt_meta_data_windows_zwift_incline_paddleocr_thread, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *windows_zwift_incline_paddleocr_thread::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *windows_zwift_incline_paddleocr_thread::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_windows_zwift_incline_paddleocr_thread.stringdata0)) - return static_cast(this); - return QThread::qt_metacast(_clname); -} - -int windows_zwift_incline_paddleocr_thread::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QThread::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 2) - *reinterpret_cast(_a[0]) = -1; - _id -= 2; - } - return _id; -} - -// SIGNAL 0 -void windows_zwift_incline_paddleocr_thread::onInclination(double _t1, double _t2) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void windows_zwift_incline_paddleocr_thread::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_windows_zwift_workout_paddleocr_thread.cpp b/src/moc_windows_zwift_workout_paddleocr_thread.cpp deleted file mode 100644 index 7f8d180b3..000000000 --- a/src/moc_windows_zwift_workout_paddleocr_thread.cpp +++ /dev/null @@ -1,176 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'windows_zwift_workout_paddleocr_thread.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "windows_zwift_workout_paddleocr_thread.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'windows_zwift_workout_paddleocr_thread.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_windows_zwift_workout_paddleocr_thread_t { - QByteArrayData data[9]; - char stringdata0[99]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_windows_zwift_workout_paddleocr_thread_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_windows_zwift_workout_paddleocr_thread_t qt_meta_stringdata_windows_zwift_workout_paddleocr_thread = { - { -QT_MOC_LITERAL(0, 0, 38), // "windows_zwift_workout_paddleo..." -QT_MOC_LITERAL(1, 39, 13), // "onInclination" -QT_MOC_LITERAL(2, 53, 0), // "" -QT_MOC_LITERAL(3, 54, 11), // "inclination" -QT_MOC_LITERAL(4, 66, 5), // "grade" -QT_MOC_LITERAL(5, 72, 7), // "onSpeed" -QT_MOC_LITERAL(6, 80, 5), // "speed" -QT_MOC_LITERAL(7, 86, 5), // "debug" -QT_MOC_LITERAL(8, 92, 6) // "string" - - }, - "windows_zwift_workout_paddleocr_thread\0" - "onInclination\0\0inclination\0grade\0" - "onSpeed\0speed\0debug\0string" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_windows_zwift_workout_paddleocr_thread[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 3, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 2, 29, 2, 0x06 /* Public */, - 5, 1, 34, 2, 0x06 /* Public */, - 7, 1, 37, 2, 0x06 /* Public */, - - // signals: parameters - QMetaType::Void, QMetaType::Double, QMetaType::Double, 3, 4, - QMetaType::Void, QMetaType::Double, 6, - QMetaType::Void, QMetaType::QString, 8, - - 0 // eod -}; - -void windows_zwift_workout_paddleocr_thread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->onInclination((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - case 1: _t->onSpeed((*reinterpret_cast< double(*)>(_a[1]))); break; - case 2: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (windows_zwift_workout_paddleocr_thread::*)(double , double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&windows_zwift_workout_paddleocr_thread::onInclination)) { - *result = 0; - return; - } - } - { - using _t = void (windows_zwift_workout_paddleocr_thread::*)(double ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&windows_zwift_workout_paddleocr_thread::onSpeed)) { - *result = 1; - return; - } - } - { - using _t = void (windows_zwift_workout_paddleocr_thread::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&windows_zwift_workout_paddleocr_thread::debug)) { - *result = 2; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject windows_zwift_workout_paddleocr_thread::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_windows_zwift_workout_paddleocr_thread.data, - qt_meta_data_windows_zwift_workout_paddleocr_thread, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *windows_zwift_workout_paddleocr_thread::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *windows_zwift_workout_paddleocr_thread::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_windows_zwift_workout_paddleocr_thread.stringdata0)) - return static_cast(this); - return QThread::qt_metacast(_clname); -} - -int windows_zwift_workout_paddleocr_thread::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QThread::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 3) - *reinterpret_cast(_a[0]) = -1; - _id -= 3; - } - return _id; -} - -// SIGNAL 0 -void windows_zwift_workout_paddleocr_thread::onInclination(double _t1, double _t2) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void windows_zwift_workout_paddleocr_thread::onSpeed(double _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void windows_zwift_workout_paddleocr_thread::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_wobjectdefs.cpp b/src/moc_wobjectdefs.cpp deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/moc_yesoulbike.cpp b/src/moc_yesoulbike.cpp deleted file mode 100644 index 12cf716e8..000000000 --- a/src/moc_yesoulbike.cpp +++ /dev/null @@ -1,295 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'yesoulbike.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "yesoulbike.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'yesoulbike.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_yesoulbike_t { - QByteArrayData data[31]; - char stringdata0[482]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_yesoulbike_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_yesoulbike_t qt_meta_stringdata_yesoulbike = { - { -QT_MOC_LITERAL(0, 0, 10), // "yesoulbike" -QT_MOC_LITERAL(1, 11, 12), // "disconnected" -QT_MOC_LITERAL(2, 24, 0), // "" -QT_MOC_LITERAL(3, 25, 5), // "debug" -QT_MOC_LITERAL(4, 31, 6), // "string" -QT_MOC_LITERAL(5, 38, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 55, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 76, 6), // "device" -QT_MOC_LITERAL(8, 83, 21), // "characteristicChanged" -QT_MOC_LITERAL(9, 105, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(10, 130, 14), // "characteristic" -QT_MOC_LITERAL(11, 145, 8), // "newValue" -QT_MOC_LITERAL(12, 154, 21), // "characteristicWritten" -QT_MOC_LITERAL(13, 176, 17), // "descriptorWritten" -QT_MOC_LITERAL(14, 194, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(15, 215, 10), // "descriptor" -QT_MOC_LITERAL(16, 226, 12), // "stateChanged" -QT_MOC_LITERAL(17, 239, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(18, 271, 5), // "state" -QT_MOC_LITERAL(19, 277, 22), // "controllerStateChanged" -QT_MOC_LITERAL(20, 300, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(21, 338, 17), // "serviceDiscovered" -QT_MOC_LITERAL(22, 356, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(23, 371, 4), // "gatt" -QT_MOC_LITERAL(24, 376, 15), // "serviceScanDone" -QT_MOC_LITERAL(25, 392, 6), // "update" -QT_MOC_LITERAL(26, 399, 5), // "error" -QT_MOC_LITERAL(27, 405, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(28, 433, 3), // "err" -QT_MOC_LITERAL(29, 437, 12), // "errorService" -QT_MOC_LITERAL(30, 450, 31) // "QLowEnergyService::ServiceError" - - }, - "yesoulbike\0disconnected\0\0debug\0string\0" - "deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_yesoulbike[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 13, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 79, 2, 0x06 /* Public */, - 3, 1, 80, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 83, 2, 0x0a /* Public */, - 8, 2, 86, 2, 0x08 /* Private */, - 12, 2, 91, 2, 0x08 /* Private */, - 13, 2, 96, 2, 0x08 /* Private */, - 16, 1, 101, 2, 0x08 /* Private */, - 19, 1, 104, 2, 0x08 /* Private */, - 21, 1, 107, 2, 0x08 /* Private */, - 24, 0, 110, 2, 0x08 /* Private */, - 25, 0, 111, 2, 0x08 /* Private */, - 26, 1, 112, 2, 0x08 /* Private */, - 29, 1, 115, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 17, 18, - QMetaType::Void, 0x80000000 | 20, 18, - QMetaType::Void, 0x80000000 | 22, 23, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 27, 28, - QMetaType::Void, 0x80000000 | 30, 2, - - 0 // eod -}; - -void yesoulbike::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 7: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 8: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 9: _t->serviceScanDone(); break; - case 10: _t->update(); break; - case 11: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 12: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 11: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 12: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (yesoulbike::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&yesoulbike::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (yesoulbike::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&yesoulbike::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject yesoulbike::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_yesoulbike.data, - qt_meta_data_yesoulbike, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *yesoulbike::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *yesoulbike::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_yesoulbike.stringdata0)) - return static_cast(this); - return bike::qt_metacast(_clname); -} - -int yesoulbike::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = bike::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 13) - qt_static_metacall(this, _c, _id, _a); - _id -= 13; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 13) - qt_static_metacall(this, _c, _id, _a); - _id -= 13; - } - return _id; -} - -// SIGNAL 0 -void yesoulbike::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void yesoulbike::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/src/moc_ypooelliptical.cpp b/src/moc_ypooelliptical.cpp deleted file mode 100644 index e214cedc2..000000000 --- a/src/moc_ypooelliptical.cpp +++ /dev/null @@ -1,326 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'ypooelliptical.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include "ypooelliptical.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'ypooelliptical.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.15.2. 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_ypooelliptical_t { - QByteArrayData data[36]; - char stringdata0[564]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_ypooelliptical_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_ypooelliptical_t qt_meta_stringdata_ypooelliptical = { - { -QT_MOC_LITERAL(0, 0, 14), // "ypooelliptical" -QT_MOC_LITERAL(1, 15, 12), // "disconnected" -QT_MOC_LITERAL(2, 28, 0), // "" -QT_MOC_LITERAL(3, 29, 5), // "debug" -QT_MOC_LITERAL(4, 35, 6), // "string" -QT_MOC_LITERAL(5, 42, 16), // "deviceDiscovered" -QT_MOC_LITERAL(6, 59, 20), // "QBluetoothDeviceInfo" -QT_MOC_LITERAL(7, 80, 6), // "device" -QT_MOC_LITERAL(8, 87, 21), // "characteristicChanged" -QT_MOC_LITERAL(9, 109, 24), // "QLowEnergyCharacteristic" -QT_MOC_LITERAL(10, 134, 14), // "characteristic" -QT_MOC_LITERAL(11, 149, 8), // "newValue" -QT_MOC_LITERAL(12, 158, 21), // "characteristicWritten" -QT_MOC_LITERAL(13, 180, 17), // "descriptorWritten" -QT_MOC_LITERAL(14, 198, 20), // "QLowEnergyDescriptor" -QT_MOC_LITERAL(15, 219, 10), // "descriptor" -QT_MOC_LITERAL(16, 230, 18), // "characteristicRead" -QT_MOC_LITERAL(17, 249, 14), // "descriptorRead" -QT_MOC_LITERAL(18, 264, 12), // "stateChanged" -QT_MOC_LITERAL(19, 277, 31), // "QLowEnergyService::ServiceState" -QT_MOC_LITERAL(20, 309, 5), // "state" -QT_MOC_LITERAL(21, 315, 22), // "controllerStateChanged" -QT_MOC_LITERAL(22, 338, 37), // "QLowEnergyController::Control..." -QT_MOC_LITERAL(23, 376, 17), // "serviceDiscovered" -QT_MOC_LITERAL(24, 394, 14), // "QBluetoothUuid" -QT_MOC_LITERAL(25, 409, 4), // "gatt" -QT_MOC_LITERAL(26, 414, 15), // "serviceScanDone" -QT_MOC_LITERAL(27, 430, 6), // "update" -QT_MOC_LITERAL(28, 437, 5), // "error" -QT_MOC_LITERAL(29, 443, 27), // "QLowEnergyController::Error" -QT_MOC_LITERAL(30, 471, 3), // "err" -QT_MOC_LITERAL(31, 475, 12), // "errorService" -QT_MOC_LITERAL(32, 488, 31), // "QLowEnergyService::ServiceError" -QT_MOC_LITERAL(33, 520, 26), // "changeInclinationRequested" -QT_MOC_LITERAL(34, 547, 5), // "grade" -QT_MOC_LITERAL(35, 553, 10) // "percentage" - - }, - "ypooelliptical\0disconnected\0\0debug\0" - "string\0deviceDiscovered\0QBluetoothDeviceInfo\0" - "device\0characteristicChanged\0" - "QLowEnergyCharacteristic\0characteristic\0" - "newValue\0characteristicWritten\0" - "descriptorWritten\0QLowEnergyDescriptor\0" - "descriptor\0characteristicRead\0" - "descriptorRead\0stateChanged\0" - "QLowEnergyService::ServiceState\0state\0" - "controllerStateChanged\0" - "QLowEnergyController::ControllerState\0" - "serviceDiscovered\0QBluetoothUuid\0gatt\0" - "serviceScanDone\0update\0error\0" - "QLowEnergyController::Error\0err\0" - "errorService\0QLowEnergyService::ServiceError\0" - "changeInclinationRequested\0grade\0" - "percentage" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_ypooelliptical[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 16, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 94, 2, 0x06 /* Public */, - 3, 1, 95, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 1, 98, 2, 0x0a /* Public */, - 8, 2, 101, 2, 0x08 /* Private */, - 12, 2, 106, 2, 0x08 /* Private */, - 13, 2, 111, 2, 0x08 /* Private */, - 16, 2, 116, 2, 0x08 /* Private */, - 17, 2, 121, 2, 0x08 /* Private */, - 18, 1, 126, 2, 0x08 /* Private */, - 21, 1, 129, 2, 0x08 /* Private */, - 23, 1, 132, 2, 0x08 /* Private */, - 26, 0, 135, 2, 0x08 /* Private */, - 27, 0, 136, 2, 0x08 /* Private */, - 28, 1, 137, 2, 0x08 /* Private */, - 31, 1, 140, 2, 0x08 /* Private */, - 33, 2, 143, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 4, - - // slots: parameters - QMetaType::Void, 0x80000000 | 6, 7, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 9, QMetaType::QByteArray, 10, 11, - QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 15, 11, - QMetaType::Void, 0x80000000 | 19, 20, - QMetaType::Void, 0x80000000 | 22, 20, - QMetaType::Void, 0x80000000 | 24, 25, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 29, 30, - QMetaType::Void, 0x80000000 | 32, 2, - QMetaType::Void, QMetaType::Double, QMetaType::Double, 34, 35, - - 0 // eod -}; - -void ypooelliptical::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->disconnected(); break; - case 1: _t->debug((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 2: _t->deviceDiscovered((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; - case 3: _t->characteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 4: _t->characteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 5: _t->descriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 6: _t->characteristicRead((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 7: _t->descriptorRead((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; - case 8: _t->stateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; - case 9: _t->controllerStateChanged((*reinterpret_cast< QLowEnergyController::ControllerState(*)>(_a[1]))); break; - case 10: _t->serviceDiscovered((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; - case 11: _t->serviceScanDone(); break; - case 12: _t->update(); break; - case 13: _t->error((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; - case 14: _t->errorService((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; - case 15: _t->changeInclinationRequested((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 2: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; - } - break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 4: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 5: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 6: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; - } - break; - case 7: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; - } - break; - case 8: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; - } - break; - case 9: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::ControllerState >(); break; - } - break; - case 10: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; - } - break; - case 13: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; - } - break; - case 14: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (ypooelliptical::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ypooelliptical::disconnected)) { - *result = 0; - return; - } - } - { - using _t = void (ypooelliptical::*)(QString ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ypooelliptical::debug)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject ypooelliptical::staticMetaObject = { { - QMetaObject::SuperData::link(), - qt_meta_stringdata_ypooelliptical.data, - qt_meta_data_ypooelliptical, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *ypooelliptical::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *ypooelliptical::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_ypooelliptical.stringdata0)) - return static_cast(this); - return elliptical::qt_metacast(_clname); -} - -int ypooelliptical::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = elliptical::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 16) - qt_static_metacall(this, _c, _id, _a); - _id -= 16; - } - return _id; -} - -// SIGNAL 0 -void ypooelliptical::disconnected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void ypooelliptical::debug(QString _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE