10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'bool.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__prop__Bool_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
37 "pv::prop::Bool\0on_state_changed\0"
58 QMetaType::Void, QMetaType::Int, 2,
63 void pv::prop::Bool::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
65 if (_c == QMetaObject::InvokeMetaMethod) {
69 case 0: _t->on_state_changed((*
reinterpret_cast< int(*)
>(_a[1])));
break;
75 const QMetaObject pv::prop::Bool::staticMetaObject = {
76 { &Property::staticMetaObject, qt_meta_stringdata_pv__prop__Bool.
data,
81 const QMetaObject *pv::prop::Bool::metaObject()
const
83 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
86 void *pv::prop::Bool::qt_metacast(
const char *_clname)
88 if (!_clname)
return Q_NULLPTR;
89 if (!strcmp(_clname, qt_meta_stringdata_pv__prop__Bool.
stringdata0))
90 return static_cast<void*
>(
const_cast< Bool*
>(
this));
91 return Property::qt_metacast(_clname);
94 int pv::prop::Bool::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
96 _id = Property::qt_metacall(_c, _id, _a);
99 if (_c == QMetaObject::InvokeMetaMethod) {
101 qt_static_metacall(
this, _c, _id, _a);
103 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
105 *
reinterpret_cast<int*
>(_a[0]) = -1;
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_pv__prop__Bool[]
Bool(QString name, Getter getter, Setter setter)
static const qt_meta_stringdata_pv__prop__Bool_t qt_meta_stringdata_pv__prop__Bool