refactoring

This commit is contained in:
semenov
2024-08-30 14:51:01 +03:00
parent 6a71f421fd
commit f333afe2b4
45 changed files with 592 additions and 410 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -23,7 +23,7 @@ QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_MainWindow_t {
QByteArrayData data[25];
char stringdata0[426];
char stringdata0[439];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -33,44 +33,46 @@ struct qt_meta_stringdata_MainWindow_t {
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
{
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 18), // "onInitializeClient"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 16), // "RecognizeSystem*"
QT_MOC_LITERAL(4, 48, 15), // "recognizeSystem"
QT_MOC_LITERAL(5, 64, 17), // "ExternalExecuter*"
QT_MOC_LITERAL(6, 82, 16), // "externalExecuter"
QT_MOC_LITERAL(7, 99, 12), // "onSetConnect"
QT_MOC_LITERAL(8, 112, 15), // "ServerSettings*"
QT_MOC_LITERAL(9, 128, 14), // "serverSettings"
QT_MOC_LITERAL(10, 143, 15), // "onCalculateHash"
QT_MOC_LITERAL(11, 159, 23), // "SendClientAuthorization"
QT_MOC_LITERAL(12, 183, 13), // "onSendMessage"
QT_MOC_LITERAL(13, 197, 7), // "message"
QT_MOC_LITERAL(14, 205, 22), // "on_loginButton_clicked"
QT_MOC_LITERAL(15, 228, 23), // "on_updateButton_clicked"
QT_MOC_LITERAL(16, 252, 22), // "on_startButton_clicked"
QT_MOC_LITERAL(17, 275, 27), // "on_saveServerButton_clicked"
QT_MOC_LITERAL(18, 303, 25), // "on_settingsButton_clicked"
QT_MOC_LITERAL(19, 329, 13), // "disableNotify"
QT_MOC_LITERAL(20, 343, 17), // "onConnectionState"
QT_MOC_LITERAL(21, 361, 4), // "flag"
QT_MOC_LITERAL(22, 366, 24), // "on_connectButton_clicked"
QT_MOC_LITERAL(23, 391, 29), // "on_languageComboBox_activated"
QT_MOC_LITERAL(24, 421, 4) // "arg1"
QT_MOC_LITERAL(1, 11, 19), // "sigInitializeClient"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 16), // "RecognizeSystem*"
QT_MOC_LITERAL(4, 49, 15), // "recognizeSystem"
QT_MOC_LITERAL(5, 65, 17), // "ExternalExecuter*"
QT_MOC_LITERAL(6, 83, 16), // "externalExecuter"
QT_MOC_LITERAL(7, 100, 13), // "sigSetConnect"
QT_MOC_LITERAL(8, 114, 15), // "ServerSettings*"
QT_MOC_LITERAL(9, 130, 14), // "serverSettings"
QT_MOC_LITERAL(10, 145, 16), // "sigCalculateHash"
QT_MOC_LITERAL(11, 162, 26), // "sigSendClientAuthorization"
QT_MOC_LITERAL(12, 189, 14), // "sigSendMessage"
QT_MOC_LITERAL(13, 204, 7), // "message"
QT_MOC_LITERAL(14, 212, 22), // "on_loginButton_clicked"
QT_MOC_LITERAL(15, 235, 23), // "on_updateButton_clicked"
QT_MOC_LITERAL(16, 259, 22), // "on_startButton_clicked"
QT_MOC_LITERAL(17, 282, 27), // "on_saveServerButton_clicked"
QT_MOC_LITERAL(18, 310, 25), // "on_settingsButton_clicked"
QT_MOC_LITERAL(19, 336, 24), // "on_connectButton_clicked"
QT_MOC_LITERAL(20, 361, 29), // "on_languageComboBox_activated"
QT_MOC_LITERAL(21, 391, 4), // "arg1"
QT_MOC_LITERAL(22, 396, 17), // "slotDisableNotify"
QT_MOC_LITERAL(23, 414, 19), // "slotConnectionState"
QT_MOC_LITERAL(24, 434, 4) // "flag"
},
"MainWindow\0onInitializeClient\0\0"
"MainWindow\0sigInitializeClient\0\0"
"RecognizeSystem*\0recognizeSystem\0"
"ExternalExecuter*\0externalExecuter\0"
"onSetConnect\0ServerSettings*\0"
"serverSettings\0onCalculateHash\0"
"SendClientAuthorization\0onSendMessage\0"
"sigSetConnect\0ServerSettings*\0"
"serverSettings\0sigCalculateHash\0"
"sigSendClientAuthorization\0sigSendMessage\0"
"message\0on_loginButton_clicked\0"
"on_updateButton_clicked\0on_startButton_clicked\0"
"on_saveServerButton_clicked\0"
"on_settingsButton_clicked\0disableNotify\0"
"onConnectionState\0flag\0on_connectButton_clicked\0"
"on_languageComboBox_activated\0arg1"
"on_settingsButton_clicked\0"
"on_connectButton_clicked\0"
"on_languageComboBox_activated\0arg1\0"
"slotDisableNotify\0slotConnectionState\0"
"flag"
};
#undef QT_MOC_LITERAL
@@ -119,9 +121,9 @@ static const uint qt_meta_data_MainWindow[] = {
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Bool, 21,
QMetaType::Void, QMetaType::QString, 21,
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 24,
QMetaType::Void, QMetaType::Bool, 24,
0 // eod
};
@@ -132,20 +134,20 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
auto *_t = static_cast<MainWindow *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->onInitializeClient((*reinterpret_cast< RecognizeSystem*(*)>(_a[1])),(*reinterpret_cast< ExternalExecuter*(*)>(_a[2]))); break;
case 1: _t->onSetConnect((*reinterpret_cast< ServerSettings*(*)>(_a[1]))); break;
case 2: _t->onCalculateHash(); break;
case 3: _t->SendClientAuthorization(); break;
case 4: _t->onSendMessage((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 0: _t->sigInitializeClient((*reinterpret_cast< RecognizeSystem*(*)>(_a[1])),(*reinterpret_cast< ExternalExecuter*(*)>(_a[2]))); break;
case 1: _t->sigSetConnect((*reinterpret_cast< ServerSettings*(*)>(_a[1]))); break;
case 2: _t->sigCalculateHash(); break;
case 3: _t->sigSendClientAuthorization(); break;
case 4: _t->sigSendMessage((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 5: _t->on_loginButton_clicked(); break;
case 6: _t->on_updateButton_clicked(); break;
case 7: _t->on_startButton_clicked(); break;
case 8: _t->on_saveServerButton_clicked(); break;
case 9: _t->on_settingsButton_clicked(); break;
case 10: _t->disableNotify(); break;
case 11: _t->onConnectionState((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 12: _t->on_connectButton_clicked(); break;
case 13: _t->on_languageComboBox_activated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 10: _t->on_connectButton_clicked(); break;
case 11: _t->on_languageComboBox_activated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 12: _t->slotDisableNotify(); break;
case 13: _t->slotConnectionState((*reinterpret_cast< bool(*)>(_a[1]))); break;
default: ;
}
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
@@ -165,35 +167,35 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (MainWindow::*)(RecognizeSystem * , ExternalExecuter * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::onInitializeClient)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigInitializeClient)) {
*result = 0;
return;
}
}
{
using _t = void (MainWindow::*)(ServerSettings * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::onSetConnect)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigSetConnect)) {
*result = 1;
return;
}
}
{
using _t = void (MainWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::onCalculateHash)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigCalculateHash)) {
*result = 2;
return;
}
}
{
using _t = void (MainWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::SendClientAuthorization)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigSendClientAuthorization)) {
*result = 3;
return;
}
}
{
using _t = void (MainWindow::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::onSendMessage)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigSendMessage)) {
*result = 4;
return;
}
@@ -242,33 +244,33 @@ int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
}
// SIGNAL 0
void MainWindow::onInitializeClient(RecognizeSystem * _t1, ExternalExecuter * _t2)
void MainWindow::sigInitializeClient(RecognizeSystem * _t1, ExternalExecuter * _t2)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void MainWindow::onSetConnect(ServerSettings * _t1)
void MainWindow::sigSetConnect(ServerSettings * _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
// SIGNAL 2
void MainWindow::onCalculateHash()
void MainWindow::sigCalculateHash()
{
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
// SIGNAL 3
void MainWindow::SendClientAuthorization()
void MainWindow::sigSendClientAuthorization()
{
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
// SIGNAL 4
void MainWindow::onSendMessage(QString _t1)
void MainWindow::sigSendMessage(QString _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 4, _a);

Binary file not shown.

View File

@@ -23,7 +23,7 @@ QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_RecognizeSystem_t {
QByteArrayData data[17];
char stringdata0[207];
char stringdata0[224];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -33,30 +33,30 @@ struct qt_meta_stringdata_RecognizeSystem_t {
static const qt_meta_stringdata_RecognizeSystem_t qt_meta_stringdata_RecognizeSystem = {
{
QT_MOC_LITERAL(0, 0, 15), // "RecognizeSystem"
QT_MOC_LITERAL(1, 16, 20), // "UpdateBytesAvailable"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 4), // "size"
QT_MOC_LITERAL(4, 43, 6), // "sended"
QT_MOC_LITERAL(5, 50, 12), // "LoadComplete"
QT_MOC_LITERAL(6, 63, 12), // "onNeedUpdate"
QT_MOC_LITERAL(7, 76, 4), // "flag"
QT_MOC_LITERAL(8, 81, 9), // "fileCount"
QT_MOC_LITERAL(9, 91, 14), // "onSendDebugLog"
QT_MOC_LITERAL(10, 106, 7), // "message"
QT_MOC_LITERAL(11, 114, 14), // "SockedDisabled"
QT_MOC_LITERAL(12, 129, 13), // "SaveLoginData"
QT_MOC_LITERAL(13, 143, 20), // "ServerAuthorization*"
QT_MOC_LITERAL(14, 164, 10), // "serverAuth"
QT_MOC_LITERAL(15, 175, 22), // "SocketWaitForReadyRead"
QT_MOC_LITERAL(16, 198, 8) // "waitTime"
QT_MOC_LITERAL(1, 16, 23), // "sigUpdateBytesAvailable"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 4), // "size"
QT_MOC_LITERAL(4, 46, 6), // "sended"
QT_MOC_LITERAL(5, 53, 15), // "sigLoadComplete"
QT_MOC_LITERAL(6, 69, 13), // "sigNeedUpdate"
QT_MOC_LITERAL(7, 83, 4), // "flag"
QT_MOC_LITERAL(8, 88, 9), // "fileCount"
QT_MOC_LITERAL(9, 98, 15), // "sigSendDebugLog"
QT_MOC_LITERAL(10, 114, 7), // "message"
QT_MOC_LITERAL(11, 122, 17), // "sigSocketDisabled"
QT_MOC_LITERAL(12, 140, 16), // "sigSaveLoginData"
QT_MOC_LITERAL(13, 157, 20), // "ServerAuthorization*"
QT_MOC_LITERAL(14, 178, 10), // "serverAuth"
QT_MOC_LITERAL(15, 189, 25), // "sigSocketWaitForReadyRead"
QT_MOC_LITERAL(16, 215, 8) // "waitTime"
},
"RecognizeSystem\0UpdateBytesAvailable\0"
"\0size\0sended\0LoadComplete\0onNeedUpdate\0"
"flag\0fileCount\0onSendDebugLog\0message\0"
"SockedDisabled\0SaveLoginData\0"
"RecognizeSystem\0sigUpdateBytesAvailable\0"
"\0size\0sended\0sigLoadComplete\0sigNeedUpdate\0"
"flag\0fileCount\0sigSendDebugLog\0message\0"
"sigSocketDisabled\0sigSaveLoginData\0"
"ServerAuthorization*\0serverAuth\0"
"SocketWaitForReadyRead\0waitTime"
"sigSocketWaitForReadyRead\0waitTime"
};
#undef QT_MOC_LITERAL
@@ -100,62 +100,62 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
auto *_t = static_cast<RecognizeSystem *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->UpdateBytesAvailable((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< quint64(*)>(_a[2]))); break;
case 1: _t->LoadComplete(); break;
case 2: _t->onNeedUpdate((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2])),(*reinterpret_cast< quint64(*)>(_a[3]))); break;
case 3: _t->onSendDebugLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 4: _t->SockedDisabled(); break;
case 5: _t->SaveLoginData((*reinterpret_cast< ServerAuthorization*(*)>(_a[1]))); break;
case 6: _t->SocketWaitForReadyRead((*reinterpret_cast< int(*)>(_a[1]))); break;
case 0: _t->sigUpdateBytesAvailable((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< quint64(*)>(_a[2]))); break;
case 1: _t->sigLoadComplete(); break;
case 2: _t->sigNeedUpdate((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2])),(*reinterpret_cast< quint64(*)>(_a[3]))); break;
case 3: _t->sigSendDebugLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 4: _t->sigSocketDisabled(); break;
case 5: _t->sigSaveLoginData((*reinterpret_cast< ServerAuthorization*(*)>(_a[1]))); break;
case 6: _t->sigSocketWaitForReadyRead((*reinterpret_cast< int(*)>(_a[1]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (RecognizeSystem::*)(qint64 , quint64 );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::UpdateBytesAvailable)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigUpdateBytesAvailable)) {
*result = 0;
return;
}
}
{
using _t = void (RecognizeSystem::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::LoadComplete)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigLoadComplete)) {
*result = 1;
return;
}
}
{
using _t = void (RecognizeSystem::*)(bool , qint64 , quint64 );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::onNeedUpdate)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigNeedUpdate)) {
*result = 2;
return;
}
}
{
using _t = void (RecognizeSystem::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::onSendDebugLog)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigSendDebugLog)) {
*result = 3;
return;
}
}
{
using _t = void (RecognizeSystem::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::SockedDisabled)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigSocketDisabled)) {
*result = 4;
return;
}
}
{
using _t = void (RecognizeSystem::*)(ServerAuthorization * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::SaveLoginData)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigSaveLoginData)) {
*result = 5;
return;
}
}
{
using _t = void (RecognizeSystem::*)(int );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::SocketWaitForReadyRead)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigSocketWaitForReadyRead)) {
*result = 6;
return;
}
@@ -204,47 +204,47 @@ int RecognizeSystem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
}
// SIGNAL 0
void RecognizeSystem::UpdateBytesAvailable(qint64 _t1, quint64 _t2)
void RecognizeSystem::sigUpdateBytesAvailable(qint64 _t1, quint64 _t2)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void RecognizeSystem::LoadComplete()
void RecognizeSystem::sigLoadComplete()
{
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
// SIGNAL 2
void RecognizeSystem::onNeedUpdate(bool _t1, qint64 _t2, quint64 _t3)
void RecognizeSystem::sigNeedUpdate(bool _t1, qint64 _t2, quint64 _t3)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
// SIGNAL 3
void RecognizeSystem::onSendDebugLog(QString _t1)
void RecognizeSystem::sigSendDebugLog(QString _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
// SIGNAL 4
void RecognizeSystem::SockedDisabled()
void RecognizeSystem::sigSocketDisabled()
{
QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
// SIGNAL 5
void RecognizeSystem::SaveLoginData(ServerAuthorization * _t1)
void RecognizeSystem::sigSaveLoginData(ServerAuthorization * _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
// SIGNAL 6
void RecognizeSystem::SocketWaitForReadyRead(int _t1)
void RecognizeSystem::sigSocketWaitForReadyRead(int _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 6, _a);

Binary file not shown.

Binary file not shown.

View File

@@ -23,7 +23,7 @@ QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_TCPClient_t {
QByteArrayData data[12];
char stringdata0[130];
char stringdata0[140];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -33,23 +33,23 @@ struct qt_meta_stringdata_TCPClient_t {
static const qt_meta_stringdata_TCPClient_t qt_meta_stringdata_TCPClient = {
{
QT_MOC_LITERAL(0, 0, 9), // "TCPClient"
QT_MOC_LITERAL(1, 10, 14), // "onSendDebugLog"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 7), // "message"
QT_MOC_LITERAL(4, 34, 9), // "Recognize"
QT_MOC_LITERAL(5, 44, 11), // "QTcpSocket*"
QT_MOC_LITERAL(6, 56, 6), // "socket"
QT_MOC_LITERAL(7, 63, 15), // "ConnectionState"
QT_MOC_LITERAL(8, 79, 4), // "flag"
QT_MOC_LITERAL(9, 84, 18), // "signalGetXmlAnswer"
QT_MOC_LITERAL(10, 103, 14), // "MessageEntered"
QT_MOC_LITERAL(11, 118, 11) // "onReadyRead"
QT_MOC_LITERAL(1, 10, 15), // "sigSendDebugLog"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 7), // "message"
QT_MOC_LITERAL(4, 35, 12), // "sigRecognize"
QT_MOC_LITERAL(5, 48, 11), // "QTcpSocket*"
QT_MOC_LITERAL(6, 60, 6), // "socket"
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"
},
"TCPClient\0onSendDebugLog\0\0message\0"
"Recognize\0QTcpSocket*\0socket\0"
"ConnectionState\0flag\0signalGetXmlAnswer\0"
"MessageEntered\0onReadyRead"
"TCPClient\0sigSendDebugLog\0\0message\0"
"sigRecognize\0QTcpSocket*\0socket\0"
"sigConnectionState\0flag\0sigGetXmlAnswer\0"
"slotMessageEntered\0slotReadyRead"
};
#undef QT_MOC_LITERAL
@@ -95,13 +95,13 @@ void TCPClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, v
auto *_t = static_cast<TCPClient *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->onSendDebugLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 1: _t->Recognize((*reinterpret_cast< QTcpSocket*(*)>(_a[1]))); break;
case 2: _t->ConnectionState((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 3: { QByteArray _r = _t->signalGetXmlAnswer((*reinterpret_cast< QString(*)>(_a[1])));
case 0: _t->sigSendDebugLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 1: _t->sigRecognize((*reinterpret_cast< QTcpSocket*(*)>(_a[1]))); break;
case 2: _t->sigConnectionState((*reinterpret_cast< bool(*)>(_a[1]))); break;
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->MessageEntered((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 5: _t->onReadyRead(); break;
case 4: _t->slotMessageEntered((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 5: _t->slotReadyRead(); break;
default: ;
}
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
@@ -119,28 +119,28 @@ void TCPClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, v
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (TCPClient::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::onSendDebugLog)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::sigSendDebugLog)) {
*result = 0;
return;
}
}
{
using _t = void (TCPClient::*)(QTcpSocket * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::Recognize)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::sigRecognize)) {
*result = 1;
return;
}
}
{
using _t = void (TCPClient::*)(bool );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::ConnectionState)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::sigConnectionState)) {
*result = 2;
return;
}
}
{
using _t = QByteArray (TCPClient::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::signalGetXmlAnswer)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::sigGetXmlAnswer)) {
*result = 3;
return;
}
@@ -189,28 +189,28 @@ int TCPClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
}
// SIGNAL 0
void TCPClient::onSendDebugLog(QString _t1)
void TCPClient::sigSendDebugLog(QString _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void TCPClient::Recognize(QTcpSocket * _t1)
void TCPClient::sigRecognize(QTcpSocket * _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
// SIGNAL 2
void TCPClient::ConnectionState(bool _t1)
void TCPClient::sigConnectionState(bool _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
// SIGNAL 3
QByteArray TCPClient::signalGetXmlAnswer(QString _t1)
QByteArray TCPClient::sigGetXmlAnswer(QString _t1)
{
QByteArray _t0{};
void *_a[] = { const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t0))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };

Binary file not shown.

166
debug/qrc_resources.cpp Normal file
View File

@@ -0,0 +1,166 @@
/****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.14.2
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
static const unsigned char qt_resource_data[] = {
// E:/Projects/QT/GUIProj/RRJClient/RRJClient/plane.png
0x0,0x0,0x4,0x49,
0x89,
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
0x0,0x0,0x40,0x0,0x0,0x0,0x40,0x8,0x3,0x0,0x0,0x0,0x9d,0xb7,0x81,0xec,
0x0,0x0,0x0,0x3,0x73,0x42,0x49,0x54,0x8,0x8,0x8,0xdb,0xe1,0x4f,0xe0,0x0,
0x0,0x0,0x9,0x70,0x48,0x59,0x73,0x0,0x0,0x1,0xbb,0x0,0x0,0x1,0xbb,0x1,
0x3a,0xec,0xe3,0xe2,0x0,0x0,0x0,0x19,0x74,0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0xca,0x8a,0x5b,
0x18,0x90,0x64,0x2a,0xae,0x21,0xe2,0x2d,0x91,0x2c,0xce,0xc0,0x88,0x24,0xb3,0x22,
0xef,0x84,0xc8,0x11,0xc9,0x20,0x8c,0x49,0x32,0x2b,0x7c,0x10,0x99,0x20,0x23,0x30,
0x23,0xc9,0xfc,0x12,0x80,0xd0,0x59,0xc2,0x6,0x53,0x92,0x4c,0x72,0x1f,0x42,0xe3,
0x2e,0x58,0x20,0xc9,0x64,0x18,0x3f,0x21,0xc9,0x7,0x36,0xfc,0xc8,0xb0,0xd,0xbf,
0xfe,0x2b,0x7f,0x1,0x77,0xc7,0x87,0x2a,0x7d,0x51,0xb0,0x7e,0x0,0x0,0x0,0x0,
0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,
};
static const unsigned char qt_resource_name[] = {
// new
0x0,0x3,
0x0,0x0,0x74,0xc7,
0x0,0x6e,
0x0,0x65,0x0,0x77,
// resoures
0x0,0x8,
0xc,0xa6,0xc7,0xc3,
0x0,0x72,
0x0,0x65,0x0,0x73,0x0,0x6f,0x0,0x75,0x0,0x72,0x0,0x65,0x0,0x73,
// plane.png
0x0,0x9,
0x8,0x48,0xb9,0x7,
0x0,0x70,
0x0,0x6c,0x0,0x61,0x0,0x6e,0x0,0x65,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67,
};
static const unsigned char qt_resource_struct[] = {
// :
0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x1,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
// :/new
0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x2,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
// :/new/resoures
0x0,0x0,0x0,0xc,0x0,0x2,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x3,
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,
};
#ifdef QT_NAMESPACE
# define QT_RCC_PREPEND_NAMESPACE(name) ::QT_NAMESPACE::name
# define QT_RCC_MANGLE_NAMESPACE0(x) x
# define QT_RCC_MANGLE_NAMESPACE1(a, b) a##_##b
# define QT_RCC_MANGLE_NAMESPACE2(a, b) QT_RCC_MANGLE_NAMESPACE1(a,b)
# define QT_RCC_MANGLE_NAMESPACE(name) QT_RCC_MANGLE_NAMESPACE2( \
QT_RCC_MANGLE_NAMESPACE0(name), QT_RCC_MANGLE_NAMESPACE0(QT_NAMESPACE))
#else
# define QT_RCC_PREPEND_NAMESPACE(name) name
# define QT_RCC_MANGLE_NAMESPACE(name) name
#endif
#ifdef QT_NAMESPACE
namespace QT_NAMESPACE {
#endif
bool qRegisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *);
bool qUnregisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *);
#ifdef QT_NAMESPACE
}
#endif
int QT_RCC_MANGLE_NAMESPACE(qInitResources_resources)();
int QT_RCC_MANGLE_NAMESPACE(qInitResources_resources)()
{
int version = 3;
QT_RCC_PREPEND_NAMESPACE(qRegisterResourceData)
(version, qt_resource_struct, qt_resource_name, qt_resource_data);
return 1;
}
int QT_RCC_MANGLE_NAMESPACE(qCleanupResources_resources)();
int QT_RCC_MANGLE_NAMESPACE(qCleanupResources_resources)()
{
int version = 3;
QT_RCC_PREPEND_NAMESPACE(qUnregisterResourceData)
(version, qt_resource_struct, qt_resource_name, qt_resource_data);
return 1;
}
namespace {
struct initializer {
initializer() { QT_RCC_MANGLE_NAMESPACE(qInitResources_resources)(); }
~initializer() { QT_RCC_MANGLE_NAMESPACE(qCleanupResources_resources)(); }
} dummy;
}

BIN
debug/qrc_resources.o Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.