9 #include "../keywidget.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #include <QtCore/QSet>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'keywidget.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.7.1. It"
17 #error "cannot be used with the include files from this version of Qt."
18 #error "(The moc has changed too much.)"
21 QT_BEGIN_MOC_NAMESPACE
26 #define QT_MOC_LITERAL(idx, ofs, len) \
27 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
28 qptrdiff(offsetof(qt_meta_stringdata_KeyWidget_t, stringdata0) + ofs \
29 - idx * sizeof(QByteArrayData)) \
45 "KeyWidget\0selectionChanged\0\0selected\0"
46 "sidelightToggled\0displayColorMap\0"
47 "ColorMap\0newDisplayMap\0QSet<QString>\0"
74 QMetaType::Void, QMetaType::QStringList, 3,
78 QMetaType::Void, 0x80000000 | 6, 0x80000000 | 8, 7, 9,
79 QMetaType::Void, 0x80000000 | 6, 7,
84 void KeyWidget::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
86 if (_c == QMetaObject::InvokeMetaMethod) {
90 case 0: _t->
selectionChanged((*
reinterpret_cast< QStringList(*)
>(_a[1])));
break;
92 case 2: _t->
displayColorMap((*
reinterpret_cast< const ColorMap(*)
>(_a[1])),(*
reinterpret_cast< const QSet<QString>(*)
>(_a[2])));
break;
96 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
98 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
100 switch (*reinterpret_cast<int*>(_a[1])) {
101 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
103 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< QSet<QString> >();
break;
107 }
else if (_c == QMetaObject::IndexOfMethod) {
108 int *result =
reinterpret_cast<int *
>(_a[0]);
109 void **func =
reinterpret_cast<void **
>(_a[1]);
111 typedef void (
KeyWidget::*_t)(QStringList );
127 const QMetaObject KeyWidget::staticMetaObject = {
128 { &QWidget::staticMetaObject, qt_meta_stringdata_KeyWidget.
data,
133 const QMetaObject *KeyWidget::metaObject()
const
135 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
138 void *KeyWidget::qt_metacast(
const char *_clname)
140 if (!_clname)
return Q_NULLPTR;
141 if (!strcmp(_clname, qt_meta_stringdata_KeyWidget.
stringdata0))
142 return static_cast<void*
>(
const_cast< KeyWidget*
>(
this));
143 return QWidget::qt_metacast(_clname);
146 int KeyWidget::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
148 _id = QWidget::qt_metacall(_c, _id, _a);
151 if (_c == QMetaObject::InvokeMetaMethod) {
153 qt_static_metacall(
this, _c, _id, _a);
155 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
157 qt_static_metacall(
this, _c, _id, _a);
166 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
167 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
173 QMetaObject::activate(
this, &staticMetaObject, 1, Q_NULLPTR);