9 #include "../kbmanager.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'kbmanager.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_KbManager_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
42 "KbManager\0kbConnected\0\0Kb*\0device\0"
43 "kbDisconnected\0versionUpdated\0"
70 QMetaType::Void, 0x80000000 | 3, 4,
71 QMetaType::Void, 0x80000000 | 3, 4,
80 void KbManager::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
82 if (_c == QMetaObject::InvokeMetaMethod) {
86 case 0: _t->
kbConnected((*
reinterpret_cast< Kb*(*)
>(_a[1])));
break;
92 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
94 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
96 switch (*reinterpret_cast<int*>(_a[1])) {
97 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
99 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< Kb* >();
break;
103 switch (*reinterpret_cast<int*>(_a[1])) {
104 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
106 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< Kb* >();
break;
110 }
else if (_c == QMetaObject::IndexOfMethod) {
111 int *result =
reinterpret_cast<int *
>(_a[0]);
112 void **func =
reinterpret_cast<void **
>(_a[1]);
137 const QMetaObject KbManager::staticMetaObject = {
138 { &QObject::staticMetaObject, qt_meta_stringdata_KbManager.
data,
143 const QMetaObject *KbManager::metaObject()
const
145 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
148 void *KbManager::qt_metacast(
const char *_clname)
150 if (!_clname)
return Q_NULLPTR;
151 if (!strcmp(_clname, qt_meta_stringdata_KbManager.
stringdata0))
152 return static_cast<void*
>(
const_cast< KbManager*
>(
this));
153 return QObject::qt_metacast(_clname);
156 int KbManager::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
158 _id = QObject::qt_metacall(_c, _id, _a);
161 if (_c == QMetaObject::InvokeMetaMethod) {
163 qt_static_metacall(
this, _c, _id, _a);
165 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
167 qt_static_metacall(
this, _c, _id, _a);
176 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
177 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
183 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
184 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
190 QMetaObject::activate(
this, &staticMetaObject, 2, Q_NULLPTR);
void kbDisconnected(Kb *device)
void kbConnected(Kb *device)
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_KbManager_t qt_meta_stringdata_KbManager
static const uint qt_meta_data_KbManager[]