bugfix: long connection

This commit is contained in:
semenov
2024-09-10 12:15:41 +03:00
parent 12b2e86821
commit c779e3c210
15 changed files with 53 additions and 109 deletions

Binary file not shown.

Binary file not shown.

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[12];
char stringdata0[140];
QByteArrayData data[13];
char stringdata0[158];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -43,13 +43,15 @@ QT_MOC_LITERAL(7, 67, 18), // "sigConnectionState"
QT_MOC_LITERAL(8, 86, 4), // "flag"
QT_MOC_LITERAL(9, 91, 15), // "sigGetXmlAnswer"
QT_MOC_LITERAL(10, 107, 18), // "slotMessageEntered"
QT_MOC_LITERAL(11, 126, 13) // "slotReadyRead"
QT_MOC_LITERAL(11, 126, 17), // "slotConnectNotify"
QT_MOC_LITERAL(12, 144, 13) // "slotReadyRead"
},
"TCPClient\0sigSendDebugLog\0\0message\0"
"sigRecognize\0QTcpSocket*\0socket\0"
"sigConnectionState\0flag\0sigGetXmlAnswer\0"
"slotMessageEntered\0slotReadyRead"
"slotMessageEntered\0slotConnectNotify\0"
"slotReadyRead"
};
#undef QT_MOC_LITERAL
@@ -59,7 +61,7 @@ static const uint qt_meta_data_TCPClient[] = {
8, // revision
0, // classname
0, 0, // classinfo
6, 14, // methods
7, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
@@ -67,14 +69,15 @@ static const uint qt_meta_data_TCPClient[] = {
4, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 44, 2, 0x06 /* Public */,
4, 1, 47, 2, 0x06 /* Public */,
7, 1, 50, 2, 0x06 /* Public */,
9, 1, 53, 2, 0x06 /* Public */,
1, 1, 49, 2, 0x06 /* Public */,
4, 1, 52, 2, 0x06 /* Public */,
7, 1, 55, 2, 0x06 /* Public */,
9, 1, 58, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
10, 1, 56, 2, 0x0a /* Public */,
11, 0, 59, 2, 0x08 /* Private */,
10, 1, 61, 2, 0x0a /* Public */,
11, 0, 64, 2, 0x0a /* Public */,
12, 0, 65, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void, QMetaType::QString, 3,
@@ -84,6 +87,7 @@ static const uint qt_meta_data_TCPClient[] = {
// slots: parameters
QMetaType::Void, QMetaType::QString, 3,
QMetaType::Void,
QMetaType::Void,
0 // eod
@@ -101,7 +105,8 @@ void TCPClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, v
case 3: { QByteArray _r = _t->sigGetXmlAnswer((*reinterpret_cast< QString(*)>(_a[1])));
if (_a[0]) *reinterpret_cast< QByteArray*>(_a[0]) = std::move(_r); } break;
case 4: _t->slotMessageEntered((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 5: _t->slotReadyRead(); break;
case 5: _t->slotConnectNotify(); break;
case 6: _t->slotReadyRead(); break;
default: ;
}
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
@@ -177,13 +182,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 < 7)
qt_static_metacall(this, _c, _id, _a);
_id -= 6;
_id -= 7;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 6)
if (_id < 7)
qt_static_metacall(this, _c, _id, _a);
_id -= 6;
_id -= 7;
}
return _id;
}

Binary file not shown.

View File

@@ -113,7 +113,7 @@ static const unsigned char qt_resource_struct[] = {
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
// :/new/resoures/plane.png
0x0,0x0,0x0,0x22,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,
0x0,0x0,0x1,0x91,0x9c,0xe6,0x26,0x16,
0x0,0x0,0x1,0x91,0xb3,0xf,0xc0,0x1f,
};

Binary file not shown.

Binary file not shown.