313 lines
11 KiB
C++
313 lines
11 KiB
C++
/****************************************************************************
|
|
** Meta object code from reading C++ file 'fpgabridgetftp.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 "../tftp/fpgabridgetftp.h"
|
|
#include <QtCore/qbytearray.h>
|
|
#include <QtCore/qmetatype.h>
|
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
|
#error "The header file 'fpgabridgetftp.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_FpgaBridgeTftp_t {
|
|
QByteArrayData data[23];
|
|
char stringdata0[231];
|
|
};
|
|
#define QT_MOC_LITERAL(idx, ofs, len) \
|
|
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
|
qptrdiff(offsetof(qt_meta_stringdata_FpgaBridgeTftp_t, stringdata0) + ofs \
|
|
- idx * sizeof(QByteArrayData)) \
|
|
)
|
|
static const qt_meta_stringdata_FpgaBridgeTftp_t qt_meta_stringdata_FpgaBridgeTftp = {
|
|
{
|
|
QT_MOC_LITERAL(0, 0, 14), // "FpgaBridgeTftp"
|
|
QT_MOC_LITERAL(1, 15, 11), // "serverHello"
|
|
QT_MOC_LITERAL(2, 27, 0), // ""
|
|
QT_MOC_LITERAL(3, 28, 5), // "intip"
|
|
QT_MOC_LITERAL(4, 34, 4), // "port"
|
|
QT_MOC_LITERAL(5, 39, 3), // "msg"
|
|
QT_MOC_LITERAL(6, 43, 13), // "transferError"
|
|
QT_MOC_LITERAL(7, 57, 4), // "code"
|
|
QT_MOC_LITERAL(8, 62, 12), // "progressInfo"
|
|
QT_MOC_LITERAL(9, 75, 10), // "percentage"
|
|
QT_MOC_LITERAL(10, 86, 9), // "sendBegin"
|
|
QT_MOC_LITERAL(11, 96, 14), // "sendTerminated"
|
|
QT_MOC_LITERAL(12, 111, 9), // "sendStart"
|
|
QT_MOC_LITERAL(13, 121, 9), // "sendError"
|
|
QT_MOC_LITERAL(14, 131, 12), // "sendProgress"
|
|
QT_MOC_LITERAL(15, 144, 12), // "completition"
|
|
QT_MOC_LITERAL(16, 157, 17), // "receiveTerminated"
|
|
QT_MOC_LITERAL(17, 175, 2), // "ok"
|
|
QT_MOC_LITERAL(18, 178, 12), // "QHostAddress"
|
|
QT_MOC_LITERAL(19, 191, 13), // "remoteAddress"
|
|
QT_MOC_LITERAL(20, 205, 12), // "queueChanged"
|
|
QT_MOC_LITERAL(21, 218, 1), // "n"
|
|
QT_MOC_LITERAL(22, 220, 10) // "pingServer"
|
|
|
|
},
|
|
"FpgaBridgeTftp\0serverHello\0\0intip\0"
|
|
"port\0msg\0transferError\0code\0progressInfo\0"
|
|
"percentage\0sendBegin\0sendTerminated\0"
|
|
"sendStart\0sendError\0sendProgress\0"
|
|
"completition\0receiveTerminated\0ok\0"
|
|
"QHostAddress\0remoteAddress\0queueChanged\0"
|
|
"n\0pingServer"
|
|
};
|
|
#undef QT_MOC_LITERAL
|
|
|
|
static const uint qt_meta_data_FpgaBridgeTftp[] = {
|
|
|
|
// content:
|
|
7, // revision
|
|
0, // classname
|
|
0, 0, // classinfo
|
|
11, 14, // methods
|
|
0, 0, // properties
|
|
0, 0, // enums/sets
|
|
0, 0, // constructors
|
|
0, // flags
|
|
10, // signalCount
|
|
|
|
// signals: name, argc, parameters, tag, flags
|
|
1, 3, 69, 2, 0x06 /* Public */,
|
|
6, 2, 76, 2, 0x06 /* Public */,
|
|
8, 2, 81, 2, 0x06 /* Public */,
|
|
10, 0, 86, 2, 0x06 /* Public */,
|
|
11, 0, 87, 2, 0x06 /* Public */,
|
|
12, 0, 88, 2, 0x06 /* Public */,
|
|
13, 0, 89, 2, 0x06 /* Public */,
|
|
14, 1, 90, 2, 0x06 /* Public */,
|
|
16, 2, 93, 2, 0x06 /* Public */,
|
|
20, 1, 98, 2, 0x06 /* Public */,
|
|
|
|
// slots: name, argc, parameters, tag, flags
|
|
22, 1, 101, 2, 0x0a /* Public */,
|
|
|
|
// signals: parameters
|
|
QMetaType::Void, QMetaType::UInt, QMetaType::Int, QMetaType::QString, 3, 4, 5,
|
|
QMetaType::Void, QMetaType::Int, QMetaType::QString, 7, 5,
|
|
QMetaType::Void, QMetaType::Int, QMetaType::QString, 9, 5,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
QMetaType::Void, QMetaType::Int, 15,
|
|
QMetaType::Void, QMetaType::Int, 0x80000000 | 18, 17, 19,
|
|
QMetaType::Void, QMetaType::Int, 21,
|
|
|
|
// slots: parameters
|
|
QMetaType::Void, QMetaType::Int, 4,
|
|
|
|
0 // eod
|
|
};
|
|
|
|
void FpgaBridgeTftp::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
|
FpgaBridgeTftp *_t = static_cast<FpgaBridgeTftp *>(_o);
|
|
Q_UNUSED(_t)
|
|
switch (_id) {
|
|
case 0: _t->serverHello((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
|
|
case 1: _t->transferError((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
|
|
case 2: _t->progressInfo((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
|
|
case 3: _t->sendBegin(); break;
|
|
case 4: _t->sendTerminated(); break;
|
|
case 5: _t->sendStart(); break;
|
|
case 6: _t->sendError(); break;
|
|
case 7: _t->sendProgress((*reinterpret_cast< int(*)>(_a[1]))); break;
|
|
case 8: _t->receiveTerminated((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QHostAddress(*)>(_a[2]))); break;
|
|
case 9: _t->queueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
|
case 10: _t->pingServer((*reinterpret_cast< int(*)>(_a[1]))); break;
|
|
default: ;
|
|
}
|
|
} else if (_c == QMetaObject::IndexOfMethod) {
|
|
int *result = reinterpret_cast<int *>(_a[0]);
|
|
void **func = reinterpret_cast<void **>(_a[1]);
|
|
{
|
|
typedef void (FpgaBridgeTftp::*_t)(unsigned , int , const QString & );
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FpgaBridgeTftp::serverHello)) {
|
|
*result = 0;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
typedef void (FpgaBridgeTftp::*_t)(int , const QString & );
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FpgaBridgeTftp::transferError)) {
|
|
*result = 1;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
typedef void (FpgaBridgeTftp::*_t)(int , const QString & );
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FpgaBridgeTftp::progressInfo)) {
|
|
*result = 2;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
typedef void (FpgaBridgeTftp::*_t)();
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FpgaBridgeTftp::sendBegin)) {
|
|
*result = 3;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
typedef void (FpgaBridgeTftp::*_t)();
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FpgaBridgeTftp::sendTerminated)) {
|
|
*result = 4;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
typedef void (FpgaBridgeTftp::*_t)();
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FpgaBridgeTftp::sendStart)) {
|
|
*result = 5;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
typedef void (FpgaBridgeTftp::*_t)();
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FpgaBridgeTftp::sendError)) {
|
|
*result = 6;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
typedef void (FpgaBridgeTftp::*_t)(int );
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FpgaBridgeTftp::sendProgress)) {
|
|
*result = 7;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
typedef void (FpgaBridgeTftp::*_t)(int , QHostAddress );
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FpgaBridgeTftp::receiveTerminated)) {
|
|
*result = 8;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
typedef void (FpgaBridgeTftp::*_t)(int );
|
|
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FpgaBridgeTftp::queueChanged)) {
|
|
*result = 9;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
const QMetaObject FpgaBridgeTftp::staticMetaObject = {
|
|
{ &QObject::staticMetaObject, qt_meta_stringdata_FpgaBridgeTftp.data,
|
|
qt_meta_data_FpgaBridgeTftp, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
|
};
|
|
|
|
|
|
const QMetaObject *FpgaBridgeTftp::metaObject() const
|
|
{
|
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
|
}
|
|
|
|
void *FpgaBridgeTftp::qt_metacast(const char *_clname)
|
|
{
|
|
if (!_clname) return Q_NULLPTR;
|
|
if (!strcmp(_clname, qt_meta_stringdata_FpgaBridgeTftp.stringdata0))
|
|
return static_cast<void*>(const_cast< FpgaBridgeTftp*>(this));
|
|
return QObject::qt_metacast(_clname);
|
|
}
|
|
|
|
int FpgaBridgeTftp::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 < 11)
|
|
qt_static_metacall(this, _c, _id, _a);
|
|
_id -= 11;
|
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
|
if (_id < 11)
|
|
*reinterpret_cast<int*>(_a[0]) = -1;
|
|
_id -= 11;
|
|
}
|
|
return _id;
|
|
}
|
|
|
|
// SIGNAL 0
|
|
void FpgaBridgeTftp::serverHello(unsigned _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, 0, _a);
|
|
}
|
|
|
|
// SIGNAL 1
|
|
void FpgaBridgeTftp::transferError(int _t1, const QString & _t2)
|
|
{
|
|
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
|
}
|
|
|
|
// SIGNAL 2
|
|
void FpgaBridgeTftp::progressInfo(int _t1, const QString & _t2)
|
|
{
|
|
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
|
}
|
|
|
|
// SIGNAL 3
|
|
void FpgaBridgeTftp::sendBegin()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
|
|
}
|
|
|
|
// SIGNAL 4
|
|
void FpgaBridgeTftp::sendTerminated()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
|
|
}
|
|
|
|
// SIGNAL 5
|
|
void FpgaBridgeTftp::sendStart()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
|
|
}
|
|
|
|
// SIGNAL 6
|
|
void FpgaBridgeTftp::sendError()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
|
|
}
|
|
|
|
// SIGNAL 7
|
|
void FpgaBridgeTftp::sendProgress(int _t1)
|
|
{
|
|
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 7, _a);
|
|
}
|
|
|
|
// SIGNAL 8
|
|
void FpgaBridgeTftp::receiveTerminated(int _t1, QHostAddress _t2)
|
|
{
|
|
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 8, _a);
|
|
}
|
|
|
|
// SIGNAL 9
|
|
void FpgaBridgeTftp::queueChanged(int _t1)
|
|
{
|
|
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 9, _a);
|
|
}
|
|
QT_WARNING_POP
|
|
QT_END_MOC_NAMESPACE
|