303 lines
12 KiB
C++
Raw Normal View History

2024-11-25 17:15:44 +08:00
/****************************************************************************
** Meta object code from reading C++ file 'gamedisplaypage.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../../../Src/GameControl/gamedisplaypage.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'gamedisplaypage.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.13.0. 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_GameDisplayPage_t {
QByteArrayData data[43];
char stringdata0[858];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_GameDisplayPage_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_GameDisplayPage_t qt_meta_stringdata_GameDisplayPage = {
{
QT_MOC_LITERAL(0, 0, 15), // "GameDisplayPage"
QT_MOC_LITERAL(1, 16, 22), // "signalGameStateChanged"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 6), // "int8_t"
QT_MOC_LITERAL(4, 47, 5), // "state"
QT_MOC_LITERAL(5, 53, 20), // "on_start_Btn_clicked"
QT_MOC_LITERAL(6, 74, 16), // "open_Btn_clicked"
QT_MOC_LITERAL(7, 91, 17), // "close_Btn_clicked"
QT_MOC_LITERAL(8, 109, 27), // "on_upSpeedMinus_Btn_clicked"
QT_MOC_LITERAL(9, 137, 26), // "on_upSpeedPlus_Btn_clicked"
QT_MOC_LITERAL(10, 164, 27), // "on_upForceMinus_Btn_clicked"
QT_MOC_LITERAL(11, 192, 26), // "on_upForcePlus_Btn_clicked"
QT_MOC_LITERAL(12, 219, 22), // "on_forward_Btn_clicked"
QT_MOC_LITERAL(13, 242, 23), // "on_backward_Btn_clicked"
QT_MOC_LITERAL(14, 266, 19), // "on_stop_Btn_clicked"
QT_MOC_LITERAL(15, 286, 20), // "on_pause_Btn_clicked"
QT_MOC_LITERAL(16, 307, 25), // "on_switchAFes_Btn_clicked"
QT_MOC_LITERAL(17, 333, 19), // "slotSetChannelAData"
QT_MOC_LITERAL(18, 353, 4), // "int*"
QT_MOC_LITERAL(19, 358, 4), // "data"
QT_MOC_LITERAL(20, 363, 4), // "size"
QT_MOC_LITERAL(21, 368, 19), // "slotSetChannelBData"
QT_MOC_LITERAL(22, 388, 19), // "slotSetBicycleParam"
QT_MOC_LITERAL(23, 408, 15), // "ST_BicycleParam"
QT_MOC_LITERAL(24, 424, 18), // "st_setBicycleParam"
QT_MOC_LITERAL(25, 443, 15), // "slotReceiveData"
QT_MOC_LITERAL(26, 459, 14), // "slotHeartTimer"
QT_MOC_LITERAL(27, 474, 18), // "slotCountDownTimer"
QT_MOC_LITERAL(28, 493, 16), // "slotStopTraining"
QT_MOC_LITERAL(29, 510, 19), // "slotReceiveGameData"
QT_MOC_LITERAL(30, 530, 15), // "slotBackClicked"
QT_MOC_LITERAL(31, 546, 24), // "on_switchFes_Btn_clicked"
QT_MOC_LITERAL(32, 571, 23), // "on_sound_Button_clicked"
QT_MOC_LITERAL(33, 595, 26), // "on_upSpeedPlus_Btn_pressed"
QT_MOC_LITERAL(34, 622, 27), // "on_upSpeedMinus_Btn_pressed"
QT_MOC_LITERAL(35, 650, 27), // "on_upSpeedPlus_Btn_released"
QT_MOC_LITERAL(36, 678, 28), // "on_upSpeedMinus_Btn_released"
QT_MOC_LITERAL(37, 707, 26), // "on_upForcePlus_Btn_pressed"
QT_MOC_LITERAL(38, 734, 27), // "on_upForceMinus_Btn_pressed"
QT_MOC_LITERAL(39, 762, 27), // "on_upForcePlus_Btn_released"
QT_MOC_LITERAL(40, 790, 28), // "on_upForceMinus_Btn_released"
QT_MOC_LITERAL(41, 819, 21), // "slotSpeedDialogClosed"
QT_MOC_LITERAL(42, 841, 16) // "slotSimulateData"
},
"GameDisplayPage\0signalGameStateChanged\0"
"\0int8_t\0state\0on_start_Btn_clicked\0"
"open_Btn_clicked\0close_Btn_clicked\0"
"on_upSpeedMinus_Btn_clicked\0"
"on_upSpeedPlus_Btn_clicked\0"
"on_upForceMinus_Btn_clicked\0"
"on_upForcePlus_Btn_clicked\0"
"on_forward_Btn_clicked\0on_backward_Btn_clicked\0"
"on_stop_Btn_clicked\0on_pause_Btn_clicked\0"
"on_switchAFes_Btn_clicked\0slotSetChannelAData\0"
"int*\0data\0size\0slotSetChannelBData\0"
"slotSetBicycleParam\0ST_BicycleParam\0"
"st_setBicycleParam\0slotReceiveData\0"
"slotHeartTimer\0slotCountDownTimer\0"
"slotStopTraining\0slotReceiveGameData\0"
"slotBackClicked\0on_switchFes_Btn_clicked\0"
"on_sound_Button_clicked\0"
"on_upSpeedPlus_Btn_pressed\0"
"on_upSpeedMinus_Btn_pressed\0"
"on_upSpeedPlus_Btn_released\0"
"on_upSpeedMinus_Btn_released\0"
"on_upForcePlus_Btn_pressed\0"
"on_upForceMinus_Btn_pressed\0"
"on_upForcePlus_Btn_released\0"
"on_upForceMinus_Btn_released\0"
"slotSpeedDialogClosed\0slotSimulateData"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_GameDisplayPage[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
34, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
1, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 184, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
5, 0, 187, 2, 0x08 /* Private */,
6, 0, 188, 2, 0x08 /* Private */,
7, 0, 189, 2, 0x08 /* Private */,
8, 0, 190, 2, 0x08 /* Private */,
9, 0, 191, 2, 0x08 /* Private */,
10, 0, 192, 2, 0x08 /* Private */,
11, 0, 193, 2, 0x08 /* Private */,
12, 0, 194, 2, 0x08 /* Private */,
13, 0, 195, 2, 0x08 /* Private */,
14, 0, 196, 2, 0x08 /* Private */,
15, 0, 197, 2, 0x08 /* Private */,
16, 0, 198, 2, 0x08 /* Private */,
17, 2, 199, 2, 0x08 /* Private */,
21, 2, 204, 2, 0x08 /* Private */,
22, 1, 209, 2, 0x08 /* Private */,
25, 1, 212, 2, 0x08 /* Private */,
26, 0, 215, 2, 0x08 /* Private */,
27, 0, 216, 2, 0x08 /* Private */,
28, 0, 217, 2, 0x08 /* Private */,
29, 0, 218, 2, 0x08 /* Private */,
30, 0, 219, 2, 0x08 /* Private */,
31, 0, 220, 2, 0x08 /* Private */,
32, 0, 221, 2, 0x08 /* Private */,
33, 0, 222, 2, 0x08 /* Private */,
34, 0, 223, 2, 0x08 /* Private */,
35, 0, 224, 2, 0x08 /* Private */,
36, 0, 225, 2, 0x08 /* Private */,
37, 0, 226, 2, 0x08 /* Private */,
38, 0, 227, 2, 0x08 /* Private */,
39, 0, 228, 2, 0x08 /* Private */,
40, 0, 229, 2, 0x08 /* Private */,
41, 0, 230, 2, 0x08 /* Private */,
42, 0, 231, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void, 0x80000000 | 3, 4,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 18, QMetaType::Int, 19, 20,
QMetaType::Void, 0x80000000 | 18, QMetaType::Int, 19, 20,
QMetaType::Void, 0x80000000 | 23, 24,
QMetaType::Void, QMetaType::QByteArray, 2,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
0 // eod
};
void GameDisplayPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<GameDisplayPage *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->signalGameStateChanged((*reinterpret_cast< int8_t(*)>(_a[1]))); break;
case 1: _t->on_start_Btn_clicked(); break;
case 2: _t->open_Btn_clicked(); break;
case 3: _t->close_Btn_clicked(); break;
case 4: _t->on_upSpeedMinus_Btn_clicked(); break;
case 5: _t->on_upSpeedPlus_Btn_clicked(); break;
case 6: _t->on_upForceMinus_Btn_clicked(); break;
case 7: _t->on_upForcePlus_Btn_clicked(); break;
case 8: _t->on_forward_Btn_clicked(); break;
case 9: _t->on_backward_Btn_clicked(); break;
case 10: _t->on_stop_Btn_clicked(); break;
case 11: _t->on_pause_Btn_clicked(); break;
case 12: _t->on_switchAFes_Btn_clicked(); break;
case 13: _t->slotSetChannelAData((*reinterpret_cast< int*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
case 14: _t->slotSetChannelBData((*reinterpret_cast< int*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
case 15: _t->slotSetBicycleParam((*reinterpret_cast< ST_BicycleParam(*)>(_a[1]))); break;
case 16: _t->slotReceiveData((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
case 17: _t->slotHeartTimer(); break;
case 18: _t->slotCountDownTimer(); break;
case 19: _t->slotStopTraining(); break;
case 20: _t->slotReceiveGameData(); break;
case 21: _t->slotBackClicked(); break;
case 22: _t->on_switchFes_Btn_clicked(); break;
case 23: _t->on_sound_Button_clicked(); break;
case 24: _t->on_upSpeedPlus_Btn_pressed(); break;
case 25: _t->on_upSpeedMinus_Btn_pressed(); break;
case 26: _t->on_upSpeedPlus_Btn_released(); break;
case 27: _t->on_upSpeedMinus_Btn_released(); break;
case 28: _t->on_upForcePlus_Btn_pressed(); break;
case 29: _t->on_upForceMinus_Btn_pressed(); break;
case 30: _t->on_upForcePlus_Btn_released(); break;
case 31: _t->on_upForceMinus_Btn_released(); break;
case 32: _t->slotSpeedDialogClosed(); break;
case 33: _t->slotSimulateData(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (GameDisplayPage::*)(int8_t );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GameDisplayPage::signalGameStateChanged)) {
*result = 0;
return;
}
}
}
}
QT_INIT_METAOBJECT const QMetaObject GameDisplayPage::staticMetaObject = { {
&QWidget::staticMetaObject,
qt_meta_stringdata_GameDisplayPage.data,
qt_meta_data_GameDisplayPage,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *GameDisplayPage::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *GameDisplayPage::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_GameDisplayPage.stringdata0))
return static_cast<void*>(this);
return QWidget::qt_metacast(_clname);
}
int GameDisplayPage::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 < 34)
qt_static_metacall(this, _c, _id, _a);
_id -= 34;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 34)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 34;
}
return _id;
}
// SIGNAL 0
void GameDisplayPage::signalGameStateChanged(int8_t _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE