9 #include <QtCore/qbytearray.h> 10 #include <QtCore/qmetatype.h> 11 #if !defined(Q_MOC_OUTPUT_REVISION) 12 #error "The header file 'qvaluecombobox.h' doesn't include <QObject>." 13 #elif Q_MOC_OUTPUT_REVISION != 67 14 #error "This file was generated using the moc from 5.5.1. It" 15 #error "cannot be used with the include files from this version of Qt." 16 #error "(The moc has changed too much.)" 19 QT_BEGIN_MOC_NAMESPACE
24 #define QT_MOC_LITERAL(idx, ofs, len) \ 25 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 26 qptrdiff(offsetof(qt_meta_stringdata_QValueComboBox_t, stringdata0) + ofs \ 27 - idx * sizeof(QByteArrayData)) \ 39 "QValueComboBox\0valueChanged\0\0" 40 "handleSelectionChanged\0idx\0value" 44 static const uint qt_meta_data_QValueComboBox[] = {
67 QMetaType::Void, QMetaType::Int, 4,
70 5, QMetaType::QVariant, 0x00595103,
78 void QValueComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
80 if (_c == QMetaObject::InvokeMetaMethod) {
88 }
else if (_c == QMetaObject::IndexOfMethod) {
89 int *result =
reinterpret_cast<int *
>(_a[0]);
90 void **func =
reinterpret_cast<void **
>(_a[1]);
98 #ifndef QT_NO_PROPERTIES 99 else if (_c == QMetaObject::ReadProperty) {
104 case 0: *
reinterpret_cast< QVariant*
>(_v) = _t->
value();
break;
107 }
else if (_c == QMetaObject::WriteProperty) {
112 case 0: _t->
setValue(*reinterpret_cast< QVariant*>(_v));
break;
115 }
else if (_c == QMetaObject::ResetProperty) {
117 #endif // QT_NO_PROPERTIES 120 const QMetaObject QValueComboBox::staticMetaObject = {
121 { &QComboBox::staticMetaObject, qt_meta_stringdata_QValueComboBox.
data,
122 qt_meta_data_QValueComboBox, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
126 const QMetaObject *QValueComboBox::metaObject()
const 128 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
131 void *QValueComboBox::qt_metacast(
const char *_clname)
133 if (!_clname)
return Q_NULLPTR;
134 if (!strcmp(_clname, qt_meta_stringdata_QValueComboBox.
stringdata0))
136 return QComboBox::qt_metacast(_clname);
139 int QValueComboBox::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
141 _id = QComboBox::qt_metacall(_c, _id, _a);
144 if (_c == QMetaObject::InvokeMetaMethod) {
146 qt_static_metacall(
this, _c, _id, _a);
148 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
150 *
reinterpret_cast<int*
>(_a[0]) = -1;
153 #ifndef QT_NO_PROPERTIES 154 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
155 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
156 qt_static_metacall(
this, _c, _id, _a);
158 }
else if (_c == QMetaObject::QueryPropertyDesignable) {
160 }
else if (_c == QMetaObject::QueryPropertyScriptable) {
162 }
else if (_c == QMetaObject::QueryPropertyStored) {
164 }
else if (_c == QMetaObject::QueryPropertyEditable) {
166 }
else if (_c == QMetaObject::QueryPropertyUser) {
169 #endif // QT_NO_PROPERTIES 176 QMetaObject::activate(
this, &staticMetaObject, 0, Q_NULLPTR);
#define QT_MOC_LITERAL(idx, ofs, len)
void handleSelectionChanged(int idx)
void setValue(const QVariant &value)