9 #include "../kbfirmware.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'kbfirmware.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.7.1. It"
16 #error "cannot be used with the include files from this version of Qt."
17 #error "(The moc has changed too much.)"
20 QT_BEGIN_MOC_NAMESPACE
25 #define QT_MOC_LITERAL(idx, ofs, len) \
26 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
27 qptrdiff(offsetof(qt_meta_stringdata_KbFirmware_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
41 "KbFirmware\0downloaded\0\0processDownload\0"
42 "QNetworkReply*\0reply\0downloadFinished"
70 QMetaType::Void, 0x80000000 | 4, 5,
76 void KbFirmware::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
78 if (_c == QMetaObject::InvokeMetaMethod) {
83 case 1: _t->
processDownload((*
reinterpret_cast< QNetworkReply*(*)
>(_a[1])));
break;
87 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
89 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
91 switch (*reinterpret_cast<int*>(_a[1])) {
92 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
94 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< QNetworkReply* >();
break;
98 }
else if (_c == QMetaObject::IndexOfMethod) {
99 int *result =
reinterpret_cast<int *
>(_a[0]);
100 void **func =
reinterpret_cast<void **
>(_a[1]);
111 const QMetaObject KbFirmware::staticMetaObject = {
112 { &QObject::staticMetaObject, qt_meta_stringdata_KbFirmware.
data,
117 const QMetaObject *KbFirmware::metaObject()
const
119 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
122 void *KbFirmware::qt_metacast(
const char *_clname)
124 if (!_clname)
return Q_NULLPTR;
125 if (!strcmp(_clname, qt_meta_stringdata_KbFirmware.
stringdata0))
126 return static_cast<void*
>(
const_cast< KbFirmware*
>(
this));
127 return QObject::qt_metacast(_clname);
130 int KbFirmware::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
132 _id = QObject::qt_metacall(_c, _id, _a);
135 if (_c == QMetaObject::InvokeMetaMethod) {
137 qt_static_metacall(
this, _c, _id, _a);
139 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
141 qt_static_metacall(
this, _c, _id, _a);
150 QMetaObject::activate(
this, &staticMetaObject, 0, Q_NULLPTR);
static const qt_meta_stringdata_KbFirmware_t qt_meta_stringdata_KbFirmware
void processDownload(QNetworkReply *reply)
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_KbFirmware[]