9 #include "../../../../pv/widgets/colourbutton.hpp"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'colourbutton.hpp' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.5.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
22 QByteArrayData
data[8];
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_pv__widgets__ColourButton_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
42 "pv::widgets::ColourButton\0selected\0\0"
43 "colour\0on_clicked\0on_selected\0row\0col"
68 QMetaType::Void, QMetaType::QColor, 3,
71 QMetaType::Void, QMetaType::Bool, 2,
72 QMetaType::Void, QMetaType::Int, QMetaType::Int, 6, 7,
77 void pv::widgets::ColourButton::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
79 if (_c == QMetaObject::InvokeMetaMethod) {
83 case 0: _t->selected((*
reinterpret_cast< const QColor(*)
>(_a[1])));
break;
84 case 1: _t->on_clicked((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
85 case 2: _t->on_selected((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
88 }
else if (_c == QMetaObject::IndexOfMethod) {
89 int *result =
reinterpret_cast<int *
>(_a[0]);
90 void **func =
reinterpret_cast<void **
>(_a[1]);
100 const QMetaObject pv::widgets::ColourButton::staticMetaObject = {
101 { &QPushButton::staticMetaObject, qt_meta_stringdata_pv__widgets__ColourButton.
data,
106 const QMetaObject *pv::widgets::ColourButton::metaObject()
const
108 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
111 void *pv::widgets::ColourButton::qt_metacast(
const char *_clname)
113 if (!_clname)
return Q_NULLPTR;
114 if (!strcmp(_clname, qt_meta_stringdata_pv__widgets__ColourButton.
stringdata0))
115 return static_cast<void*
>(
const_cast< ColourButton*
>(
this));
116 return QPushButton::qt_metacast(_clname);
119 int pv::widgets::ColourButton::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
121 _id = QPushButton::qt_metacall(_c, _id, _a);
124 if (_c == QMetaObject::InvokeMetaMethod) {
126 qt_static_metacall(
this, _c, _id, _a);
128 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
130 *
reinterpret_cast<int*
>(_a[0]) = -1;
139 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
140 QMetaObject::activate(
this, &staticMetaObject, 0, _a);