阻抗弹窗
This commit is contained in:
184
ZBD_IIIDL_S_Project/build20241115/tmp/moc/moc_BCIManager.cpp
Normal file
184
ZBD_IIIDL_S_Project/build20241115/tmp/moc/moc_BCIManager.cpp
Normal file
@@ -0,0 +1,184 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'BCIManager.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/TrainManager/BCIManager.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'BCIManager.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_BCIManager_t {
|
||||
QByteArrayData data[14];
|
||||
char stringdata0[219];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_BCIManager_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_BCIManager_t qt_meta_stringdata_BCIManager = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 10), // "BCIManager"
|
||||
QT_MOC_LITERAL(1, 11, 27), // "signalQmlStopLinkerPrograme"
|
||||
QT_MOC_LITERAL(2, 39, 0), // ""
|
||||
QT_MOC_LITERAL(3, 40, 41), // "slotLinkerProgrameReadyReadSt..."
|
||||
QT_MOC_LITERAL(4, 82, 40), // "slotLinkerProgrameReadyReadSt..."
|
||||
QT_MOC_LITERAL(5, 123, 14), // "slotHeartTimer"
|
||||
QT_MOC_LITERAL(6, 138, 14), // "slotTrainTimer"
|
||||
QT_MOC_LITERAL(7, 153, 9), // "initTrain"
|
||||
QT_MOC_LITERAL(8, 163, 10), // "startTrain"
|
||||
QT_MOC_LITERAL(9, 174, 4), // "Part"
|
||||
QT_MOC_LITERAL(10, 179, 4), // "Time"
|
||||
QT_MOC_LITERAL(11, 184, 9), // "stopTrain"
|
||||
QT_MOC_LITERAL(12, 194, 10), // "pauseTrain"
|
||||
QT_MOC_LITERAL(13, 205, 13) // "continueTrain"
|
||||
|
||||
},
|
||||
"BCIManager\0signalQmlStopLinkerPrograme\0"
|
||||
"\0slotLinkerProgrameReadyReadStandardOutput\0"
|
||||
"slotLinkerProgrameReadyReadStandardError\0"
|
||||
"slotHeartTimer\0slotTrainTimer\0initTrain\0"
|
||||
"startTrain\0Part\0Time\0stopTrain\0"
|
||||
"pauseTrain\0continueTrain"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_BCIManager[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
10, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 64, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
3, 0, 65, 2, 0x08 /* Private */,
|
||||
4, 0, 66, 2, 0x08 /* Private */,
|
||||
5, 0, 67, 2, 0x08 /* Private */,
|
||||
6, 0, 68, 2, 0x08 /* Private */,
|
||||
|
||||
// methods: name, argc, parameters, tag, flags
|
||||
7, 0, 69, 2, 0x02 /* Public */,
|
||||
8, 2, 70, 2, 0x02 /* Public */,
|
||||
11, 0, 75, 2, 0x02 /* Public */,
|
||||
12, 0, 76, 2, 0x02 /* Public */,
|
||||
13, 0, 77, 2, 0x02 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
// methods: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Int, QMetaType::Int, 9, 10,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void BCIManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<BCIManager *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->signalQmlStopLinkerPrograme(); break;
|
||||
case 1: _t->slotLinkerProgrameReadyReadStandardOutput(); break;
|
||||
case 2: _t->slotLinkerProgrameReadyReadStandardError(); break;
|
||||
case 3: _t->slotHeartTimer(); break;
|
||||
case 4: _t->slotTrainTimer(); break;
|
||||
case 5: _t->initTrain(); break;
|
||||
case 6: _t->startTrain((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
case 7: _t->stopTrain(); break;
|
||||
case 8: _t->pauseTrain(); break;
|
||||
case 9: _t->continueTrain(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (BCIManager::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BCIManager::signalQmlStopLinkerPrograme)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject BCIManager::staticMetaObject = { {
|
||||
&QObject::staticMetaObject,
|
||||
qt_meta_stringdata_BCIManager.data,
|
||||
qt_meta_data_BCIManager,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *BCIManager::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *BCIManager::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_BCIManager.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int BCIManager::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 < 10)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 10)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 10;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void BCIManager::signalQmlStopLinkerPrograme()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'visiontrain.h'
|
||||
** Meta object code from reading C++ file 'QIntPtr.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.0)
|
||||
**
|
||||
@@ -7,11 +7,11 @@
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../../Src/TrainManager/visiontrain.h"
|
||||
#include "../../../Src/TrainManager/QmlTcpSocket/QIntPtr.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'visiontrain.h' doesn't include <QObject>."
|
||||
#error "The header file 'QIntPtr.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."
|
||||
@@ -21,25 +21,25 @@
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_visionTrain_t {
|
||||
struct qt_meta_stringdata_QMLTcpSockets__QIntPtr_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[12];
|
||||
char stringdata0[23];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_visionTrain_t, stringdata0) + ofs \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QMLTcpSockets__QIntPtr_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_visionTrain_t qt_meta_stringdata_visionTrain = {
|
||||
static const qt_meta_stringdata_QMLTcpSockets__QIntPtr_t qt_meta_stringdata_QMLTcpSockets__QIntPtr = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 11) // "visionTrain"
|
||||
QT_MOC_LITERAL(0, 0, 22) // "QMLTcpSockets::QIntPtr"
|
||||
|
||||
},
|
||||
"visionTrain"
|
||||
"QMLTcpSockets::QIntPtr"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_visionTrain[] = {
|
||||
static const uint qt_meta_data_QMLTcpSockets__QIntPtr[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
@@ -55,7 +55,7 @@ static const uint qt_meta_data_visionTrain[] = {
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void visionTrain::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
void QMLTcpSockets::QIntPtr::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
@@ -63,32 +63,32 @@ void visionTrain::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject visionTrain::staticMetaObject = { {
|
||||
&QWidget::staticMetaObject,
|
||||
qt_meta_stringdata_visionTrain.data,
|
||||
qt_meta_data_visionTrain,
|
||||
QT_INIT_METAOBJECT const QMetaObject QMLTcpSockets::QIntPtr::staticMetaObject = { {
|
||||
&QObject::staticMetaObject,
|
||||
qt_meta_stringdata_QMLTcpSockets__QIntPtr.data,
|
||||
qt_meta_data_QMLTcpSockets__QIntPtr,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *visionTrain::metaObject() const
|
||||
const QMetaObject *QMLTcpSockets::QIntPtr::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *visionTrain::qt_metacast(const char *_clname)
|
||||
void *QMLTcpSockets::QIntPtr::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_visionTrain.stringdata0))
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QMLTcpSockets__QIntPtr.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QWidget::qt_metacast(_clname);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int visionTrain::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
int QMLTcpSockets::QIntPtr::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
@@ -0,0 +1,119 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'QMLTcpSocketsPlugin.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/TrainManager/QmlTcpSocket/QMLTcpSocketsPlugin.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/qplugin.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'QMLTcpSocketsPlugin.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_QMLTcpSockets__QMLTcpSocketsPlugin_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[35];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QMLTcpSockets__QMLTcpSocketsPlugin_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QMLTcpSockets__QMLTcpSocketsPlugin_t qt_meta_stringdata_QMLTcpSockets__QMLTcpSocketsPlugin = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 34) // "QMLTcpSockets::QMLTcpSocketsP..."
|
||||
|
||||
},
|
||||
"QMLTcpSockets::QMLTcpSocketsPlugin"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QMLTcpSockets__QMLTcpSocketsPlugin[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QMLTcpSockets::QMLTcpSocketsPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QMLTcpSockets::QMLTcpSocketsPlugin::staticMetaObject = { {
|
||||
&QQmlExtensionPlugin::staticMetaObject,
|
||||
qt_meta_stringdata_QMLTcpSockets__QMLTcpSocketsPlugin.data,
|
||||
qt_meta_data_QMLTcpSockets__QMLTcpSocketsPlugin,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QMLTcpSockets::QMLTcpSocketsPlugin::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QMLTcpSockets::QMLTcpSocketsPlugin::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QMLTcpSockets__QMLTcpSocketsPlugin.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QQmlExtensionPlugin::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QMLTcpSockets::QMLTcpSocketsPlugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QQmlExtensionPlugin::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
|
||||
QT_PLUGIN_METADATA_SECTION
|
||||
static constexpr unsigned char qt_pluginMetaData[] = {
|
||||
'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', '!',
|
||||
// metadata version, Qt version, architectural requirements
|
||||
0, QT_VERSION_MAJOR, QT_VERSION_MINOR, qPluginArchRequirements(),
|
||||
0xbf,
|
||||
// "IID"
|
||||
0x02, 0x78, 0x28, 'o', 'r', 'g', '.', 'q',
|
||||
't', '-', 'p', 'r', 'o', 'j', 'e', 'c',
|
||||
't', '.', 'Q', 't', '.', 'Q', 'Q', 'm',
|
||||
'l', 'E', 'x', 't', 'e', 'n', 's', 'i',
|
||||
'o', 'n', 'I', 'n', 't', 'e', 'r', 'f',
|
||||
'a', 'c', 'e',
|
||||
// "className"
|
||||
0x03, 0x73, 'Q', 'M', 'L', 'T', 'c', 'p',
|
||||
'S', 'o', 'c', 'k', 'e', 't', 's', 'P',
|
||||
'l', 'u', 'g', 'i', 'n',
|
||||
0xff,
|
||||
};
|
||||
using namespace QMLTcpSockets;
|
||||
QT_MOC_EXPORT_PLUGIN(QMLTcpSockets::QMLTcpSocketsPlugin, QMLTcpSocketsPlugin)
|
||||
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
138
ZBD_IIIDL_S_Project/build20241115/tmp/moc/moc_QTcpServerPub.cpp
Normal file
138
ZBD_IIIDL_S_Project/build20241115/tmp/moc/moc_QTcpServerPub.cpp
Normal file
@@ -0,0 +1,138 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'QTcpServerPub.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/TrainManager/QmlTcpSocket/QTcpServerPub.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'QTcpServerPub.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_QMLTcpSockets__QTcpServerPub_t {
|
||||
QByteArrayData data[5];
|
||||
char stringdata0[80];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QMLTcpSockets__QTcpServerPub_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QMLTcpSockets__QTcpServerPub_t qt_meta_stringdata_QMLTcpSockets__QTcpServerPub = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 28), // "QMLTcpSockets::QTcpServerPub"
|
||||
QT_MOC_LITERAL(1, 29, 24), // "incomingConnectionSignal"
|
||||
QT_MOC_LITERAL(2, 54, 0), // ""
|
||||
QT_MOC_LITERAL(3, 55, 7), // "qintptr"
|
||||
QT_MOC_LITERAL(4, 63, 16) // "socketDescriptor"
|
||||
|
||||
},
|
||||
"QMLTcpSockets::QTcpServerPub\0"
|
||||
"incomingConnectionSignal\0\0qintptr\0"
|
||||
"socketDescriptor"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QMLTcpSockets__QTcpServerPub[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 19, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, 4,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QMLTcpSockets::QTcpServerPub::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QTcpServerPub *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->incomingConnectionSignal((*reinterpret_cast< qintptr(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QTcpServerPub::*)(qintptr );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTcpServerPub::incomingConnectionSignal)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QMLTcpSockets::QTcpServerPub::staticMetaObject = { {
|
||||
&QTcpServer::staticMetaObject,
|
||||
qt_meta_stringdata_QMLTcpSockets__QTcpServerPub.data,
|
||||
qt_meta_data_QMLTcpSockets__QTcpServerPub,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QMLTcpSockets::QTcpServerPub::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QMLTcpSockets::QTcpServerPub::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QMLTcpSockets__QTcpServerPub.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QTcpServer::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QMLTcpSockets::QTcpServerPub::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QTcpServer::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QMLTcpSockets::QTcpServerPub::incomingConnectionSignal(qintptr _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
265
ZBD_IIIDL_S_Project/build20241115/tmp/moc/moc_TcpServer.cpp
Normal file
265
ZBD_IIIDL_S_Project/build20241115/tmp/moc/moc_TcpServer.cpp
Normal file
@@ -0,0 +1,265 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'TcpServer.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/TrainManager/QmlTcpSocket/TcpServer.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'TcpServer.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_QMLTcpSockets__TcpServer_t {
|
||||
QByteArrayData data[13];
|
||||
char stringdata0[173];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QMLTcpSockets__TcpServer_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QMLTcpSockets__TcpServer_t qt_meta_stringdata_QMLTcpSockets__TcpServer = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 24), // "QMLTcpSockets::TcpServer"
|
||||
QT_MOC_LITERAL(1, 25, 16), // "listeningChanged"
|
||||
QT_MOC_LITERAL(2, 42, 0), // ""
|
||||
QT_MOC_LITERAL(3, 43, 11), // "hostChanged"
|
||||
QT_MOC_LITERAL(4, 55, 11), // "portChanged"
|
||||
QT_MOC_LITERAL(5, 67, 13), // "newConnection"
|
||||
QT_MOC_LITERAL(6, 81, 23), // "QMLTcpSockets::QIntPtr*"
|
||||
QT_MOC_LITERAL(7, 105, 16), // "socketDescriptor"
|
||||
QT_MOC_LITERAL(8, 122, 25), // "publishIncomingConnection"
|
||||
QT_MOC_LITERAL(9, 148, 7), // "qintptr"
|
||||
QT_MOC_LITERAL(10, 156, 6), // "listen"
|
||||
QT_MOC_LITERAL(11, 163, 4), // "host"
|
||||
QT_MOC_LITERAL(12, 168, 4) // "port"
|
||||
|
||||
},
|
||||
"QMLTcpSockets::TcpServer\0listeningChanged\0"
|
||||
"\0hostChanged\0portChanged\0newConnection\0"
|
||||
"QMLTcpSockets::QIntPtr*\0socketDescriptor\0"
|
||||
"publishIncomingConnection\0qintptr\0"
|
||||
"listen\0host\0port"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QMLTcpSockets__TcpServer[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
3, 48, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
4, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 39, 2, 0x06 /* Public */,
|
||||
3, 0, 40, 2, 0x06 /* Public */,
|
||||
4, 0, 41, 2, 0x06 /* Public */,
|
||||
5, 1, 42, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
8, 1, 45, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, 0x80000000 | 6, 7,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, 0x80000000 | 9, 7,
|
||||
|
||||
// properties: name, type, flags
|
||||
10, QMetaType::Bool, 0x00495003,
|
||||
11, QMetaType::QString, 0x00495103,
|
||||
12, QMetaType::Int, 0x00495103,
|
||||
|
||||
// properties: notify_signal_id
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QMLTcpSockets::TcpServer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<TcpServer *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->listeningChanged(); break;
|
||||
case 1: _t->hostChanged(); break;
|
||||
case 2: _t->portChanged(); break;
|
||||
case 3: _t->newConnection((*reinterpret_cast< QMLTcpSockets::QIntPtr*(*)>(_a[1]))); break;
|
||||
case 4: _t->publishIncomingConnection((*reinterpret_cast< qintptr(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 3:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMLTcpSockets::QIntPtr* >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (TcpServer::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TcpServer::listeningChanged)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TcpServer::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TcpServer::hostChanged)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TcpServer::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TcpServer::portChanged)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TcpServer::*)(QMLTcpSockets::QIntPtr * );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TcpServer::newConnection)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<TcpServer *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< bool*>(_v) = _t->isListening(); break;
|
||||
case 1: *reinterpret_cast< QString*>(_v) = _t->getHost(); break;
|
||||
case 2: *reinterpret_cast< int*>(_v) = _t->getPort(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<TcpServer *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setListening(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 1: _t->setHost(*reinterpret_cast< QString*>(_v)); break;
|
||||
case 2: _t->setPort(*reinterpret_cast< int*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QMLTcpSockets::TcpServer::staticMetaObject = { {
|
||||
&QQuickItem::staticMetaObject,
|
||||
qt_meta_stringdata_QMLTcpSockets__TcpServer.data,
|
||||
qt_meta_data_QMLTcpSockets__TcpServer,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QMLTcpSockets::TcpServer::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QMLTcpSockets::TcpServer::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QMLTcpSockets__TcpServer.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QQuickItem::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QMLTcpSockets::TcpServer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QQuickItem::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 3;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QMLTcpSockets::TcpServer::listeningChanged()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QMLTcpSockets::TcpServer::hostChanged()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void QMLTcpSockets::TcpServer::portChanged()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void QMLTcpSockets::TcpServer::newConnection(QMLTcpSockets::QIntPtr * _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
351
ZBD_IIIDL_S_Project/build20241115/tmp/moc/moc_TcpSocket.cpp
Normal file
351
ZBD_IIIDL_S_Project/build20241115/tmp/moc/moc_TcpSocket.cpp
Normal file
@@ -0,0 +1,351 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'TcpSocket.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/TrainManager/QmlTcpSocket/TcpSocket.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QList>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'TcpSocket.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_QMLTcpSockets__TcpSocket_t {
|
||||
QByteArrayData data[25];
|
||||
char stringdata0[318];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QMLTcpSockets__TcpSocket_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QMLTcpSockets__TcpSocket_t qt_meta_stringdata_QMLTcpSockets__TcpSocket = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 24), // "QMLTcpSockets::TcpSocket"
|
||||
QT_MOC_LITERAL(1, 25, 11), // "peerChanged"
|
||||
QT_MOC_LITERAL(2, 37, 0), // ""
|
||||
QT_MOC_LITERAL(3, 38, 11), // "portChanged"
|
||||
QT_MOC_LITERAL(4, 50, 9), // "connected"
|
||||
QT_MOC_LITERAL(5, 60, 12), // "disconnected"
|
||||
QT_MOC_LITERAL(6, 73, 5), // "error"
|
||||
QT_MOC_LITERAL(7, 79, 11), // "socketError"
|
||||
QT_MOC_LITERAL(8, 91, 13), // "bytesReceived"
|
||||
QT_MOC_LITERAL(9, 105, 10), // "QList<int>"
|
||||
QT_MOC_LITERAL(10, 116, 5), // "bytes"
|
||||
QT_MOC_LITERAL(11, 122, 19), // "setSocketDescriptor"
|
||||
QT_MOC_LITERAL(12, 142, 23), // "QMLTcpSockets::QIntPtr*"
|
||||
QT_MOC_LITERAL(13, 166, 16), // "socketDescriptor"
|
||||
QT_MOC_LITERAL(14, 183, 15), // "setSocketOption"
|
||||
QT_MOC_LITERAL(15, 199, 6), // "option"
|
||||
QT_MOC_LITERAL(16, 206, 5), // "value"
|
||||
QT_MOC_LITERAL(17, 212, 13), // "connectToHost"
|
||||
QT_MOC_LITERAL(18, 226, 18), // "disconnectFromHost"
|
||||
QT_MOC_LITERAL(19, 245, 10), // "writeBytes"
|
||||
QT_MOC_LITERAL(20, 256, 7), // "publish"
|
||||
QT_MOC_LITERAL(21, 264, 14), // "emitErrorAsInt"
|
||||
QT_MOC_LITERAL(22, 279, 28), // "QAbstractSocket::SocketError"
|
||||
QT_MOC_LITERAL(23, 308, 4), // "peer"
|
||||
QT_MOC_LITERAL(24, 313, 4) // "port"
|
||||
|
||||
},
|
||||
"QMLTcpSockets::TcpSocket\0peerChanged\0"
|
||||
"\0portChanged\0connected\0disconnected\0"
|
||||
"error\0socketError\0bytesReceived\0"
|
||||
"QList<int>\0bytes\0setSocketDescriptor\0"
|
||||
"QMLTcpSockets::QIntPtr*\0socketDescriptor\0"
|
||||
"setSocketOption\0option\0value\0connectToHost\0"
|
||||
"disconnectFromHost\0writeBytes\0publish\0"
|
||||
"emitErrorAsInt\0QAbstractSocket::SocketError\0"
|
||||
"peer\0port"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QMLTcpSockets__TcpSocket[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
13, 14, // methods
|
||||
2, 106, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
6, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 79, 2, 0x06 /* Public */,
|
||||
3, 0, 80, 2, 0x06 /* Public */,
|
||||
4, 0, 81, 2, 0x06 /* Public */,
|
||||
5, 0, 82, 2, 0x06 /* Public */,
|
||||
6, 1, 83, 2, 0x06 /* Public */,
|
||||
8, 1, 86, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
11, 1, 89, 2, 0x0a /* Public */,
|
||||
14, 2, 92, 2, 0x0a /* Public */,
|
||||
17, 0, 97, 2, 0x0a /* Public */,
|
||||
18, 0, 98, 2, 0x0a /* Public */,
|
||||
19, 1, 99, 2, 0x0a /* Public */,
|
||||
20, 0, 102, 2, 0x08 /* Private */,
|
||||
21, 1, 103, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Int, 7,
|
||||
QMetaType::Void, 0x80000000 | 9, 10,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, 0x80000000 | 12, 13,
|
||||
QMetaType::Void, QMetaType::Int, QMetaType::QVariant, 15, 16,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Bool, 0x80000000 | 9, 10,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, 0x80000000 | 22, 7,
|
||||
|
||||
// properties: name, type, flags
|
||||
23, QMetaType::QString, 0x00495103,
|
||||
24, QMetaType::Int, 0x00495103,
|
||||
|
||||
// properties: notify_signal_id
|
||||
0,
|
||||
1,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QMLTcpSockets::TcpSocket::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<TcpSocket *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->peerChanged(); break;
|
||||
case 1: _t->portChanged(); break;
|
||||
case 2: _t->connected(); break;
|
||||
case 3: _t->disconnected(); break;
|
||||
case 4: _t->error((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 5: _t->bytesReceived((*reinterpret_cast< QList<int>(*)>(_a[1]))); break;
|
||||
case 6: _t->setSocketDescriptor((*reinterpret_cast< QMLTcpSockets::QIntPtr*(*)>(_a[1]))); break;
|
||||
case 7: _t->setSocketOption((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2]))); break;
|
||||
case 8: _t->connectToHost(); break;
|
||||
case 9: _t->disconnectFromHost(); break;
|
||||
case 10: { bool _r = _t->writeBytes((*reinterpret_cast< QList<int>(*)>(_a[1])));
|
||||
if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
|
||||
case 11: _t->publish(); break;
|
||||
case 12: _t->emitErrorAsInt((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 5:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;
|
||||
}
|
||||
break;
|
||||
case 6:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMLTcpSockets::QIntPtr* >(); break;
|
||||
}
|
||||
break;
|
||||
case 10:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;
|
||||
}
|
||||
break;
|
||||
case 12:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractSocket::SocketError >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (TcpSocket::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TcpSocket::peerChanged)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TcpSocket::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TcpSocket::portChanged)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TcpSocket::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TcpSocket::connected)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TcpSocket::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TcpSocket::disconnected)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TcpSocket::*)(int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TcpSocket::error)) {
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TcpSocket::*)(QList<int> );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TcpSocket::bytesReceived)) {
|
||||
*result = 5;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<TcpSocket *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< QString*>(_v) = _t->getPeer(); break;
|
||||
case 1: *reinterpret_cast< int*>(_v) = _t->getPort(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<TcpSocket *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setPeer(*reinterpret_cast< QString*>(_v)); break;
|
||||
case 1: _t->setPort(*reinterpret_cast< int*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QMLTcpSockets::TcpSocket::staticMetaObject = { {
|
||||
&QQuickItem::staticMetaObject,
|
||||
qt_meta_stringdata_QMLTcpSockets__TcpSocket.data,
|
||||
qt_meta_data_QMLTcpSockets__TcpSocket,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QMLTcpSockets::TcpSocket::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QMLTcpSockets::TcpSocket::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QMLTcpSockets__TcpSocket.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QQuickItem::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QMLTcpSockets::TcpSocket::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QQuickItem::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)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 13;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 2;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QMLTcpSockets::TcpSocket::peerChanged()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QMLTcpSockets::TcpSocket::portChanged()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void QMLTcpSockets::TcpSocket::connected()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void QMLTcpSockets::TcpSocket::disconnected()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void QMLTcpSockets::TcpSocket::error(int _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 5
|
||||
void QMLTcpSockets::TcpSocket::bytesReceived(QList<int> _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'TcpSocketEnums.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/TrainManager/QmlTcpSocket/TcpSocketEnums.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'TcpSocketEnums.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_QMLTcpSockets__TcpSocketEnums_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[30];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QMLTcpSockets__TcpSocketEnums_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QMLTcpSockets__TcpSocketEnums_t qt_meta_stringdata_QMLTcpSockets__TcpSocketEnums = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 29) // "QMLTcpSockets::TcpSocketEnums"
|
||||
|
||||
},
|
||||
"QMLTcpSockets::TcpSocketEnums"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QMLTcpSockets__TcpSocketEnums[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QMLTcpSockets::TcpSocketEnums::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QMLTcpSockets::TcpSocketEnums::staticMetaObject = { {
|
||||
&QAbstractSocket::staticMetaObject,
|
||||
qt_meta_stringdata_QMLTcpSockets__TcpSocketEnums.data,
|
||||
qt_meta_data_QMLTcpSockets__TcpSocketEnums,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QMLTcpSockets::TcpSocketEnums::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QMLTcpSockets::TcpSocketEnums::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QMLTcpSockets__TcpSocketEnums.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QAbstractSocket::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QMLTcpSockets::TcpSocketEnums::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QAbstractSocket::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,151 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'TcpSocketFactory.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/TrainManager/QmlTcpSocket/TcpSocketFactory.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'TcpSocketFactory.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_QMLTcpSockets__TcpSocketFactory_t {
|
||||
QByteArrayData data[8];
|
||||
char stringdata0[134];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QMLTcpSockets__TcpSocketFactory_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QMLTcpSockets__TcpSocketFactory_t qt_meta_stringdata_QMLTcpSockets__TcpSocketFactory = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 31), // "QMLTcpSockets::TcpSocketFactory"
|
||||
QT_MOC_LITERAL(1, 32, 14), // "fromDescriptor"
|
||||
QT_MOC_LITERAL(2, 47, 25), // "QMLTcpSockets::TcpSocket*"
|
||||
QT_MOC_LITERAL(3, 73, 0), // ""
|
||||
QT_MOC_LITERAL(4, 74, 23), // "QMLTcpSockets::QIntPtr*"
|
||||
QT_MOC_LITERAL(5, 98, 16), // "socketDescriptor"
|
||||
QT_MOC_LITERAL(6, 115, 11), // "QQuickItem*"
|
||||
QT_MOC_LITERAL(7, 127, 6) // "parent"
|
||||
|
||||
},
|
||||
"QMLTcpSockets::TcpSocketFactory\0"
|
||||
"fromDescriptor\0QMLTcpSockets::TcpSocket*\0"
|
||||
"\0QMLTcpSockets::QIntPtr*\0socketDescriptor\0"
|
||||
"QQuickItem*\0parent"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QMLTcpSockets__TcpSocketFactory[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 2, 24, 3, 0x0a /* Public */,
|
||||
1, 1, 29, 3, 0x2a /* Public | MethodCloned */,
|
||||
|
||||
// slots: parameters
|
||||
0x80000000 | 2, 0x80000000 | 4, 0x80000000 | 6, 5, 7,
|
||||
0x80000000 | 2, 0x80000000 | 4, 5,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QMLTcpSockets::TcpSocketFactory::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<TcpSocketFactory *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: { QMLTcpSockets::TcpSocket* _r = _t->fromDescriptor((*reinterpret_cast< QMLTcpSockets::QIntPtr*(*)>(_a[1])),(*reinterpret_cast< QQuickItem*(*)>(_a[2])));
|
||||
if (_a[0]) *reinterpret_cast< QMLTcpSockets::TcpSocket**>(_a[0]) = std::move(_r); } break;
|
||||
case 1: { QMLTcpSockets::TcpSocket* _r = _t->fromDescriptor((*reinterpret_cast< QMLTcpSockets::QIntPtr*(*)>(_a[1])));
|
||||
if (_a[0]) *reinterpret_cast< QMLTcpSockets::TcpSocket**>(_a[0]) = std::move(_r); } break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMLTcpSockets::QIntPtr* >(); break;
|
||||
case 1:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMLTcpSockets::QIntPtr* >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QMLTcpSockets::TcpSocketFactory::staticMetaObject = { {
|
||||
&QQuickItem::staticMetaObject,
|
||||
qt_meta_stringdata_QMLTcpSockets__TcpSocketFactory.data,
|
||||
qt_meta_data_QMLTcpSockets__TcpSocketFactory,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QMLTcpSockets::TcpSocketFactory::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QMLTcpSockets::TcpSocketFactory::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QMLTcpSockets__TcpSocketFactory.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QQuickItem::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QMLTcpSockets::TcpSocketFactory::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QQuickItem::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -23,7 +23,7 @@ QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_eyeTrainWidget_t {
|
||||
QByteArrayData data[5];
|
||||
char stringdata0[77];
|
||||
char stringdata0[67];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
@@ -33,14 +33,14 @@ struct qt_meta_stringdata_eyeTrainWidget_t {
|
||||
static const qt_meta_stringdata_eyeTrainWidget_t qt_meta_stringdata_eyeTrainWidget = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14), // "eyeTrainWidget"
|
||||
QT_MOC_LITERAL(1, 15, 14), // "slotHeartTimer"
|
||||
QT_MOC_LITERAL(2, 30, 0), // ""
|
||||
QT_MOC_LITERAL(3, 31, 22), // "on_startButton_clicked"
|
||||
QT_MOC_LITERAL(4, 54, 22) // "on_closeButton_clicked"
|
||||
QT_MOC_LITERAL(1, 15, 20), // "slotQmlStatusChanged"
|
||||
QT_MOC_LITERAL(2, 36, 0), // ""
|
||||
QT_MOC_LITERAL(3, 37, 20), // "QQuickWidget::Status"
|
||||
QT_MOC_LITERAL(4, 58, 8) // "emStatus"
|
||||
|
||||
},
|
||||
"eyeTrainWidget\0slotHeartTimer\0\0"
|
||||
"on_startButton_clicked\0on_closeButton_clicked"
|
||||
"eyeTrainWidget\0slotQmlStatusChanged\0"
|
||||
"\0QQuickWidget::Status\0emStatus"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
@@ -50,7 +50,7 @@ static const uint qt_meta_data_eyeTrainWidget[] = {
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 14, // methods
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
@@ -58,14 +58,10 @@ static const uint qt_meta_data_eyeTrainWidget[] = {
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 29, 2, 0x08 /* Private */,
|
||||
3, 0, 30, 2, 0x08 /* Private */,
|
||||
4, 0, 31, 2, 0x08 /* Private */,
|
||||
1, 1, 19, 2, 0x08 /* Private */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, 0x80000000 | 3, 4,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
@@ -76,13 +72,10 @@ void eyeTrainWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _
|
||||
auto *_t = static_cast<eyeTrainWidget *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->slotHeartTimer(); break;
|
||||
case 1: _t->on_startButton_clicked(); break;
|
||||
case 2: _t->on_closeButton_clicked(); break;
|
||||
case 0: _t->slotQmlStatusChanged((*reinterpret_cast< QQuickWidget::Status(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject eyeTrainWidget::staticMetaObject = { {
|
||||
@@ -114,13 +107,13 @@ int eyeTrainWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 3)
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 3)
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 3;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
-IC:/Qt/Qt5.13.0/5.13.0/mingw73_64/mkspecs/win32-g++
|
||||
-IC:/Users/Administrator/Desktop/ZBD_IIIDL_S_Project
|
||||
-IC:/Users/Administrator/Desktop/ZBD_IIIDL_S_Project/Src/MainWindow
|
||||
-IC:/Users/Administrator/Desktop/ZBD_IIIDL_S_Project/Src/DataBaseControl
|
||||
-IC:/Users/Administrator/Desktop/ZBD_IIIDL_S_Project/Src/DataFormate
|
||||
-IC:/Users/Administrator/Desktop/ZBD_IIIDL_S_Project/Src/UserManager
|
||||
-IC:/Users/Administrator/Desktop/ZBD_IIIDL_S_Project/Src/TrainRecord
|
||||
-IC:/Users/Administrator/Desktop/ZBD_IIIDL_S_Project/Src/Report
|
||||
-IC:/Users/Administrator/Desktop/ZBD_IIIDL_S_Project/Src/TrainManager
|
||||
-IC:/Users/Administrator/Desktop/ZBD_IIIDL_S_Project/Src/Setting
|
||||
-IC:/Users/Administrator/Desktop/ZBD_IIIDL_S_Project/Src/Communication
|
||||
-IC:/Users/Administrator/Desktop/ZBD_IIIDL_S_Project/Src/CustomWidget
|
||||
-IC:/Users/Administrator/Desktop/ZBD_IIIDL_S_Project/Src/PopDialog
|
||||
-IC:/Users/Administrator/Desktop/ZBD_IIIDL_S_Project/Src/GameControl
|
||||
-IC:/Users/Administrator/Desktop/ZBD_IIIDL_S_Project/Src/ICEModule
|
||||
-IC:/Users/Administrator/Desktop/ZBD_IIIDL_S_Project/Src/bluetooth
|
||||
-IC:/Users/Administrator/Desktop/ZBD_IIIDL_S_Project/DependFile/DependLib/equipmentLib
|
||||
-IC:/Users/Administrator/Desktop/updowAll/updown/UpLowLimp/ZBD_IIIDL_S_Project
|
||||
-IC:/Users/Administrator/Desktop/updowAll/updown/UpLowLimp/ZBD_IIIDL_S_Project/Src/MainWindow
|
||||
-IC:/Users/Administrator/Desktop/updowAll/updown/UpLowLimp/ZBD_IIIDL_S_Project/Src/DataBaseControl
|
||||
-IC:/Users/Administrator/Desktop/updowAll/updown/UpLowLimp/ZBD_IIIDL_S_Project/Src/DataFormate
|
||||
-IC:/Users/Administrator/Desktop/updowAll/updown/UpLowLimp/ZBD_IIIDL_S_Project/Src/UserManager
|
||||
-IC:/Users/Administrator/Desktop/updowAll/updown/UpLowLimp/ZBD_IIIDL_S_Project/Src/TrainRecord
|
||||
-IC:/Users/Administrator/Desktop/updowAll/updown/UpLowLimp/ZBD_IIIDL_S_Project/Src/Report
|
||||
-IC:/Users/Administrator/Desktop/updowAll/updown/UpLowLimp/ZBD_IIIDL_S_Project/Src/TrainManager
|
||||
-IC:/Users/Administrator/Desktop/updowAll/updown/UpLowLimp/ZBD_IIIDL_S_Project/Src/Setting
|
||||
-IC:/Users/Administrator/Desktop/updowAll/updown/UpLowLimp/ZBD_IIIDL_S_Project/Src/Communication
|
||||
-IC:/Users/Administrator/Desktop/updowAll/updown/UpLowLimp/ZBD_IIIDL_S_Project/Src/CustomWidget
|
||||
-IC:/Users/Administrator/Desktop/updowAll/updown/UpLowLimp/ZBD_IIIDL_S_Project/Src/PopDialog
|
||||
-IC:/Users/Administrator/Desktop/updowAll/updown/UpLowLimp/ZBD_IIIDL_S_Project/Src/GameControl
|
||||
-IC:/Users/Administrator/Desktop/updowAll/updown/UpLowLimp/ZBD_IIIDL_S_Project/Src/ICEModule
|
||||
-IC:/Users/Administrator/Desktop/updowAll/updown/UpLowLimp/ZBD_IIIDL_S_Project/Src/bluetooth
|
||||
-IC:/Users/Administrator/Desktop/updowAll/updown/UpLowLimp/ZBD_IIIDL_S_Project/DependFile/DependLib/equipmentLib
|
||||
-IC:/Qt/Qt5.13.0/5.13.0/mingw73_64/include
|
||||
-IC:/Qt/Qt5.13.0/5.13.0/mingw73_64/include/QtPrintSupport
|
||||
-IC:/Qt/Qt5.13.0/5.13.0/mingw73_64/include/QtQuickWidgets
|
||||
|
||||
Reference in New Issue
Block a user