MinXuan/release/moc_widget.cpp
2024-01-15 07:24:03 +08:00

226 lines
8.6 KiB
C++

/****************************************************************************
** Meta object code from reading C++ file 'widget.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 <memory>
#include "../widget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'widget.h' doesn't include <QObject>."
#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_Widget_t {
QByteArrayData data[28];
char stringdata0[431];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_Widget_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_Widget_t qt_meta_stringdata_Widget = {
{
QT_MOC_LITERAL(0, 0, 6), // "Widget"
QT_MOC_LITERAL(1, 7, 8), // "mTimeout"
QT_MOC_LITERAL(2, 16, 0), // ""
QT_MOC_LITERAL(3, 17, 10), // "tab2_start"
QT_MOC_LITERAL(4, 28, 8), // "tab2_pb1"
QT_MOC_LITERAL(5, 37, 8), // "tab2_pb2"
QT_MOC_LITERAL(6, 46, 8), // "tab2_pb3"
QT_MOC_LITERAL(7, 55, 8), // "tab2_pb6"
QT_MOC_LITERAL(8, 64, 15), // "serial_signal_0"
QT_MOC_LITERAL(9, 80, 14), // "VSPStatus_slot"
QT_MOC_LITERAL(10, 95, 18), // "vibration0_ui_Slot"
QT_MOC_LITERAL(11, 114, 18), // "vibration1_ui_Slot"
QT_MOC_LITERAL(12, 133, 18), // "vibration2_ui_Slot"
QT_MOC_LITERAL(13, 152, 18), // "vibration3_ui_Slot"
QT_MOC_LITERAL(14, 171, 17), // "pressureValueSlot"
QT_MOC_LITERAL(15, 189, 8), // "uint16_t"
QT_MOC_LITERAL(16, 198, 20), // "temperatureValueSlot"
QT_MOC_LITERAL(17, 219, 20), // "rotateSpeedValueSlot"
QT_MOC_LITERAL(18, 240, 15), // "torqueValueSlot"
QT_MOC_LITERAL(19, 256, 14), // "powerValueSlot"
QT_MOC_LITERAL(20, 271, 9), // "startMoto"
QT_MOC_LITERAL(21, 281, 21), // "on_start_test_clicked"
QT_MOC_LITERAL(22, 303, 16), // "changeMotoResult"
QT_MOC_LITERAL(23, 320, 24), // "on_vibrationToPy_clicked"
QT_MOC_LITERAL(24, 345, 23), // "on_return_first_clicked"
QT_MOC_LITERAL(25, 369, 19), // "on_saveData_clicked"
QT_MOC_LITERAL(26, 389, 19), // "on_closeApp_clicked"
QT_MOC_LITERAL(27, 409, 21) // "on_closeApp_2_clicked"
},
"Widget\0mTimeout\0\0tab2_start\0tab2_pb1\0"
"tab2_pb2\0tab2_pb3\0tab2_pb6\0serial_signal_0\0"
"VSPStatus_slot\0vibration0_ui_Slot\0"
"vibration1_ui_Slot\0vibration2_ui_Slot\0"
"vibration3_ui_Slot\0pressureValueSlot\0"
"uint16_t\0temperatureValueSlot\0"
"rotateSpeedValueSlot\0torqueValueSlot\0"
"powerValueSlot\0startMoto\0on_start_test_clicked\0"
"changeMotoResult\0on_vibrationToPy_clicked\0"
"on_return_first_clicked\0on_saveData_clicked\0"
"on_closeApp_clicked\0on_closeApp_2_clicked"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_Widget[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
25, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: name, argc, parameters, tag, flags
1, 0, 139, 2, 0x08 /* Private */,
3, 0, 140, 2, 0x08 /* Private */,
4, 0, 141, 2, 0x08 /* Private */,
5, 0, 142, 2, 0x08 /* Private */,
6, 0, 143, 2, 0x08 /* Private */,
7, 0, 144, 2, 0x08 /* Private */,
8, 1, 145, 2, 0x08 /* Private */,
9, 0, 148, 2, 0x08 /* Private */,
10, 1, 149, 2, 0x08 /* Private */,
11, 1, 152, 2, 0x08 /* Private */,
12, 1, 155, 2, 0x08 /* Private */,
13, 1, 158, 2, 0x08 /* Private */,
14, 2, 161, 2, 0x08 /* Private */,
16, 1, 166, 2, 0x08 /* Private */,
17, 2, 169, 2, 0x08 /* Private */,
18, 2, 174, 2, 0x08 /* Private */,
19, 2, 179, 2, 0x08 /* Private */,
20, 1, 184, 2, 0x08 /* Private */,
21, 0, 187, 2, 0x08 /* Private */,
22, 0, 188, 2, 0x08 /* Private */,
23, 0, 189, 2, 0x08 /* Private */,
24, 0, 190, 2, 0x08 /* Private */,
25, 0, 191, 2, 0x08 /* Private */,
26, 0, 192, 2, 0x08 /* Private */,
27, 0, 193, 2, 0x08 /* Private */,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 2,
QMetaType::Void,
QMetaType::Void, QMetaType::Double, 2,
QMetaType::Void, QMetaType::Double, 2,
QMetaType::Void, QMetaType::Double, 2,
QMetaType::Void, QMetaType::Double, 2,
QMetaType::Void, QMetaType::Int, 0x80000000 | 15, 2, 2,
QMetaType::Void, QMetaType::Double, 2,
QMetaType::Void, QMetaType::Int, 0x80000000 | 15, 2, 2,
QMetaType::Void, QMetaType::Int, 0x80000000 | 15, 2, 2,
QMetaType::Void, 0x80000000 | 15, 0x80000000 | 15, 2, 2,
QMetaType::Void, 0x80000000 | 15, 2,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
0 // eod
};
void Widget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<Widget *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->mTimeout(); break;
case 1: _t->tab2_start(); break;
case 2: _t->tab2_pb1(); break;
case 3: _t->tab2_pb2(); break;
case 4: _t->tab2_pb3(); break;
case 5: _t->tab2_pb6(); break;
case 6: _t->serial_signal_0((*reinterpret_cast< int(*)>(_a[1]))); break;
case 7: _t->VSPStatus_slot(); break;
case 8: _t->vibration0_ui_Slot((*reinterpret_cast< double(*)>(_a[1]))); break;
case 9: _t->vibration1_ui_Slot((*reinterpret_cast< double(*)>(_a[1]))); break;
case 10: _t->vibration2_ui_Slot((*reinterpret_cast< double(*)>(_a[1]))); break;
case 11: _t->vibration3_ui_Slot((*reinterpret_cast< double(*)>(_a[1]))); break;
case 12: _t->pressureValueSlot((*reinterpret_cast< qint32(*)>(_a[1])),(*reinterpret_cast< uint16_t(*)>(_a[2]))); break;
case 13: _t->temperatureValueSlot((*reinterpret_cast< double(*)>(_a[1]))); break;
case 14: _t->rotateSpeedValueSlot((*reinterpret_cast< qint32(*)>(_a[1])),(*reinterpret_cast< uint16_t(*)>(_a[2]))); break;
case 15: _t->torqueValueSlot((*reinterpret_cast< qint32(*)>(_a[1])),(*reinterpret_cast< uint16_t(*)>(_a[2]))); break;
case 16: _t->powerValueSlot((*reinterpret_cast< uint16_t(*)>(_a[1])),(*reinterpret_cast< uint16_t(*)>(_a[2]))); break;
case 17: _t->startMoto((*reinterpret_cast< uint16_t(*)>(_a[1]))); break;
case 18: _t->on_start_test_clicked(); break;
case 19: _t->changeMotoResult(); break;
case 20: _t->on_vibrationToPy_clicked(); break;
case 21: _t->on_return_first_clicked(); break;
case 22: _t->on_saveData_clicked(); break;
case 23: _t->on_closeApp_clicked(); break;
case 24: _t->on_closeApp_2_clicked(); break;
default: ;
}
}
}
QT_INIT_METAOBJECT const QMetaObject Widget::staticMetaObject = { {
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
qt_meta_stringdata_Widget.data,
qt_meta_data_Widget,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *Widget::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *Widget::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_Widget.stringdata0))
return static_cast<void*>(this);
return QWidget::qt_metacast(_clname);
}
int Widget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 25)
qt_static_metacall(this, _c, _id, _a);
_id -= 25;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 25)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 25;
}
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE