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.6.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" 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]);
99 #ifndef QT_NO_PROPERTIES 100 else if (_c == QMetaObject::ReadProperty) {
105 case 0: *
reinterpret_cast< QVariant*
>(_v) = _t->
value();
break;
108 }
else if (_c == QMetaObject::WriteProperty) {
113 case 0: _t->
setValue(*reinterpret_cast< QVariant*>(_v));
break;
116 }
else if (_c == QMetaObject::ResetProperty) {
118 #endif // QT_NO_PROPERTIES 121 const QMetaObject QValueComboBox::staticMetaObject = {
122 { &QComboBox::staticMetaObject, qt_meta_stringdata_QValueComboBox.
data,
127 const QMetaObject *QValueComboBox::metaObject()
const 129 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
132 void *QValueComboBox::qt_metacast(
const char *_clname)
134 if (!_clname)
return Q_NULLPTR;
135 if (!strcmp(_clname, qt_meta_stringdata_QValueComboBox.
stringdata0))
137 return QComboBox::qt_metacast(_clname);
140 int QValueComboBox::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
142 _id = QComboBox::qt_metacall(_c, _id, _a);
145 if (_c == QMetaObject::InvokeMetaMethod) {
147 qt_static_metacall(
this, _c, _id, _a);
149 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
151 *
reinterpret_cast<int*
>(_a[0]) = -1;
154 #ifndef QT_NO_PROPERTIES 155 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
156 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
157 qt_static_metacall(
this, _c, _id, _a);
159 }
else if (_c == QMetaObject::QueryPropertyDesignable) {
161 }
else if (_c == QMetaObject::QueryPropertyScriptable) {
163 }
else if (_c == QMetaObject::QueryPropertyStored) {
165 }
else if (_c == QMetaObject::QueryPropertyEditable) {
167 }
else if (_c == QMetaObject::QueryPropertyUser) {
170 #endif // QT_NO_PROPERTIES 177 QMetaObject::activate(
this, &staticMetaObject, 0, Q_NULLPTR);
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_QValueComboBox_t qt_meta_stringdata_QValueComboBox
void handleSelectionChanged(int idx)
void setValue(const QVariant &value)
static const uint qt_meta_data_QValueComboBox[]