212 lines
7.2 KiB
C++
Raw Normal View History

2024-11-25 17:15:44 +08:00
/****************************************************************************
** Meta object code from reading C++ file 'fessetting.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/TrainManager/fessetting.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'fessetting.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_FesSetting_t {
QByteArrayData data[22];
char stringdata0[380];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_FesSetting_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_FesSetting_t qt_meta_stringdata_FesSetting = {
{
QT_MOC_LITERAL(0, 0, 10), // "FesSetting"
QT_MOC_LITERAL(1, 11, 15), // "signalStartGame"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 22), // "slotDeviceStateChanged"
QT_MOC_LITERAL(4, 51, 14), // "QList<uint8_t>"
QT_MOC_LITERAL(5, 66, 23), // "slotTrainTimeBtnClicked"
QT_MOC_LITERAL(6, 90, 22), // "slotFrequentBtnClicked"
QT_MOC_LITERAL(7, 113, 20), // "slotUpTimeBtnClicked"
QT_MOC_LITERAL(8, 134, 22), // "slotDownTimeBtnClicked"
QT_MOC_LITERAL(9, 157, 22), // "slotOpenTimeBtnClicked"
QT_MOC_LITERAL(10, 180, 23), // "slotCloseTimeBtnClicked"
QT_MOC_LITERAL(11, 204, 18), // "slotPlusBtnClicked"
QT_MOC_LITERAL(12, 223, 24), // "slotChannelWidgetClicked"
QT_MOC_LITERAL(13, 248, 2), // "id"
QT_MOC_LITERAL(14, 251, 19), // "on_FESA_Btn_clicked"
QT_MOC_LITERAL(15, 271, 19), // "on_FESB_Btn_clicked"
QT_MOC_LITERAL(16, 291, 17), // "on_OK_Btn_clicked"
QT_MOC_LITERAL(17, 309, 14), // "slotTrainTimer"
QT_MOC_LITERAL(18, 324, 14), // "slotGetBattery"
QT_MOC_LITERAL(19, 339, 18), // "slotBatteryChanged"
QT_MOC_LITERAL(20, 358, 8), // "deviceNo"
QT_MOC_LITERAL(21, 367, 12) // "batteryValue"
},
"FesSetting\0signalStartGame\0\0"
"slotDeviceStateChanged\0QList<uint8_t>\0"
"slotTrainTimeBtnClicked\0slotFrequentBtnClicked\0"
"slotUpTimeBtnClicked\0slotDownTimeBtnClicked\0"
"slotOpenTimeBtnClicked\0slotCloseTimeBtnClicked\0"
"slotPlusBtnClicked\0slotChannelWidgetClicked\0"
"id\0on_FESA_Btn_clicked\0on_FESB_Btn_clicked\0"
"on_OK_Btn_clicked\0slotTrainTimer\0"
"slotGetBattery\0slotBatteryChanged\0"
"deviceNo\0batteryValue"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_FesSetting[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
16, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
1, // signalCount
// signals: name, argc, parameters, tag, flags
1, 0, 94, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
3, 1, 95, 2, 0x0a /* Public */,
5, 0, 98, 2, 0x08 /* Private */,
6, 0, 99, 2, 0x08 /* Private */,
7, 0, 100, 2, 0x08 /* Private */,
8, 0, 101, 2, 0x08 /* Private */,
9, 0, 102, 2, 0x08 /* Private */,
10, 0, 103, 2, 0x08 /* Private */,
11, 0, 104, 2, 0x08 /* Private */,
12, 1, 105, 2, 0x08 /* Private */,
14, 0, 108, 2, 0x08 /* Private */,
15, 0, 109, 2, 0x08 /* Private */,
16, 0, 110, 2, 0x08 /* Private */,
17, 0, 111, 2, 0x08 /* Private */,
18, 0, 112, 2, 0x08 /* Private */,
19, 2, 113, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void,
// slots: parameters
QMetaType::Void, 0x80000000 | 4, 2,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 13,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, QMetaType::Int, 20, 21,
0 // eod
};
void FesSetting::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<FesSetting *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->signalStartGame(); break;
case 1: _t->slotDeviceStateChanged((*reinterpret_cast< QList<uint8_t>(*)>(_a[1]))); break;
case 2: _t->slotTrainTimeBtnClicked(); break;
case 3: _t->slotFrequentBtnClicked(); break;
case 4: _t->slotUpTimeBtnClicked(); break;
case 5: _t->slotDownTimeBtnClicked(); break;
case 6: _t->slotOpenTimeBtnClicked(); break;
case 7: _t->slotCloseTimeBtnClicked(); break;
case 8: _t->slotPlusBtnClicked(); break;
case 9: _t->slotChannelWidgetClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
case 10: _t->on_FESA_Btn_clicked(); break;
case 11: _t->on_FESB_Btn_clicked(); break;
case 12: _t->on_OK_Btn_clicked(); break;
case 13: _t->slotTrainTimer(); break;
case 14: _t->slotGetBattery(); break;
case 15: _t->slotBatteryChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (FesSetting::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FesSetting::signalStartGame)) {
*result = 0;
return;
}
}
}
}
QT_INIT_METAOBJECT const QMetaObject FesSetting::staticMetaObject = { {
&QWidget::staticMetaObject,
qt_meta_stringdata_FesSetting.data,
qt_meta_data_FesSetting,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *FesSetting::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *FesSetting::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_FesSetting.stringdata0))
return static_cast<void*>(this);
return QWidget::qt_metacast(_clname);
}
int FesSetting::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 < 16)
qt_static_metacall(this, _c, _id, _a);
_id -= 16;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 16)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 16;
}
return _id;
}
// SIGNAL 0
void FesSetting::signalStartGame()
{
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE