10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'kbbind.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_KbBind_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
42 "KbBind\0didLoad\0\0layoutChanged\0updated\0"
74 QMetaType::Void, QMetaType::QString, QMetaType::Bool, 6, 7,
79 void KbBind::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
81 if (_c == QMetaObject::InvokeMetaMethod) {
88 case 3: _t->
keyEvent((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< bool(*)
>(_a[2])));
break;
91 }
else if (_c == QMetaObject::IndexOfMethod) {
92 int *result =
reinterpret_cast<int *
>(_a[0]);
93 void **func =
reinterpret_cast<void **
>(_a[1]);
95 typedef void (
KbBind::*_t)();
96 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&
KbBind::didLoad)) {
102 typedef void (
KbBind::*_t)();
109 typedef void (
KbBind::*_t)();
110 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&
KbBind::updated)) {
118 const QMetaObject KbBind::staticMetaObject = {
119 { &QObject::staticMetaObject, qt_meta_stringdata_KbBind.
data,
124 const QMetaObject *KbBind::metaObject()
const
126 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
129 void *KbBind::qt_metacast(
const char *_clname)
131 if (!_clname)
return Q_NULLPTR;
132 if (!strcmp(_clname, qt_meta_stringdata_KbBind.
stringdata0))
133 return static_cast<void*
>(
const_cast< KbBind*
>(
this));
134 return QObject::qt_metacast(_clname);
137 int KbBind::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
139 _id = QObject::qt_metacall(_c, _id, _a);
142 if (_c == QMetaObject::InvokeMetaMethod) {
144 qt_static_metacall(
this, _c, _id, _a);
146 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
148 *
reinterpret_cast<int*
>(_a[0]) = -1;
157 QMetaObject::activate(
this, &staticMetaObject, 0, Q_NULLPTR);
163 QMetaObject::activate(
this, &staticMetaObject, 1, Q_NULLPTR);
169 QMetaObject::activate(
this, &staticMetaObject, 2, Q_NULLPTR);
static const uint qt_meta_data_KbBind[]
static const qt_meta_stringdata_KbBind_t qt_meta_stringdata_KbBind
void keyEvent(const QString &key, bool down)
#define QT_MOC_LITERAL(idx, ofs, len)