Line data Source code
1 : /****************************************************************************
2 : ** Meta object code from reading C++ file 'qvaluecombobox.h'
3 : **
4 : **
5 : ** WARNING! All changes made in this file will be lost!
6 : *****************************************************************************/
7 :
8 : #include "qt/qvaluecombobox.h"
9 : #if !defined(Q_MOC_OUTPUT_REVISION)
10 : #error "The header file 'qvaluecombobox.h' doesn't include <QObject>."
11 : #elif Q_MOC_OUTPUT_REVISION != 63
12 : #error "This file was generated using the moc from 4.8.6. It"
13 : #error "cannot be used with the include files from this version of Qt."
14 : #error "(The moc has changed too much.)"
15 : #endif
16 :
17 : QT_BEGIN_MOC_NAMESPACE
18 : static const uint qt_meta_data_QValueComboBox[] = {
19 :
20 : // content:
21 : 6, // revision
22 : 0, // classname
23 : 0, 0, // classinfo
24 : 2, 14, // methods
25 : 1, 24, // properties
26 : 0, 0, // enums/sets
27 : 0, 0, // constructors
28 : 0, // flags
29 : 1, // signalCount
30 :
31 : // signals: signature, parameters, type, tag, flags
32 : 16, 15, 15, 15, 0x05,
33 :
34 : // slots: signature, parameters, type, tag, flags
35 : 35, 31, 15, 15, 0x08,
36 :
37 : // properties: name, type, flags
38 : 72, 63, 0xff595103,
39 :
40 : // properties: notify_signal_id
41 : 0,
42 :
43 : 0 // eod
44 : };
45 :
46 : static const char qt_meta_stringdata_QValueComboBox[] = {
47 : "QValueComboBox\0\0valueChanged()\0idx\0"
48 : "handleSelectionChanged(int)\0QVariant\0"
49 : "value\0"
50 : };
51 :
52 0 : void QValueComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
53 : {
54 0 : if (_c == QMetaObject::InvokeMetaMethod) {
55 0 : Q_ASSERT(staticMetaObject.cast(_o));
56 0 : QValueComboBox *_t = static_cast<QValueComboBox *>(_o);
57 0 : switch (_id) {
58 : case 0: _t->valueChanged(); break;
59 0 : case 1: _t->handleSelectionChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
60 : default: ;
61 : }
62 : }
63 0 : }
64 :
65 : const QMetaObjectExtraData QValueComboBox::staticMetaObjectExtraData = {
66 : 0, qt_static_metacall
67 : };
68 :
69 : const QMetaObject QValueComboBox::staticMetaObject = {
70 : { &QComboBox::staticMetaObject, qt_meta_stringdata_QValueComboBox,
71 : qt_meta_data_QValueComboBox, &staticMetaObjectExtraData }
72 : };
73 :
74 : #ifdef Q_NO_DATA_RELOCATION
75 : const QMetaObject &QValueComboBox::getStaticMetaObject() { return staticMetaObject; }
76 : #endif //Q_NO_DATA_RELOCATION
77 :
78 0 : const QMetaObject *QValueComboBox::metaObject() const
79 : {
80 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
81 : }
82 :
83 0 : void *QValueComboBox::qt_metacast(const char *_clname)
84 : {
85 0 : if (!_clname) return 0;
86 0 : if (!strcmp(_clname, qt_meta_stringdata_QValueComboBox))
87 : return static_cast<void*>(const_cast< QValueComboBox*>(this));
88 0 : return QComboBox::qt_metacast(_clname);
89 : }
90 :
91 0 : int QValueComboBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
92 : {
93 0 : _id = QComboBox::qt_metacall(_c, _id, _a);
94 0 : if (_id < 0)
95 : return _id;
96 0 : if (_c == QMetaObject::InvokeMetaMethod) {
97 0 : if (_id < 2)
98 0 : qt_static_metacall(this, _c, _id, _a);
99 0 : _id -= 2;
100 : }
101 : #ifndef QT_NO_PROPERTIES
102 0 : else if (_c == QMetaObject::ReadProperty) {
103 0 : void *_v = _a[0];
104 0 : switch (_id) {
105 0 : case 0: *reinterpret_cast< QVariant*>(_v) = value(); break;
106 : }
107 0 : _id -= 1;
108 0 : } else if (_c == QMetaObject::WriteProperty) {
109 0 : void *_v = _a[0];
110 0 : switch (_id) {
111 0 : case 0: setValue(*reinterpret_cast< QVariant*>(_v)); break;
112 : }
113 0 : _id -= 1;
114 0 : } else if (_c == QMetaObject::ResetProperty) {
115 0 : _id -= 1;
116 0 : } else if (_c == QMetaObject::QueryPropertyDesignable) {
117 0 : _id -= 1;
118 0 : } else if (_c == QMetaObject::QueryPropertyScriptable) {
119 0 : _id -= 1;
120 0 : } else if (_c == QMetaObject::QueryPropertyStored) {
121 0 : _id -= 1;
122 0 : } else if (_c == QMetaObject::QueryPropertyEditable) {
123 0 : _id -= 1;
124 0 : } else if (_c == QMetaObject::QueryPropertyUser) {
125 0 : _id -= 1;
126 : }
127 : #endif // QT_NO_PROPERTIES
128 0 : return _id;
129 : }
130 :
131 : // SIGNAL 0
132 0 : void QValueComboBox::valueChanged()
133 : {
134 0 : QMetaObject::activate(this, &staticMetaObject, 0, 0);
135 0 : }
136 : QT_END_MOC_NAMESPACE
|