154 lines
4.6 KiB
Plaintext
154 lines
4.6 KiB
Plaintext
/****************************************************************************
|
|
** Meta object code from reading C++ file 'modbusserial.h'
|
|
**
|
|
** Created: Wed Dec 25 15:36:17 2024
|
|
** by: The Qt Meta Object Compiler version 62 (Qt 4.6.3)
|
|
**
|
|
** WARNING! All changes made in this file will be lost!
|
|
*****************************************************************************/
|
|
|
|
#include "../modbus/modbusserial.h"
|
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
|
#error "The header file 'modbusserial.h' doesn't include <QObject>."
|
|
#elif Q_MOC_OUTPUT_REVISION != 62
|
|
#error "This file was generated using the moc from 4.6.3. 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
|
|
static const uint qt_meta_data_ModbusSerial[] = {
|
|
|
|
// content:
|
|
4, // revision
|
|
0, // classname
|
|
0, 0, // classinfo
|
|
9, 14, // methods
|
|
0, 0, // properties
|
|
0, 0, // enums/sets
|
|
0, 0, // constructors
|
|
0, // flags
|
|
8, // signalCount
|
|
|
|
// signals: signature, parameters, type, tag, flags
|
|
14, 13, 13, 13, 0x05,
|
|
29, 13, 13, 13, 0x05,
|
|
42, 13, 13, 13, 0x05,
|
|
55, 13, 13, 13, 0x05,
|
|
69, 67, 13, 13, 0x05,
|
|
92, 13, 13, 13, 0x05,
|
|
106, 13, 13, 13, 0x05,
|
|
142, 122, 13, 13, 0x05,
|
|
|
|
// slots: signature, parameters, type, tag, flags
|
|
183, 177, 170, 13, 0x0a,
|
|
|
|
0 // eod
|
|
};
|
|
|
|
static const char qt_meta_stringdata_ModbusSerial[] = {
|
|
"ModbusSerial\0\0updateQRcode()\0startPrint()\0"
|
|
"pausePrint()\0stopPrint()\0,\0"
|
|
"openFile(QString,bool)\0faultResume()\0"
|
|
"writeCalendar()\0lineSpace,charSpace\0"
|
|
"mbLineAndCharSpace(int,int)\0qint32\0"
|
|
"index\0processCommands(qint32)\0"
|
|
};
|
|
|
|
const QMetaObject ModbusSerial::staticMetaObject = {
|
|
{ &QObject::staticMetaObject, qt_meta_stringdata_ModbusSerial,
|
|
qt_meta_data_ModbusSerial, 0 }
|
|
};
|
|
|
|
#ifdef Q_NO_DATA_RELOCATION
|
|
const QMetaObject &ModbusSerial::getStaticMetaObject() { return staticMetaObject; }
|
|
#endif //Q_NO_DATA_RELOCATION
|
|
|
|
const QMetaObject *ModbusSerial::metaObject() const
|
|
{
|
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
|
|
}
|
|
|
|
void *ModbusSerial::qt_metacast(const char *_clname)
|
|
{
|
|
if (!_clname) return 0;
|
|
if (!strcmp(_clname, qt_meta_stringdata_ModbusSerial))
|
|
return static_cast<void*>(const_cast< ModbusSerial*>(this));
|
|
return QObject::qt_metacast(_clname);
|
|
}
|
|
|
|
int ModbusSerial::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) {
|
|
switch (_id) {
|
|
case 0: updateQRcode(); break;
|
|
case 1: startPrint(); break;
|
|
case 2: pausePrint(); break;
|
|
case 3: stopPrint(); break;
|
|
case 4: openFile((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
|
|
case 5: faultResume(); break;
|
|
case 6: writeCalendar(); break;
|
|
case 7: mbLineAndCharSpace((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
|
case 8: { qint32 _r = processCommands((*reinterpret_cast< qint32(*)>(_a[1])));
|
|
if (_a[0]) *reinterpret_cast< qint32*>(_a[0]) = _r; } break;
|
|
default: ;
|
|
}
|
|
_id -= 9;
|
|
}
|
|
return _id;
|
|
}
|
|
|
|
// SIGNAL 0
|
|
void ModbusSerial::updateQRcode()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 0, 0);
|
|
}
|
|
|
|
// SIGNAL 1
|
|
void ModbusSerial::startPrint()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 1, 0);
|
|
}
|
|
|
|
// SIGNAL 2
|
|
void ModbusSerial::pausePrint()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 2, 0);
|
|
}
|
|
|
|
// SIGNAL 3
|
|
void ModbusSerial::stopPrint()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 3, 0);
|
|
}
|
|
|
|
// SIGNAL 4
|
|
void ModbusSerial::openFile(QString _t1, bool _t2)
|
|
{
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
|
}
|
|
|
|
// SIGNAL 5
|
|
void ModbusSerial::faultResume()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 5, 0);
|
|
}
|
|
|
|
// SIGNAL 6
|
|
void ModbusSerial::writeCalendar()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 6, 0);
|
|
}
|
|
|
|
// SIGNAL 7
|
|
void ModbusSerial::mbLineAndCharSpace(int _t1, int _t2)
|
|
{
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 7, _a);
|
|
}
|
|
QT_END_MOC_NAMESPACE
|