9 #include "../../../../pv/widgets/colorpopup.hpp" 10 #include <QtCore/qbytearray.h> 11 #include <QtCore/qmetatype.h> 12 #if !defined(Q_MOC_OUTPUT_REVISION) 13 #error "The header file 'colorpopup.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
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__ColorPopup_t, stringdata0) + ofs \ 28 - idx * sizeof(QByteArrayData)) \ 40 "pv::widgets::ColorPopup\0selected\0\0row\0" 65 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
68 QMetaType::Void, QMetaType::Int, QMetaType::Int, 2, 2,
73 void pv::widgets::ColorPopup::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
75 if (_c == QMetaObject::InvokeMetaMethod) {
76 ColorPopup *_t =
static_cast<ColorPopup *
>(_o);
79 case 0: _t->selected((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
80 case 1: _t->color_selected((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
83 }
else if (_c == QMetaObject::IndexOfMethod) {
84 int *result =
reinterpret_cast<int *
>(_a[0]);
85 void **func =
reinterpret_cast<void **
>(_a[1]);
87 typedef void (ColorPopup::*_t)(int , int );
88 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&ColorPopup::selected)) {
95 const QMetaObject pv::widgets::ColorPopup::staticMetaObject = {
96 { &Popup::staticMetaObject, qt_meta_stringdata_pv__widgets__ColorPopup.
data,
101 const QMetaObject *pv::widgets::ColorPopup::metaObject()
const 103 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
106 void *pv::widgets::ColorPopup::qt_metacast(
const char *_clname)
108 if (!_clname)
return Q_NULLPTR;
109 if (!strcmp(_clname, qt_meta_stringdata_pv__widgets__ColorPopup.
stringdata0))
110 return static_cast<void*
>(
const_cast< ColorPopup*
>(
this));
111 return Popup::qt_metacast(_clname);
114 int pv::widgets::ColorPopup::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
116 _id = Popup::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)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
135 QMetaObject::activate(
this, &staticMetaObject, 0, _a);