9 #include "../colorbutton.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'colorbutton.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_ColorButton_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
39 "ColorButton\0colorChanged\0\0newColor\0"
64 QMetaType::Void, QMetaType::QColor, 3,
72 void ColorButton::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
74 if (_c == QMetaObject::InvokeMetaMethod) {
78 case 0: _t->
colorChanged((*
reinterpret_cast< QColor(*)
>(_a[1])));
break;
82 }
else if (_c == QMetaObject::IndexOfMethod) {
83 int *result =
reinterpret_cast<int *
>(_a[0]);
84 void **func =
reinterpret_cast<void **
>(_a[1]);
95 const QMetaObject ColorButton::staticMetaObject = {
96 { &QPushButton::staticMetaObject, qt_meta_stringdata_ColorButton.
data,
101 const QMetaObject *ColorButton::metaObject()
const
103 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
106 void *ColorButton::qt_metacast(
const char *_clname)
108 if (!_clname)
return Q_NULLPTR;
109 if (!strcmp(_clname, qt_meta_stringdata_ColorButton.
stringdata0))
110 return static_cast<void*
>(
const_cast< ColorButton*
>(
this));
111 return QPushButton::qt_metacast(_clname);
114 int ColorButton::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
116 _id = QPushButton::qt_metacall(_c, _id, _a);
119 if (_c == QMetaObject::InvokeMetaMethod) {
121 qt_static_metacall(
this, _c, _id, _a);
123 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
125 *
reinterpret_cast<int*
>(_a[0]) = -1;
134 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
135 QMetaObject::activate(
this, &staticMetaObject, 0, _a);