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.2.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 offsetof(qt_meta_stringdata_QValueComboBox_t, stringdata) + ofs \
27 - idx * sizeof(QByteArrayData) \
38 "QValueComboBox\0valueChanged\0\0"
39 "handleSelectionChanged\0idx\0value\0"
43 static const uint qt_meta_data_QValueComboBox[] = {
66 QMetaType::Void, QMetaType::Int, 4,
69 5, QMetaType::QVariant, 0x00595103,
77 void QValueComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
79 if (_c == QMetaObject::InvokeMetaMethod) {
86 }
else if (_c == QMetaObject::IndexOfMethod) {
87 int *result =
reinterpret_cast<int *
>(_a[0]);
88 void **func =
reinterpret_cast<void **
>(_a[1]);
98 const QMetaObject QValueComboBox::staticMetaObject = {
99 { &QComboBox::staticMetaObject, qt_meta_stringdata_QValueComboBox.
data,
100 qt_meta_data_QValueComboBox, qt_static_metacall, 0, 0}
104 const QMetaObject *QValueComboBox::metaObject()
const
106 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
109 void *QValueComboBox::qt_metacast(
const char *_clname)
111 if (!_clname)
return 0;
112 if (!strcmp(_clname, qt_meta_stringdata_QValueComboBox.
stringdata))
114 return QComboBox::qt_metacast(_clname);
117 int QValueComboBox::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
119 _id = QComboBox::qt_metacall(_c, _id, _a);
122 if (_c == QMetaObject::InvokeMetaMethod) {
124 qt_static_metacall(
this, _c, _id, _a);
126 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
128 *
reinterpret_cast<int*
>(_a[0]) = -1;
131 #ifndef QT_NO_PROPERTIES
132 else if (_c == QMetaObject::ReadProperty) {
135 case 0: *
reinterpret_cast< QVariant*
>(_v) =
value();
break;
138 }
else if (_c == QMetaObject::WriteProperty) {
141 case 0:
setValue(*reinterpret_cast< QVariant*>(_v));
break;
144 }
else if (_c == QMetaObject::ResetProperty) {
146 }
else if (_c == QMetaObject::QueryPropertyDesignable) {
148 }
else if (_c == QMetaObject::QueryPropertyScriptable) {
150 }
else if (_c == QMetaObject::QueryPropertyStored) {
152 }
else if (_c == QMetaObject::QueryPropertyEditable) {
154 }
else if (_c == QMetaObject::QueryPropertyUser) {
156 }
else if (_c == QMetaObject::RegisterPropertyMetaType) {
158 *
reinterpret_cast<int*
>(_a[0]) = -1;
161 #endif // QT_NO_PROPERTIES
168 QMetaObject::activate(
this, &staticMetaObject, 0, 0);
#define QT_MOC_LITERAL(idx, ofs, len)
void handleSelectionChanged(int idx)
void setValue(const QVariant &value)