10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'wellarray.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__WellArray_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
41 "pv::widgets::WellArray\0selected\0\0row\0"
42 "col\0selectedColumn\0selectedRow"
63 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
66 5, QMetaType::Int, 0x00095001,
67 6, QMetaType::Int, 0x00095001,
72 void pv::widgets::WellArray::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
74 if (_c == QMetaObject::InvokeMetaMethod) {
78 case 0: _t->selected((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
81 }
else if (_c == QMetaObject::IndexOfMethod) {
82 int *result =
reinterpret_cast<int *
>(_a[0]);
83 void **func =
reinterpret_cast<void **
>(_a[1]);
85 typedef void (
WellArray::*_t)(int , int );
91 #ifndef QT_NO_PROPERTIES
92 else if (_c == QMetaObject::ReadProperty) {
97 case 0: *
reinterpret_cast< int*
>(_v) = _t->selectedColumn();
break;
98 case 1: *
reinterpret_cast< int*
>(_v) = _t->selectedRow();
break;
101 }
else if (_c == QMetaObject::WriteProperty) {
102 }
else if (_c == QMetaObject::ResetProperty) {
104 #endif // QT_NO_PROPERTIES
107 const QMetaObject pv::widgets::WellArray::staticMetaObject = {
108 { &QWidget::staticMetaObject, qt_meta_stringdata_pv__widgets__WellArray.
data,
113 const QMetaObject *pv::widgets::WellArray::metaObject()
const
115 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
118 void *pv::widgets::WellArray::qt_metacast(
const char *_clname)
120 if (!_clname)
return Q_NULLPTR;
121 if (!strcmp(_clname, qt_meta_stringdata_pv__widgets__WellArray.
stringdata0))
122 return static_cast<void*
>(
const_cast< WellArray*
>(
this));
123 return QWidget::qt_metacast(_clname);
126 int pv::widgets::WellArray::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
128 _id = QWidget::qt_metacall(_c, _id, _a);
131 if (_c == QMetaObject::InvokeMetaMethod) {
133 qt_static_metacall(
this, _c, _id, _a);
135 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
137 *
reinterpret_cast<int*
>(_a[0]) = -1;
140 #ifndef QT_NO_PROPERTIES
141 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
142 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
143 qt_static_metacall(
this, _c, _id, _a);
145 }
else if (_c == QMetaObject::QueryPropertyDesignable) {
147 }
else if (_c == QMetaObject::QueryPropertyScriptable) {
149 }
else if (_c == QMetaObject::QueryPropertyStored) {
151 }
else if (_c == QMetaObject::QueryPropertyEditable) {
153 }
else if (_c == QMetaObject::QueryPropertyUser) {
156 #endif // QT_NO_PROPERTIES
163 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
164 QMetaObject::activate(
this, &staticMetaObject, 0, _a);