You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

141 lines
4.8 KiB

6 years ago
/****************************************************************************
** Meta object code from reading C++ file 'lattice_com_reign.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../com_linux/lattice_com_reign.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'lattice_com_reign.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.1. 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
struct qt_meta_stringdata_lattice_com_reign_t {
QByteArrayData data[11];
char stringdata0[166];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_lattice_com_reign_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_lattice_com_reign_t qt_meta_stringdata_lattice_com_reign = {
{
QT_MOC_LITERAL(0, 0, 17), // "lattice_com_reign"
QT_MOC_LITERAL(1, 18, 5), // "toLog"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 3), // "str"
QT_MOC_LITERAL(4, 29, 22), // "on_com_reflseh_clicked"
QT_MOC_LITERAL(5, 52, 31), // "on_com_list_currentIndexChanged"
QT_MOC_LITERAL(6, 84, 5), // "index"
QT_MOC_LITERAL(7, 90, 18), // "on_connect_clicked"
QT_MOC_LITERAL(8, 109, 17), // "on_com_tx_clicked"
QT_MOC_LITERAL(9, 127, 20), // "on_clear_log_clicked"
QT_MOC_LITERAL(10, 148, 17) // "com_data_received"
},
"lattice_com_reign\0toLog\0\0str\0"
"on_com_reflseh_clicked\0"
"on_com_list_currentIndexChanged\0index\0"
"on_connect_clicked\0on_com_tx_clicked\0"
"on_clear_log_clicked\0com_data_received"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_lattice_com_reign[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
7, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: name, argc, parameters, tag, flags
1, 1, 49, 2, 0x08 /* Private */,
4, 0, 52, 2, 0x08 /* Private */,
5, 1, 53, 2, 0x08 /* Private */,
7, 0, 56, 2, 0x08 /* Private */,
8, 0, 57, 2, 0x08 /* Private */,
9, 0, 58, 2, 0x08 /* Private */,
10, 0, 59, 2, 0x09 /* Protected */,
// slots: parameters
QMetaType::Void, QMetaType::QString, 3,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 6,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
0 // eod
};
void lattice_com_reign::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
lattice_com_reign *_t = static_cast<lattice_com_reign *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->toLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 1: _t->on_com_reflseh_clicked(); break;
case 2: _t->on_com_list_currentIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
case 3: _t->on_connect_clicked(); break;
case 4: _t->on_com_tx_clicked(); break;
case 5: _t->on_clear_log_clicked(); break;
case 6: _t->com_data_received(); break;
default: ;
}
}
}
const QMetaObject lattice_com_reign::staticMetaObject = {
{ &QMainWindow::staticMetaObject, qt_meta_stringdata_lattice_com_reign.data,
qt_meta_data_lattice_com_reign, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};
const QMetaObject *lattice_com_reign::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *lattice_com_reign::qt_metacast(const char *_clname)
{
if (!_clname) return Q_NULLPTR;
if (!strcmp(_clname, qt_meta_stringdata_lattice_com_reign.stringdata0))
return static_cast<void*>(const_cast< lattice_com_reign*>(this));
return QMainWindow::qt_metacast(_clname);
}
int lattice_com_reign::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QMainWindow::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 7)
qt_static_metacall(this, _c, _id, _a);
_id -= 7;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 7)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 7;
}
return _id;
}
QT_END_MOC_NAMESPACE