Anoncoin  0.9.4
P2P Digital Currency
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 "qt/qvaluecombobox.h"
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.)"
17 #endif
18 
19 QT_BEGIN_MOC_NAMESPACE
21  QByteArrayData data[6];
22  char stringdata[63];
23 };
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) \
28  )
29 static const qt_meta_stringdata_QValueComboBox_t qt_meta_stringdata_QValueComboBox = {
30  {
31 QT_MOC_LITERAL(0, 0, 14),
32 QT_MOC_LITERAL(1, 15, 12),
33 QT_MOC_LITERAL(2, 28, 0),
34 QT_MOC_LITERAL(3, 29, 22),
35 QT_MOC_LITERAL(4, 52, 3),
36 QT_MOC_LITERAL(5, 56, 5)
37  },
38  "QValueComboBox\0valueChanged\0\0"
39  "handleSelectionChanged\0idx\0value\0"
40 };
41 #undef QT_MOC_LITERAL
42 
43 static const uint qt_meta_data_QValueComboBox[] = {
44 
45  // content:
46  7, // revision
47  0, // classname
48  0, 0, // classinfo
49  2, 14, // methods
50  1, 28, // properties
51  0, 0, // enums/sets
52  0, 0, // constructors
53  0, // flags
54  1, // signalCount
55 
56  // signals: name, argc, parameters, tag, flags
57  1, 0, 24, 2, 0x06,
58 
59  // slots: name, argc, parameters, tag, flags
60  3, 1, 25, 2, 0x08,
61 
62  // signals: parameters
63  QMetaType::Void,
64 
65  // slots: parameters
66  QMetaType::Void, QMetaType::Int, 4,
67 
68  // properties: name, type, flags
69  5, QMetaType::QVariant, 0x00595103,
70 
71  // properties: notify_signal_id
72  0,
73 
74  0 // eod
75 };
76 
77 void QValueComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
78 {
79  if (_c == QMetaObject::InvokeMetaMethod) {
80  QValueComboBox *_t = static_cast<QValueComboBox *>(_o);
81  switch (_id) {
82  case 0: _t->valueChanged(); break;
83  case 1: _t->handleSelectionChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
84  default: ;
85  }
86  } else if (_c == QMetaObject::IndexOfMethod) {
87  int *result = reinterpret_cast<int *>(_a[0]);
88  void **func = reinterpret_cast<void **>(_a[1]);
89  {
90  typedef void (QValueComboBox::*_t)();
91  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QValueComboBox::valueChanged)) {
92  *result = 0;
93  }
94  }
95  }
96 }
97 
98 const QMetaObject QValueComboBox::staticMetaObject = {
99  { &QComboBox::staticMetaObject, qt_meta_stringdata_QValueComboBox.data,
100  qt_meta_data_QValueComboBox, qt_static_metacall, 0, 0}
101 };
102 
103 
104 const QMetaObject *QValueComboBox::metaObject() const
105 {
106  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
107 }
108 
109 void *QValueComboBox::qt_metacast(const char *_clname)
110 {
111  if (!_clname) return 0;
112  if (!strcmp(_clname, qt_meta_stringdata_QValueComboBox.stringdata))
113  return static_cast<void*>(const_cast< QValueComboBox*>(this));
114  return QComboBox::qt_metacast(_clname);
115 }
116 
117 int QValueComboBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
118 {
119  _id = QComboBox::qt_metacall(_c, _id, _a);
120  if (_id < 0)
121  return _id;
122  if (_c == QMetaObject::InvokeMetaMethod) {
123  if (_id < 2)
124  qt_static_metacall(this, _c, _id, _a);
125  _id -= 2;
126  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
127  if (_id < 2)
128  *reinterpret_cast<int*>(_a[0]) = -1;
129  _id -= 2;
130  }
131 #ifndef QT_NO_PROPERTIES
132  else if (_c == QMetaObject::ReadProperty) {
133  void *_v = _a[0];
134  switch (_id) {
135  case 0: *reinterpret_cast< QVariant*>(_v) = value(); break;
136  }
137  _id -= 1;
138  } else if (_c == QMetaObject::WriteProperty) {
139  void *_v = _a[0];
140  switch (_id) {
141  case 0: setValue(*reinterpret_cast< QVariant*>(_v)); break;
142  }
143  _id -= 1;
144  } else if (_c == QMetaObject::ResetProperty) {
145  _id -= 1;
146  } else if (_c == QMetaObject::QueryPropertyDesignable) {
147  _id -= 1;
148  } else if (_c == QMetaObject::QueryPropertyScriptable) {
149  _id -= 1;
150  } else if (_c == QMetaObject::QueryPropertyStored) {
151  _id -= 1;
152  } else if (_c == QMetaObject::QueryPropertyEditable) {
153  _id -= 1;
154  } else if (_c == QMetaObject::QueryPropertyUser) {
155  _id -= 1;
156  } else if (_c == QMetaObject::RegisterPropertyMetaType) {
157  if (_id < 1)
158  *reinterpret_cast<int*>(_a[0]) = -1;
159  _id -= 1;
160  }
161 #endif // QT_NO_PROPERTIES
162  return _id;
163 }
164 
165 // SIGNAL 0
167 {
168  QMetaObject::activate(this, &staticMetaObject, 0, 0);
169 }
170 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
QVariant value() const
void handleSelectionChanged(int idx)
void setValue(const QVariant &value)