ref: change send command

This commit is contained in:
semenov
2025-01-17 10:49:27 +03:00
parent e1c3fcae36
commit 7b8f920cdc
47 changed files with 7765 additions and 600 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[10];
char stringdata0[127];
QByteArrayData data[9];
char stringdata0[111];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -39,15 +39,13 @@ QT_MOC_LITERAL(3, 27, 7), // "message"
QT_MOC_LITERAL(4, 35, 19), // "sigServerDisconnect"
QT_MOC_LITERAL(5, 55, 18), // "sigConnectionState"
QT_MOC_LITERAL(6, 74, 4), // "flag"
QT_MOC_LITERAL(7, 79, 15), // "slotSendCommand"
QT_MOC_LITERAL(8, 95, 17), // "slotConnectNotify"
QT_MOC_LITERAL(9, 113, 13) // "slotReadyRead"
QT_MOC_LITERAL(7, 79, 17), // "slotConnectNotify"
QT_MOC_LITERAL(8, 97, 13) // "slotReadyRead"
},
"TCPClient\0sigSendDebugLog\0\0message\0"
"sigServerDisconnect\0sigConnectionState\0"
"flag\0slotSendCommand\0slotConnectNotify\0"
"slotReadyRead"
"flag\0slotConnectNotify\0slotReadyRead"
};
#undef QT_MOC_LITERAL
@@ -57,7 +55,7 @@ static const uint qt_meta_data_TCPClient[] = {
8, // revision
0, // classname
0, 0, // classinfo
6, 14, // methods
5, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
@@ -65,14 +63,13 @@ static const uint qt_meta_data_TCPClient[] = {
3, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 44, 2, 0x06 /* Public */,
4, 0, 47, 2, 0x06 /* Public */,
5, 1, 48, 2, 0x06 /* Public */,
1, 1, 39, 2, 0x06 /* Public */,
4, 0, 42, 2, 0x06 /* Public */,
5, 1, 43, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
7, 1, 51, 2, 0x0a /* Public */,
8, 0, 54, 2, 0x0a /* Public */,
9, 0, 55, 2, 0x08 /* Private */,
7, 0, 46, 2, 0x0a /* Public */,
8, 0, 47, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void, QMetaType::QString, 3,
@@ -80,7 +77,6 @@ static const uint qt_meta_data_TCPClient[] = {
QMetaType::Void, QMetaType::Bool, 6,
// slots: parameters
QMetaType::Void, QMetaType::QString, 3,
QMetaType::Void,
QMetaType::Void,
@@ -96,9 +92,8 @@ void TCPClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, v
case 0: _t->sigSendDebugLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 1: _t->sigServerDisconnect(); break;
case 2: _t->sigConnectionState((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 3: _t->slotSendCommand((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 4: _t->slotConnectNotify(); break;
case 5: _t->slotReadyRead(); break;
case 3: _t->slotConnectNotify(); break;
case 4: _t->slotReadyRead(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
@@ -156,13 +151,13 @@ int TCPClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 6)
if (_id < 5)
qt_static_metacall(this, _c, _id, _a);
_id -= 6;
_id -= 5;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 6)
if (_id < 5)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 6;
_id -= 5;
}
return _id;
}