mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
feat: display Update size and notification
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.
@@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_MainWindow_t {
|
||||
QByteArrayData data[19];
|
||||
char stringdata0[329];
|
||||
QByteArrayData data[23];
|
||||
char stringdata0[391];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
@@ -50,7 +50,11 @@ 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(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"
|
||||
|
||||
},
|
||||
"MainWindow\0onInitializeClient\0\0"
|
||||
@@ -62,7 +66,8 @@ QT_MOC_LITERAL(18, 303, 25) // "on_settingsButton_clicked"
|
||||
"message\0on_loginButton_clicked\0"
|
||||
"on_updateButton_clicked\0on_startButton_clicked\0"
|
||||
"on_saveServerButton_clicked\0"
|
||||
"on_settingsButton_clicked"
|
||||
"on_settingsButton_clicked\0disableNotify\0"
|
||||
"onConnectionState\0flag\0on_connectButton_clicked"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
@@ -72,7 +77,7 @@ static const uint qt_meta_data_MainWindow[] = {
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
10, 14, // methods
|
||||
13, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
@@ -80,18 +85,21 @@ static const uint qt_meta_data_MainWindow[] = {
|
||||
5, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 64, 2, 0x06 /* Public */,
|
||||
7, 1, 69, 2, 0x06 /* Public */,
|
||||
10, 0, 72, 2, 0x06 /* Public */,
|
||||
11, 0, 73, 2, 0x06 /* Public */,
|
||||
12, 1, 74, 2, 0x06 /* Public */,
|
||||
1, 2, 79, 2, 0x06 /* Public */,
|
||||
7, 1, 84, 2, 0x06 /* Public */,
|
||||
10, 0, 87, 2, 0x06 /* Public */,
|
||||
11, 0, 88, 2, 0x06 /* Public */,
|
||||
12, 1, 89, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
14, 0, 77, 2, 0x08 /* Private */,
|
||||
15, 0, 78, 2, 0x08 /* Private */,
|
||||
16, 0, 79, 2, 0x08 /* Private */,
|
||||
17, 0, 80, 2, 0x08 /* Private */,
|
||||
18, 0, 81, 2, 0x08 /* Private */,
|
||||
14, 0, 92, 2, 0x08 /* Private */,
|
||||
15, 0, 93, 2, 0x08 /* Private */,
|
||||
16, 0, 94, 2, 0x08 /* Private */,
|
||||
17, 0, 95, 2, 0x08 /* Private */,
|
||||
18, 0, 96, 2, 0x08 /* Private */,
|
||||
19, 0, 97, 2, 0x08 /* Private */,
|
||||
20, 1, 98, 2, 0x08 /* Private */,
|
||||
22, 0, 101, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 4, 6,
|
||||
@@ -105,6 +113,9 @@ static const uint qt_meta_data_MainWindow[] = {
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 21,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
@@ -126,6 +137,9 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
|
||||
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;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
@@ -210,13 +224,13 @@ int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 10)
|
||||
if (_id < 13)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 10;
|
||||
_id -= 13;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 10)
|
||||
if (_id < 13)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 10;
|
||||
_id -= 13;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -75,16 +75,16 @@ static const uint qt_meta_data_RecognizeSystem[] = {
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 49, 2, 0x06 /* Public */,
|
||||
5, 0, 54, 2, 0x06 /* Public */,
|
||||
6, 1, 55, 2, 0x06 /* Public */,
|
||||
8, 1, 58, 2, 0x06 /* Public */,
|
||||
10, 0, 61, 2, 0x06 /* Public */,
|
||||
11, 1, 62, 2, 0x06 /* Public */,
|
||||
14, 1, 65, 2, 0x06 /* Public */,
|
||||
6, 2, 55, 2, 0x06 /* Public */,
|
||||
8, 1, 60, 2, 0x06 /* Public */,
|
||||
10, 0, 63, 2, 0x06 /* Public */,
|
||||
11, 1, 64, 2, 0x06 /* Public */,
|
||||
14, 1, 67, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::LongLong, QMetaType::ULongLong, 3, 4,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 7,
|
||||
QMetaType::Void, QMetaType::Bool, QMetaType::LongLong, 7, 3,
|
||||
QMetaType::Void, QMetaType::QString, 9,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, 0x80000000 | 12, 13,
|
||||
@@ -101,7 +101,7 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
|
||||
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]))); break;
|
||||
case 2: _t->onNeedUpdate((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); 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;
|
||||
@@ -125,7 +125,7 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (RecognizeSystem::*)(bool );
|
||||
using _t = void (RecognizeSystem::*)(bool , qint64 );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::onNeedUpdate)) {
|
||||
*result = 2;
|
||||
return;
|
||||
@@ -216,9 +216,9 @@ void RecognizeSystem::LoadComplete()
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void RecognizeSystem::onNeedUpdate(bool _t1)
|
||||
void RecognizeSystem::onNeedUpdate(bool _t1, qint64 _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
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, 2, _a);
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user