9 #include "../gradientbutton.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'gradientbutton.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_GradientButton_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
38 "GradientButton\0gradientChanged\0\0"
71 void GradientButton::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
73 if (_c == QMetaObject::InvokeMetaMethod) {
81 }
else if (_c == QMetaObject::IndexOfMethod) {
82 int *result =
reinterpret_cast<int *
>(_a[0]);
83 void **func =
reinterpret_cast<void **
>(_a[1]);
95 const QMetaObject GradientButton::staticMetaObject = {
96 { &QPushButton::staticMetaObject, qt_meta_stringdata_GradientButton.
data,
101 const QMetaObject *GradientButton::metaObject()
const
103 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
106 void *GradientButton::qt_metacast(
const char *_clname)
108 if (!_clname)
return Q_NULLPTR;
109 if (!strcmp(_clname, qt_meta_stringdata_GradientButton.
stringdata0))
111 return QPushButton::qt_metacast(_clname);
114 int GradientButton::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 QMetaObject::activate(
this, &staticMetaObject, 0, Q_NULLPTR);