308 lines
12 KiB
C++
308 lines
12 KiB
C++
/****************************************************************************
|
|
** Meta object code from reading C++ file 'fgpaprogrammer.h'
|
|
**
|
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.8.0)
|
|
**
|
|
** WARNING! All changes made in this file will be lost!
|
|
*****************************************************************************/
|
|
|
|
#include "../fgpaprogrammer.h"
|
|
#include <QtCore/qbytearray.h>
|
|
#include <QtCore/qmetatype.h>
|
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
|
#error "The header file 'fgpaprogrammer.h' doesn't include <QObject>."
|
|
#elif Q_MOC_OUTPUT_REVISION != 67
|
|
#error "This file was generated using the moc from 5.8.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_FgpaProgrammer_t {
|
|
QByteArrayData data[34];
|
|
char stringdata0[316];
|
|
};
|
|
#define QT_MOC_LITERAL(idx, ofs, len) \
|
|
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
|
qptrdiff(offsetof(qt_meta_stringdata_FgpaProgrammer_t, stringdata0) + ofs \
|
|
- idx * sizeof(QByteArrayData)) \
|
|
)
|
|
static const qt_meta_stringdata_FgpaProgrammer_t qt_meta_stringdata_FgpaProgrammer = {
|
|
{
|
|
QT_MOC_LITERAL(0, 0, 14), // "FgpaProgrammer"
|
|
QT_MOC_LITERAL(1, 15, 8), // "_writeOk"
|
|
QT_MOC_LITERAL(2, 24, 0), // ""
|
|
QT_MOC_LITERAL(3, 25, 7), // "_readOk"
|
|
QT_MOC_LITERAL(4, 33, 10), // "_writeFail"
|
|
QT_MOC_LITERAL(5, 44, 9), // "_readFail"
|
|
QT_MOC_LITERAL(6, 54, 13), // "statusChanged"
|
|
QT_MOC_LITERAL(7, 68, 3), // "sts"
|
|
QT_MOC_LITERAL(8, 72, 8), // "progress"
|
|
QT_MOC_LITERAL(9, 81, 3), // "msg"
|
|
QT_MOC_LITERAL(10, 85, 12), // "writeRequest"
|
|
QT_MOC_LITERAL(11, 98, 1), // "a"
|
|
QT_MOC_LITERAL(12, 100, 11), // "const void*"
|
|
QT_MOC_LITERAL(13, 112, 3), // "src"
|
|
QT_MOC_LITERAL(14, 116, 3), // "len"
|
|
QT_MOC_LITERAL(15, 120, 11), // "readRequest"
|
|
QT_MOC_LITERAL(16, 132, 3), // "dst"
|
|
QT_MOC_LITERAL(17, 136, 5), // "start"
|
|
QT_MOC_LITERAL(18, 142, 10), // "write_size"
|
|
QT_MOC_LITERAL(19, 153, 10), // "sectorSize"
|
|
QT_MOC_LITERAL(20, 164, 10), // "baseOffset"
|
|
QT_MOC_LITERAL(21, 175, 16), // "FpgaFlashProfile"
|
|
QT_MOC_LITERAL(22, 192, 8), // "_profile"
|
|
QT_MOC_LITERAL(23, 201, 5), // "erase"
|
|
QT_MOC_LITERAL(24, 207, 5), // "reset"
|
|
QT_MOC_LITERAL(25, 213, 5), // "abort"
|
|
QT_MOC_LITERAL(26, 219, 11), // "readFlashID"
|
|
QT_MOC_LITERAL(27, 231, 13), // "readStatusSPI"
|
|
QT_MOC_LITERAL(28, 245, 9), // "terminate"
|
|
QT_MOC_LITERAL(29, 255, 14), // "writeCompleted"
|
|
QT_MOC_LITERAL(30, 270, 2), // "ok"
|
|
QT_MOC_LITERAL(31, 273, 13), // "readCompleted"
|
|
QT_MOC_LITERAL(32, 287, 14), // "onWriteRequest"
|
|
QT_MOC_LITERAL(33, 302, 13) // "onReadRequest"
|
|
|
|
},
|
|
"FgpaProgrammer\0_writeOk\0\0_readOk\0"
|
|
"_writeFail\0_readFail\0statusChanged\0"
|
|
"sts\0progress\0msg\0writeRequest\0a\0"
|
|
"const void*\0src\0len\0readRequest\0dst\0"
|
|
"start\0write_size\0sectorSize\0baseOffset\0"
|
|
"FpgaFlashProfile\0_profile\0erase\0reset\0"
|
|
"abort\0readFlashID\0readStatusSPI\0"
|
|
"terminate\0writeCompleted\0ok\0readCompleted\0"
|
|
"onWriteRequest\0onReadRequest"
|
|
};
|
|
#undef QT_MOC_LITERAL
|
|
|
|
static const uint qt_meta_data_FgpaProgrammer[] = {
|
|
|
|
// content:
|
|
7, // revision
|
|
0, // classname
|
|
0, 0, // classinfo
|
|
19, 14, // methods
|
|
0, 0, // properties
|
|
0, 0, // enums/sets
|
|
0, 0, // constructors
|
|
0, // flags
|
|
7, // signalCount
|
|
|
|
// signals: name, argc, parameters, tag, flags
|
|
1, 0, 109, 2, 0x06 /* Public */,
|
|
3, 0, 110, 2, 0x06 /* Public */,
|
|
4, 0, 111, 2, 0x06 /* Public */,
|
|
5, 0, 112, 2, 0x06 /* Public */,
|
|
6, 3, 113, 2, 0x06 /* Public */,
|
|
10, 3, 120, 2, 0x06 /* Public */,
|
|
15, 3, 127, 2, 0x06 /* Public */,
|
|
|
|
// slots: name, argc, parameters, tag, flags
|
|
17, 3, 134, 2, 0x0a /* Public */,
|
|
17, 1, 141, 2, 0x0a /* Public */,
|
|
23, 3, 144, 2, 0x0a /* Public */,
|
|
24, 1, 151, 2, 0x0a /* Public */,
|
|
25, 1, 154, 2, 0x0a /* Public */,
|
|
26, 1, 157, 2, 0x0a /* Public */,
|
|
27, 1, 160, 2, 0x0a /* Public */,
|
|
28, 1, 163, 2, 0x0a /* Public */,
|
|
29, 1, 166, 2, 0x0a /* Public */,
|
|
31, 1, 169, 2, 0x0a /* Public */,
|
|
32, 3, 172, 2, 0x0a /* Public */,
|
|
33, 3, 179, 2, 0x0a /* Public */,
|
|
|
|
// signals: parameters
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::QString, 7, 8, 9,
|
|
QMetaType::Void, QMetaType::QString, 0x80000000 | 12, QMetaType::UInt, 11, 13, 14,
|
|
QMetaType::Void, QMetaType::QString, QMetaType::VoidStar, QMetaType::UInt, 11, 16, 14,
|
|
|
|
// slots: parameters
|
|
QMetaType::Void, QMetaType::ULong, QMetaType::UInt, QMetaType::UInt, 18, 19, 20,
|
|
QMetaType::Void, 0x80000000 | 21, 22,
|
|
QMetaType::Void, QMetaType::ULong, QMetaType::UInt, QMetaType::UInt, 18, 19, 20,
|
|
QMetaType::Void, 0x80000000 | 21, 22,
|
|
QMetaType::Void, 0x80000000 | 21, 22,
|
|
QMetaType::Void, 0x80000000 | 21, 22,
|
|
QMetaType::Void, 0x80000000 | 21, 22,
|
|
QMetaType::Void, 0x80000000 | 21, 22,
|
|
QMetaType::Void, QMetaType::Bool, 30,
|
|
QMetaType::Void, QMetaType::Bool, 30,
|
|
QMetaType::Void, QMetaType::QString, 0x80000000 | 12, QMetaType::UInt, 11, 13, 14,
|
|
QMetaType::Void, QMetaType::QString, QMetaType::VoidStar, QMetaType::UInt, 11, 16, 14,
|
|
|
|
0 // eod
|
|
};
|
|
|
|
void FgpaProgrammer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
|
FgpaProgrammer *_t = static_cast<FgpaProgrammer *>(_o);
|
|
Q_UNUSED(_t)
|
|
switch (_id) {
|
|
case 0: _t->_writeOk(); break;
|
|
case 1: _t->_readOk(); break;
|
|
case 2: _t->_writeFail(); break;
|
|
case 3: _t->_readFail(); break;
|
|
case 4: _t->statusChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
|
|
case 5: _t->writeRequest((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const void*(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
|
|
case 6: _t->readRequest((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< void*(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
|
|
case 7: _t->start((*reinterpret_cast< ulong(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
|
|
case 8: _t->start((*reinterpret_cast< const FpgaFlashProfile(*)>(_a[1]))); break;
|
|
case 9: _t->erase((*reinterpret_cast< ulong(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
|
|
case 10: _t->reset((*reinterpret_cast< const FpgaFlashProfile(*)>(_a[1]))); break;
|
|
case 11: _t->abort((*reinterpret_cast< const FpgaFlashProfile(*)>(_a[1]))); break;
|
|
case 12: _t->readFlashID((*reinterpret_cast< const FpgaFlashProfile(*)>(_a[1]))); break;
|
|
case 13: _t->readStatusSPI((*reinterpret_cast< const FpgaFlashProfile(*)>(_a[1]))); break;
|
|
case 14: _t->terminate((*reinterpret_cast< const FpgaFlashProfile(*)>(_a[1]))); break;
|
|
case 15: _t->writeCompleted((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
|
case 16: _t->readCompleted((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
|
case 17: _t->onWriteRequest((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const void*(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
|
|
case 18: _t->onReadRequest((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< void*(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
|
|
default: ;
|
|
}
|
|
} else if (_c == QMetaObject::IndexOfMethod) {
|
|
int *result = reinterpret_cast<int *>(_a[0]);
|
|
void **func = reinterpret_cast<void **>(_a[1]);
|
|
{
|
|
typedef void (FgpaProgrammer::*_t)();
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FgpaProgrammer::_writeOk)) {
|
|
*result = 0;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
typedef void (FgpaProgrammer::*_t)();
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FgpaProgrammer::_readOk)) {
|
|
*result = 1;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
typedef void (FgpaProgrammer::*_t)();
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FgpaProgrammer::_writeFail)) {
|
|
*result = 2;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
typedef void (FgpaProgrammer::*_t)();
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FgpaProgrammer::_readFail)) {
|
|
*result = 3;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
typedef void (FgpaProgrammer::*_t)(int , int , const QString & );
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FgpaProgrammer::statusChanged)) {
|
|
*result = 4;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
typedef void (FgpaProgrammer::*_t)(const QString & , const void * , unsigned int );
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FgpaProgrammer::writeRequest)) {
|
|
*result = 5;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
typedef void (FgpaProgrammer::*_t)(const QString & , void * , unsigned int );
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FgpaProgrammer::readRequest)) {
|
|
*result = 6;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
const QMetaObject FgpaProgrammer::staticMetaObject = {
|
|
{ &QObject::staticMetaObject, qt_meta_stringdata_FgpaProgrammer.data,
|
|
qt_meta_data_FgpaProgrammer, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
|
};
|
|
|
|
|
|
const QMetaObject *FgpaProgrammer::metaObject() const
|
|
{
|
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
|
}
|
|
|
|
void *FgpaProgrammer::qt_metacast(const char *_clname)
|
|
{
|
|
if (!_clname) return Q_NULLPTR;
|
|
if (!strcmp(_clname, qt_meta_stringdata_FgpaProgrammer.stringdata0))
|
|
return static_cast<void*>(const_cast< FgpaProgrammer*>(this));
|
|
return QObject::qt_metacast(_clname);
|
|
}
|
|
|
|
int FgpaProgrammer::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) {
|
|
if (_id < 19)
|
|
qt_static_metacall(this, _c, _id, _a);
|
|
_id -= 19;
|
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
|
if (_id < 19)
|
|
*reinterpret_cast<int*>(_a[0]) = -1;
|
|
_id -= 19;
|
|
}
|
|
return _id;
|
|
}
|
|
|
|
// SIGNAL 0
|
|
void FgpaProgrammer::_writeOk()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
|
|
}
|
|
|
|
// SIGNAL 1
|
|
void FgpaProgrammer::_readOk()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
|
|
}
|
|
|
|
// SIGNAL 2
|
|
void FgpaProgrammer::_writeFail()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
|
|
}
|
|
|
|
// SIGNAL 3
|
|
void FgpaProgrammer::_readFail()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
|
|
}
|
|
|
|
// SIGNAL 4
|
|
void FgpaProgrammer::statusChanged(int _t1, int _t2, const QString & _t3)
|
|
{
|
|
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
|
}
|
|
|
|
// SIGNAL 5
|
|
void FgpaProgrammer::writeRequest(const QString & _t1, const void * _t2, unsigned int _t3)
|
|
{
|
|
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
|
}
|
|
|
|
// SIGNAL 6
|
|
void FgpaProgrammer::readRequest(const QString & _t1, void * _t2, unsigned int _t3)
|
|
{
|
|
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 6, _a);
|
|
}
|
|
QT_WARNING_POP
|
|
QT_END_MOC_NAMESPACE
|