11 #include <QtCore/qbytearray.h> 12 #include <QtCore/qmetatype.h> 13 #if !defined(Q_MOC_OUTPUT_REVISION) 14 #error "The header file 'qvaluecombobox.h' doesn't include <QObject>." 15 #elif Q_MOC_OUTPUT_REVISION != 67 16 #error "This file was generated using the moc from 5.15.2. It" 17 #error "cannot be used with the include files from this version of Qt." 18 #error "(The moc has changed too much.)" 21 QT_BEGIN_MOC_NAMESPACE
23 QT_WARNING_DISABLE_DEPRECATED
28 #define QT_MOC_LITERAL(idx, ofs, len) \ 29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 30 qptrdiff(offsetof(qt_meta_stringdata_QValueComboBox_t, stringdata0) + ofs \ 31 - idx * sizeof(QByteArrayData)) \ 43 "QValueComboBox\0valueChanged\0\0" 44 "handleSelectionChanged\0idx\0value" 71 QMetaType::Void, QMetaType::Int, 4,
74 5, QMetaType::QVariant, 0x00595103,
82 void QValueComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
84 if (_c == QMetaObject::InvokeMetaMethod) {
89 case 1: _t->handleSelectionChanged((*
reinterpret_cast< int(*)
>(_a[1])));
break;
92 }
else if (_c == QMetaObject::IndexOfMethod) {
93 int *result =
reinterpret_cast<int *
>(_a[0]);
102 #ifndef QT_NO_PROPERTIES 103 else if (_c == QMetaObject::ReadProperty) {
108 case 0: *
reinterpret_cast< QVariant*
>(_v) = _t->
value();
break;
111 }
else if (_c == QMetaObject::WriteProperty) {
116 case 0: _t->
setValue(*reinterpret_cast< QVariant*>(_v));
break;
119 }
else if (_c == QMetaObject::ResetProperty) {
121 #endif // QT_NO_PROPERTIES 124 QT_INIT_METAOBJECT
const QMetaObject QValueComboBox::staticMetaObject = { {
125 QMetaObject::SuperData::link<QComboBox::staticMetaObject>(),
134 const QMetaObject *QValueComboBox::metaObject()
const 136 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
139 void *QValueComboBox::qt_metacast(
const char *_clname)
141 if (!_clname)
return nullptr;
143 return static_cast<void*
>(
this);
144 return QComboBox::qt_metacast(_clname);
147 int QValueComboBox::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
149 _id = QComboBox::qt_metacall(_c, _id, _a);
152 if (_c == QMetaObject::InvokeMetaMethod) {
154 qt_static_metacall(
this, _c, _id, _a);
156 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
158 *
reinterpret_cast<int*
>(_a[0]) = -1;
161 #ifndef QT_NO_PROPERTIES 162 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
163 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
164 qt_static_metacall(
this, _c, _id, _a);
166 }
else if (_c == QMetaObject::QueryPropertyDesignable) {
168 }
else if (_c == QMetaObject::QueryPropertyScriptable) {
170 }
else if (_c == QMetaObject::QueryPropertyStored) {
172 }
else if (_c == QMetaObject::QueryPropertyEditable) {
174 }
else if (_c == QMetaObject::QueryPropertyUser) {
177 #endif // QT_NO_PROPERTIES 184 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_QValueComboBox_t qt_meta_stringdata_QValueComboBox
void setValue(const QVariant &value)
static const uint qt_meta_data_QValueComboBox[]