В основном работает

This commit is contained in:
krivoshein
2024-12-12 17:20:06 +03:00
parent d28453440f
commit 1c9e0510a9
51 changed files with 634 additions and 810 deletions

View File

@@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_TCPClient_t {
QByteArrayData data[14];
char stringdata0[172];
QByteArrayData data[16];
char stringdata0[203];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -43,16 +43,19 @@ QT_MOC_LITERAL(7, 67, 19), // "sigServerDisconnect"
QT_MOC_LITERAL(8, 87, 18), // "sigConnectionState"
QT_MOC_LITERAL(9, 106, 4), // "flag"
QT_MOC_LITERAL(10, 111, 12), // "sigSetSocket"
QT_MOC_LITERAL(11, 124, 15), // "slotSendCommand"
QT_MOC_LITERAL(12, 140, 17), // "slotConnectNotify"
QT_MOC_LITERAL(13, 158, 13) // "slotReadyRead"
QT_MOC_LITERAL(11, 124, 24), // "signal_ConnectedToServer"
QT_MOC_LITERAL(12, 149, 5), // "state"
QT_MOC_LITERAL(13, 155, 15), // "slotSendCommand"
QT_MOC_LITERAL(14, 171, 17), // "slotConnectNotify"
QT_MOC_LITERAL(15, 189, 13) // "slotReadyRead"
},
"TCPClient\0sigSendDebugLog\0\0message\0"
"sigRecognize\0QTcpSocket*\0socket\0"
"sigServerDisconnect\0sigConnectionState\0"
"flag\0sigSetSocket\0slotSendCommand\0"
"slotConnectNotify\0slotReadyRead"
"flag\0sigSetSocket\0signal_ConnectedToServer\0"
"state\0slotSendCommand\0slotConnectNotify\0"
"slotReadyRead"
};
#undef QT_MOC_LITERAL
@@ -62,24 +65,25 @@ static const uint qt_meta_data_TCPClient[] = {
8, // revision
0, // classname
0, 0, // classinfo
8, 14, // methods
9, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
5, // signalCount
6, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 54, 2, 0x06 /* Public */,
4, 1, 57, 2, 0x06 /* Public */,
7, 0, 60, 2, 0x06 /* Public */,
8, 1, 61, 2, 0x06 /* Public */,
10, 1, 64, 2, 0x06 /* Public */,
1, 1, 59, 2, 0x06 /* Public */,
4, 1, 62, 2, 0x06 /* Public */,
7, 0, 65, 2, 0x06 /* Public */,
8, 1, 66, 2, 0x06 /* Public */,
10, 1, 69, 2, 0x06 /* Public */,
11, 1, 72, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
11, 1, 67, 2, 0x0a /* Public */,
12, 0, 70, 2, 0x0a /* Public */,
13, 0, 71, 2, 0x08 /* Private */,
13, 1, 75, 2, 0x0a /* Public */,
14, 0, 78, 2, 0x0a /* Public */,
15, 0, 79, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void, QMetaType::QString, 3,
@@ -87,6 +91,7 @@ static const uint qt_meta_data_TCPClient[] = {
QMetaType::Void,
QMetaType::Void, QMetaType::Bool, 9,
QMetaType::Void, 0x80000000 | 5, 6,
QMetaType::Void, QMetaType::Bool, 12,
// slots: parameters
QMetaType::Void, QMetaType::QString, 3,
@@ -107,9 +112,10 @@ void TCPClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, v
case 2: _t->sigServerDisconnect(); break;
case 3: _t->sigConnectionState((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 4: _t->sigSetSocket((*reinterpret_cast< QTcpSocket*(*)>(_a[1]))); break;
case 5: _t->slotSendCommand((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 6: _t->slotConnectNotify(); break;
case 7: _t->slotReadyRead(); break;
case 5: _t->signal_ConnectedToServer((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 6: _t->slotSendCommand((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 7: _t->slotConnectNotify(); break;
case 8: _t->slotReadyRead(); break;
default: ;
}
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
@@ -167,6 +173,13 @@ void TCPClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, v
return;
}
}
{
using _t = void (TCPClient::*)(bool );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::signal_ConnectedToServer)) {
*result = 5;
return;
}
}
}
}
@@ -199,13 +212,13 @@ int TCPClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 8)
if (_id < 9)
qt_static_metacall(this, _c, _id, _a);
_id -= 8;
_id -= 9;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 8)
if (_id < 9)
qt_static_metacall(this, _c, _id, _a);
_id -= 8;
_id -= 9;
}
return _id;
}
@@ -243,5 +256,12 @@ void TCPClient::sigSetSocket(QTcpSocket * _t1)
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
// SIGNAL 5
void TCPClient::signal_ConnectedToServer(bool _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