mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
bugfix/feat: main loading bar, add bar for sender
This commit is contained in:
Binary file not shown.
BIN
debug/main.o
BIN
debug/main.o
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_RecognizeSystem_t {
|
||||
QByteArrayData data[19];
|
||||
char stringdata0[257];
|
||||
QByteArrayData data[18];
|
||||
char stringdata0[250];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
@@ -35,27 +35,26 @@ static const qt_meta_stringdata_RecognizeSystem_t qt_meta_stringdata_RecognizeSy
|
||||
QT_MOC_LITERAL(0, 0, 15), // "RecognizeSystem"
|
||||
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), // "sigServerBlocked"
|
||||
QT_MOC_LITERAL(13, 157, 16), // "sigSaveLoginData"
|
||||
QT_MOC_LITERAL(14, 174, 20), // "ServerAuthorization*"
|
||||
QT_MOC_LITERAL(15, 195, 10), // "serverAuth"
|
||||
QT_MOC_LITERAL(16, 206, 25), // "sigSocketWaitForReadyRead"
|
||||
QT_MOC_LITERAL(17, 232, 8), // "waitTime"
|
||||
QT_MOC_LITERAL(18, 241, 15) // "sigStartCompare"
|
||||
QT_MOC_LITERAL(3, 41, 15), // "sigLoadComplete"
|
||||
QT_MOC_LITERAL(4, 57, 13), // "sigNeedUpdate"
|
||||
QT_MOC_LITERAL(5, 71, 4), // "flag"
|
||||
QT_MOC_LITERAL(6, 76, 4), // "size"
|
||||
QT_MOC_LITERAL(7, 81, 9), // "fileCount"
|
||||
QT_MOC_LITERAL(8, 91, 15), // "sigSendDebugLog"
|
||||
QT_MOC_LITERAL(9, 107, 7), // "message"
|
||||
QT_MOC_LITERAL(10, 115, 17), // "sigSocketDisabled"
|
||||
QT_MOC_LITERAL(11, 133, 16), // "sigServerBlocked"
|
||||
QT_MOC_LITERAL(12, 150, 16), // "sigSaveLoginData"
|
||||
QT_MOC_LITERAL(13, 167, 20), // "ServerAuthorization*"
|
||||
QT_MOC_LITERAL(14, 188, 10), // "serverAuth"
|
||||
QT_MOC_LITERAL(15, 199, 25), // "sigSocketWaitForReadyRead"
|
||||
QT_MOC_LITERAL(16, 225, 8), // "waitTime"
|
||||
QT_MOC_LITERAL(17, 234, 15) // "sigStartCompare"
|
||||
|
||||
},
|
||||
"RecognizeSystem\0sigUpdateBytesAvailable\0"
|
||||
"\0size\0sended\0sigLoadComplete\0sigNeedUpdate\0"
|
||||
"flag\0fileCount\0sigSendDebugLog\0message\0"
|
||||
"\0sigLoadComplete\0sigNeedUpdate\0flag\0"
|
||||
"size\0fileCount\0sigSendDebugLog\0message\0"
|
||||
"sigSocketDisabled\0sigServerBlocked\0"
|
||||
"sigSaveLoginData\0ServerAuthorization*\0"
|
||||
"serverAuth\0sigSocketWaitForReadyRead\0"
|
||||
@@ -77,25 +76,25 @@ static const uint qt_meta_data_RecognizeSystem[] = {
|
||||
9, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 59, 2, 0x06 /* Public */,
|
||||
5, 0, 64, 2, 0x06 /* Public */,
|
||||
6, 3, 65, 2, 0x06 /* Public */,
|
||||
9, 1, 72, 2, 0x06 /* Public */,
|
||||
11, 0, 75, 2, 0x06 /* Public */,
|
||||
12, 0, 76, 2, 0x06 /* Public */,
|
||||
13, 1, 77, 2, 0x06 /* Public */,
|
||||
16, 1, 80, 2, 0x06 /* Public */,
|
||||
18, 0, 83, 2, 0x06 /* Public */,
|
||||
1, 0, 59, 2, 0x06 /* Public */,
|
||||
3, 0, 60, 2, 0x06 /* Public */,
|
||||
4, 3, 61, 2, 0x06 /* Public */,
|
||||
8, 1, 68, 2, 0x06 /* Public */,
|
||||
10, 0, 71, 2, 0x06 /* Public */,
|
||||
11, 0, 72, 2, 0x06 /* Public */,
|
||||
12, 1, 73, 2, 0x06 /* Public */,
|
||||
15, 1, 76, 2, 0x06 /* Public */,
|
||||
17, 0, 79, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::LongLong, QMetaType::ULongLong, 3, 4,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, QMetaType::LongLong, QMetaType::ULongLong, 7, 3, 8,
|
||||
QMetaType::Void, QMetaType::QString, 10,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, 0x80000000 | 14, 15,
|
||||
QMetaType::Void, QMetaType::Int, 17,
|
||||
QMetaType::Void, QMetaType::Bool, QMetaType::LongLong, QMetaType::ULongLong, 5, 6, 7,
|
||||
QMetaType::Void, QMetaType::QString, 9,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, 0x80000000 | 13, 14,
|
||||
QMetaType::Void, QMetaType::Int, 16,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
@@ -107,7 +106,7 @@ 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->sigUpdateBytesAvailable((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< quint64(*)>(_a[2]))); break;
|
||||
case 0: _t->sigUpdateBytesAvailable(); 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;
|
||||
@@ -121,7 +120,7 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (RecognizeSystem::*)(qint64 , quint64 );
|
||||
using _t = void (RecognizeSystem::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigUpdateBytesAvailable)) {
|
||||
*result = 0;
|
||||
return;
|
||||
@@ -227,10 +226,9 @@ int RecognizeSystem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void RecognizeSystem::sigUpdateBytesAvailable(qint64 _t1, quint64 _t2)
|
||||
void RecognizeSystem::sigUpdateBytesAvailable()
|
||||
{
|
||||
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);
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
|
||||
Binary file not shown.
@@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_SendSystem_t {
|
||||
QByteArrayData data[3];
|
||||
char stringdata0[28];
|
||||
QByteArrayData data[4];
|
||||
char stringdata0[36];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
@@ -33,11 +33,12 @@ struct qt_meta_stringdata_SendSystem_t {
|
||||
static const qt_meta_stringdata_SendSystem_t qt_meta_stringdata_SendSystem = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 10), // "SendSystem"
|
||||
QT_MOC_LITERAL(1, 11, 15), // "sigGetXmlAnswer"
|
||||
QT_MOC_LITERAL(2, 27, 0) // ""
|
||||
QT_MOC_LITERAL(1, 11, 7), // "sigSend"
|
||||
QT_MOC_LITERAL(2, 19, 0), // ""
|
||||
QT_MOC_LITERAL(3, 20, 15) // "sigGetXmlAnswer"
|
||||
|
||||
},
|
||||
"SendSystem\0sigGetXmlAnswer\0"
|
||||
"SendSystem\0sigSend\0\0sigGetXmlAnswer"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
@@ -47,17 +48,19 @@ static const uint qt_meta_data_SendSystem[] = {
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
2, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 19, 2, 0x06 /* Public */,
|
||||
1, 0, 24, 2, 0x06 /* Public */,
|
||||
3, 1, 25, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::QByteArray, QMetaType::QString, 2,
|
||||
|
||||
0 // eod
|
||||
@@ -69,16 +72,24 @@ void SendSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
|
||||
auto *_t = static_cast<SendSystem *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: { QByteArray _r = _t->sigGetXmlAnswer((*reinterpret_cast< QString(*)>(_a[1])));
|
||||
case 0: _t->sigSend(); break;
|
||||
case 1: { QByteArray _r = _t->sigGetXmlAnswer((*reinterpret_cast< QString(*)>(_a[1])));
|
||||
if (_a[0]) *reinterpret_cast< QByteArray*>(_a[0]) = std::move(_r); } break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (SendSystem::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SendSystem::sigSend)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = QByteArray (SendSystem::*)(QString );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SendSystem::sigGetXmlAnswer)) {
|
||||
*result = 0;
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -114,23 +125,29 @@ int SendSystem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void SendSystem::sigSend()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
QByteArray SendSystem::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))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
return _t0;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user