Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
moc_qvaluecombobox.cpp
Go to the documentation of this file.
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 "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 void QValueComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
53 {
54  if (_c == QMetaObject::InvokeMetaMethod) {
55  Q_ASSERT(staticMetaObject.cast(_o));
56  QValueComboBox *_t = static_cast<QValueComboBox *>(_o);
57  switch (_id) {
58  case 0: _t->valueChanged(); break;
59  case 1: _t->handleSelectionChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
60  default: ;
61  }
62  }
63 }
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 const QMetaObject *QValueComboBox::metaObject() const
79 {
80  return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
81 }
82 
83 void *QValueComboBox::qt_metacast(const char *_clname)
84 {
85  if (!_clname) return 0;
86  if (!strcmp(_clname, qt_meta_stringdata_QValueComboBox))
87  return static_cast<void*>(const_cast< QValueComboBox*>(this));
88  return QComboBox::qt_metacast(_clname);
89 }
90 
91 int QValueComboBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
92 {
93  _id = QComboBox::qt_metacall(_c, _id, _a);
94  if (_id < 0)
95  return _id;
96  if (_c == QMetaObject::InvokeMetaMethod) {
97  if (_id < 2)
98  qt_static_metacall(this, _c, _id, _a);
99  _id -= 2;
100  }
101 #ifndef QT_NO_PROPERTIES
102  else if (_c == QMetaObject::ReadProperty) {
103  void *_v = _a[0];
104  switch (_id) {
105  case 0: *reinterpret_cast< QVariant*>(_v) = value(); break;
106  }
107  _id -= 1;
108  } else if (_c == QMetaObject::WriteProperty) {
109  void *_v = _a[0];
110  switch (_id) {
111  case 0: setValue(*reinterpret_cast< QVariant*>(_v)); break;
112  }
113  _id -= 1;
114  } else if (_c == QMetaObject::ResetProperty) {
115  _id -= 1;
116  } else if (_c == QMetaObject::QueryPropertyDesignable) {
117  _id -= 1;
118  } else if (_c == QMetaObject::QueryPropertyScriptable) {
119  _id -= 1;
120  } else if (_c == QMetaObject::QueryPropertyStored) {
121  _id -= 1;
122  } else if (_c == QMetaObject::QueryPropertyEditable) {
123  _id -= 1;
124  } else if (_c == QMetaObject::QueryPropertyUser) {
125  _id -= 1;
126  }
127 #endif // QT_NO_PROPERTIES
128  return _id;
129 }
130 
131 // SIGNAL 0
133 {
134  QMetaObject::activate(this, &staticMetaObject, 0, 0);
135 }
136 QT_END_MOC_NAMESPACE
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_QValueComboBox[]
QVariant value() const
void setValue(const QVariant &value)
static const char qt_meta_stringdata_QValueComboBox[]