/**************************************************************************** ** Meta object code from reading C++ file 'UpdateTask.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.17) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include #include "control/UpdateTask.h" #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'UpdateTask.h' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 67 #error "This file was generated using the moc from 5.15.17. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif QT_BEGIN_MOC_NAMESPACE QT_WARNING_PUSH QT_WARNING_DISABLE_DEPRECATED struct qt_meta_stringdata_UpdateTask_t { QByteArrayData data[19]; char stringdata0[264]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_UpdateTask_t, stringdata0) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_UpdateTask_t qt_meta_stringdata_UpdateTask = { { QT_MOC_LITERAL(0, 0, 10), // "UpdateTask" QT_MOC_LITERAL(1, 11, 15), // "updateCompleted" QT_MOC_LITERAL(2, 27, 0), // "" QT_MOC_LITERAL(3, 28, 15), // "updateAvailable" QT_MOC_LITERAL(4, 44, 9), // "requested" QT_MOC_LITERAL(5, 54, 14), // "updateNotFound" QT_MOC_LITERAL(6, 69, 16), // "installingUpdate" QT_MOC_LITERAL(7, 86, 11), // "updateError" QT_MOC_LITERAL(8, 98, 16), // "downloadFinished" QT_MOC_LITERAL(9, 115, 14), // "QNetworkReply*" QT_MOC_LITERAL(10, 130, 5), // "reply" QT_MOC_LITERAL(11, 136, 29), // "onProxyAuthenticationRequired" QT_MOC_LITERAL(12, 166, 13), // "QNetworkProxy" QT_MOC_LITERAL(13, 180, 15), // "QAuthenticator*" QT_MOC_LITERAL(14, 196, 17), // "startUpdateThread" QT_MOC_LITERAL(15, 214, 13), // "installUpdate" QT_MOC_LITERAL(16, 228, 15), // "checkForUpdates" QT_MOC_LITERAL(17, 244, 9), // "tryUpdate" QT_MOC_LITERAL(18, 254, 9) // "onTimeout" }, "UpdateTask\0updateCompleted\0\0updateAvailable\0" "requested\0updateNotFound\0installingUpdate\0" "updateError\0downloadFinished\0" "QNetworkReply*\0reply\0onProxyAuthenticationRequired\0" "QNetworkProxy\0QAuthenticator*\0" "startUpdateThread\0installUpdate\0" "checkForUpdates\0tryUpdate\0onTimeout" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_UpdateTask[] = { // content: 8, // revision 0, // classname 0, 0, // classinfo 12, 14, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 5, // signalCount // signals: name, argc, parameters, tag, flags 1, 0, 74, 2, 0x06 /* Public */, 3, 1, 75, 2, 0x06 /* Public */, 5, 1, 78, 2, 0x06 /* Public */, 6, 1, 81, 2, 0x06 /* Public */, 7, 0, 84, 2, 0x06 /* Public */, // slots: name, argc, parameters, tag, flags 8, 1, 85, 2, 0x08 /* Private */, 11, 2, 88, 2, 0x08 /* Private */, 14, 0, 93, 2, 0x0a /* Public */, 15, 0, 94, 2, 0x0a /* Public */, 16, 0, 95, 2, 0x0a /* Public */, 17, 0, 96, 2, 0x0a /* Public */, 18, 0, 97, 2, 0x0a /* Public */, // signals: parameters QMetaType::Void, QMetaType::Void, QMetaType::Bool, 4, QMetaType::Void, QMetaType::Bool, 4, QMetaType::Void, QMetaType::Bool, 4, QMetaType::Void, // slots: parameters QMetaType::Void, 0x80000000 | 9, 10, QMetaType::Void, 0x80000000 | 12, 0x80000000 | 13, 2, 2, QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Void, 0 // eod }; void UpdateTask::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { auto *_t = static_cast(_o); (void)_t; switch (_id) { case 0: _t->updateCompleted(); break; case 1: _t->updateAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break; case 2: _t->updateNotFound((*reinterpret_cast< bool(*)>(_a[1]))); break; case 3: _t->installingUpdate((*reinterpret_cast< bool(*)>(_a[1]))); break; case 4: _t->updateError(); break; case 5: _t->downloadFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; case 6: _t->onProxyAuthenticationRequired((*reinterpret_cast< const QNetworkProxy(*)>(_a[1])),(*reinterpret_cast< QAuthenticator*(*)>(_a[2]))); break; case 7: _t->startUpdateThread(); break; case 8: _t->installUpdate(); break; case 9: _t->checkForUpdates(); break; case 10: _t->tryUpdate(); break; case 11: _t->onTimeout(); break; default: ; } } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { switch (_id) { default: *reinterpret_cast(_a[0]) = -1; break; case 5: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QNetworkReply* >(); break; } break; } } else if (_c == QMetaObject::IndexOfMethod) { int *result = reinterpret_cast(_a[0]); { using _t = void (UpdateTask::*)(); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UpdateTask::updateCompleted)) { *result = 0; return; } } { using _t = void (UpdateTask::*)(bool ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UpdateTask::updateAvailable)) { *result = 1; return; } } { using _t = void (UpdateTask::*)(bool ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UpdateTask::updateNotFound)) { *result = 2; return; } } { using _t = void (UpdateTask::*)(bool ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UpdateTask::installingUpdate)) { *result = 3; return; } } { using _t = void (UpdateTask::*)(); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UpdateTask::updateError)) { *result = 4; return; } } } } QT_INIT_METAOBJECT const QMetaObject UpdateTask::staticMetaObject = { { QMetaObject::SuperData::link(), qt_meta_stringdata_UpdateTask.data, qt_meta_data_UpdateTask, qt_static_metacall, nullptr, nullptr } }; const QMetaObject *UpdateTask::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *UpdateTask::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_UpdateTask.stringdata0)) return static_cast(this); return QObject::qt_metacast(_clname); } int UpdateTask::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QObject::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { if (_id < 12) qt_static_metacall(this, _c, _id, _a); _id -= 12; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 12) qt_static_metacall(this, _c, _id, _a); _id -= 12; } return _id; } // SIGNAL 0 void UpdateTask::updateCompleted() { QMetaObject::activate(this, &staticMetaObject, 0, nullptr); } // SIGNAL 1 void UpdateTask::updateAvailable(bool _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 1, _a); } // SIGNAL 2 void UpdateTask::updateNotFound(bool _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 2, _a); } // SIGNAL 3 void UpdateTask::installingUpdate(bool _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 3, _a); } // SIGNAL 4 void UpdateTask::updateError() { QMetaObject::activate(this, &staticMetaObject, 4, nullptr); } QT_WARNING_POP QT_END_MOC_NAMESPACE