223 lines
8.3 KiB
C++
223 lines
8.3 KiB
C++
/****************************************************************************
|
|
** Meta object code from reading C++ file 'fescontroldialog.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/ICEModule/fescontroldialog.h"
|
|
#include <QtCore/qbytearray.h>
|
|
#include <QtCore/qmetatype.h>
|
|
#include <QtCore/QList>
|
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
|
#error "The header file 'fescontroldialog.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_FesControlDialog_t {
|
|
QByteArrayData data[26];
|
|
char stringdata0[417];
|
|
};
|
|
#define QT_MOC_LITERAL(idx, ofs, len) \
|
|
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
|
qptrdiff(offsetof(qt_meta_stringdata_FesControlDialog_t, stringdata0) + ofs \
|
|
- idx * sizeof(QByteArrayData)) \
|
|
)
|
|
static const qt_meta_stringdata_FesControlDialog_t qt_meta_stringdata_FesControlDialog = {
|
|
{
|
|
QT_MOC_LITERAL(0, 0, 16), // "FesControlDialog"
|
|
QT_MOC_LITERAL(1, 17, 24), // "signalDeviceStateChanged"
|
|
QT_MOC_LITERAL(2, 42, 0), // ""
|
|
QT_MOC_LITERAL(3, 43, 14), // "QList<uint8_t>"
|
|
QT_MOC_LITERAL(4, 58, 16), // "signalGetBattery"
|
|
QT_MOC_LITERAL(5, 75, 8), // "deviceNo"
|
|
QT_MOC_LITERAL(6, 84, 12), // "batteryValue"
|
|
QT_MOC_LITERAL(7, 97, 25), // "on_openSerial_Btn_clicked"
|
|
QT_MOC_LITERAL(8, 123, 25), // "on_scanDevice_Btn_clicked"
|
|
QT_MOC_LITERAL(9, 149, 20), // "receiveDataInterface"
|
|
QT_MOC_LITERAL(10, 170, 12), // "displayError"
|
|
QT_MOC_LITERAL(11, 183, 28), // "QSerialPort::SerialPortError"
|
|
QT_MOC_LITERAL(12, 212, 5), // "error"
|
|
QT_MOC_LITERAL(13, 218, 17), // "slotConnectDevice"
|
|
QT_MOC_LITERAL(14, 236, 7), // "connect"
|
|
QT_MOC_LITERAL(15, 244, 7), // "uint8_t"
|
|
QT_MOC_LITERAL(16, 252, 6), // "device"
|
|
QT_MOC_LITERAL(17, 259, 20), // "on_listWidgetClicked"
|
|
QT_MOC_LITERAL(18, 280, 16), // "QListWidgetItem*"
|
|
QT_MOC_LITERAL(19, 297, 4), // "item"
|
|
QT_MOC_LITERAL(20, 302, 26), // "on_queryDevice_Btn_clicked"
|
|
QT_MOC_LITERAL(21, 329, 26), // "on_flushSerial_Btn_clicked"
|
|
QT_MOC_LITERAL(22, 356, 14), // "slotConnectFes"
|
|
QT_MOC_LITERAL(23, 371, 18), // "deviceStateChanged"
|
|
QT_MOC_LITERAL(24, 390, 5), // "state"
|
|
QT_MOC_LITERAL(25, 396, 20) // "on_close_Btn_clicked"
|
|
|
|
},
|
|
"FesControlDialog\0signalDeviceStateChanged\0"
|
|
"\0QList<uint8_t>\0signalGetBattery\0"
|
|
"deviceNo\0batteryValue\0on_openSerial_Btn_clicked\0"
|
|
"on_scanDevice_Btn_clicked\0"
|
|
"receiveDataInterface\0displayError\0"
|
|
"QSerialPort::SerialPortError\0error\0"
|
|
"slotConnectDevice\0connect\0uint8_t\0"
|
|
"device\0on_listWidgetClicked\0"
|
|
"QListWidgetItem*\0item\0on_queryDevice_Btn_clicked\0"
|
|
"on_flushSerial_Btn_clicked\0slotConnectFes\0"
|
|
"deviceStateChanged\0state\0on_close_Btn_clicked"
|
|
};
|
|
#undef QT_MOC_LITERAL
|
|
|
|
static const uint qt_meta_data_FesControlDialog[] = {
|
|
|
|
// 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, 1, 79, 2, 0x06 /* Public */,
|
|
4, 2, 82, 2, 0x06 /* Public */,
|
|
|
|
// slots: name, argc, parameters, tag, flags
|
|
7, 0, 87, 2, 0x08 /* Private */,
|
|
8, 0, 88, 2, 0x08 /* Private */,
|
|
9, 0, 89, 2, 0x08 /* Private */,
|
|
10, 1, 90, 2, 0x08 /* Private */,
|
|
13, 2, 93, 2, 0x08 /* Private */,
|
|
17, 1, 98, 2, 0x08 /* Private */,
|
|
20, 0, 101, 2, 0x08 /* Private */,
|
|
21, 0, 102, 2, 0x08 /* Private */,
|
|
22, 0, 103, 2, 0x08 /* Private */,
|
|
23, 2, 104, 2, 0x08 /* Private */,
|
|
25, 0, 109, 2, 0x08 /* Private */,
|
|
|
|
// signals: parameters
|
|
QMetaType::Void, 0x80000000 | 3, 2,
|
|
QMetaType::Void, QMetaType::Int, QMetaType::Int, 5, 6,
|
|
|
|
// slots: parameters
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void, 0x80000000 | 11, 12,
|
|
QMetaType::Void, QMetaType::Bool, 0x80000000 | 15, 14, 16,
|
|
QMetaType::Void, 0x80000000 | 18, 19,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void, 0x80000000 | 15, QMetaType::Bool, 5, 24,
|
|
QMetaType::Void,
|
|
|
|
0 // eod
|
|
};
|
|
|
|
void FesControlDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
|
auto *_t = static_cast<FesControlDialog *>(_o);
|
|
Q_UNUSED(_t)
|
|
switch (_id) {
|
|
case 0: _t->signalDeviceStateChanged((*reinterpret_cast< QList<uint8_t>(*)>(_a[1]))); break;
|
|
case 1: _t->signalGetBattery((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
|
case 2: _t->on_openSerial_Btn_clicked(); break;
|
|
case 3: _t->on_scanDevice_Btn_clicked(); break;
|
|
case 4: _t->receiveDataInterface(); break;
|
|
case 5: _t->displayError((*reinterpret_cast< QSerialPort::SerialPortError(*)>(_a[1]))); break;
|
|
case 6: _t->slotConnectDevice((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< uint8_t(*)>(_a[2]))); break;
|
|
case 7: _t->on_listWidgetClicked((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
|
|
case 8: _t->on_queryDevice_Btn_clicked(); break;
|
|
case 9: _t->on_flushSerial_Btn_clicked(); break;
|
|
case 10: _t->slotConnectFes(); break;
|
|
case 11: _t->deviceStateChanged((*reinterpret_cast< uint8_t(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
|
|
case 12: _t->on_close_Btn_clicked(); break;
|
|
default: ;
|
|
}
|
|
} else if (_c == QMetaObject::IndexOfMethod) {
|
|
int *result = reinterpret_cast<int *>(_a[0]);
|
|
{
|
|
using _t = void (FesControlDialog::*)(QList<uint8_t> );
|
|
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FesControlDialog::signalDeviceStateChanged)) {
|
|
*result = 0;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
using _t = void (FesControlDialog::*)(int , int );
|
|
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FesControlDialog::signalGetBattery)) {
|
|
*result = 1;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
QT_INIT_METAOBJECT const QMetaObject FesControlDialog::staticMetaObject = { {
|
|
&QDialog::staticMetaObject,
|
|
qt_meta_stringdata_FesControlDialog.data,
|
|
qt_meta_data_FesControlDialog,
|
|
qt_static_metacall,
|
|
nullptr,
|
|
nullptr
|
|
} };
|
|
|
|
|
|
const QMetaObject *FesControlDialog::metaObject() const
|
|
{
|
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
|
}
|
|
|
|
void *FesControlDialog::qt_metacast(const char *_clname)
|
|
{
|
|
if (!_clname) return nullptr;
|
|
if (!strcmp(_clname, qt_meta_stringdata_FesControlDialog.stringdata0))
|
|
return static_cast<void*>(this);
|
|
return QDialog::qt_metacast(_clname);
|
|
}
|
|
|
|
int FesControlDialog::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 < 13)
|
|
qt_static_metacall(this, _c, _id, _a);
|
|
_id -= 13;
|
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
|
if (_id < 13)
|
|
*reinterpret_cast<int*>(_a[0]) = -1;
|
|
_id -= 13;
|
|
}
|
|
return _id;
|
|
}
|
|
|
|
// SIGNAL 0
|
|
void FesControlDialog::signalDeviceStateChanged(QList<uint8_t> _t1)
|
|
{
|
|
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
|
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
|
}
|
|
|
|
// SIGNAL 1
|
|
void FesControlDialog::signalGetBattery(int _t1, int _t2)
|
|
{
|
|
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
|
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
|
}
|
|
QT_WARNING_POP
|
|
QT_END_MOC_NAMESPACE
|