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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user