Bitcoin Core  27.1.0
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 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.7)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "qt/qvaluecombobox.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'qvaluecombobox.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.12.7. It"
16 #error "cannot be used with the include files from this version of Qt."
17 #error "(The moc has changed too much.)"
18 #endif
19 
20 QT_BEGIN_MOC_NAMESPACE
21 QT_WARNING_PUSH
22 QT_WARNING_DISABLE_DEPRECATED
24  QByteArrayData data[6];
25  char stringdata0[62];
26 };
27 #define QT_MOC_LITERAL(idx, ofs, len) \
28  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29  qptrdiff(offsetof(qt_meta_stringdata_QValueComboBox_t, stringdata0) + ofs \
30  - idx * sizeof(QByteArrayData)) \
31  )
33  {
34 QT_MOC_LITERAL(0, 0, 14), // "QValueComboBox"
35 QT_MOC_LITERAL(1, 15, 12), // "valueChanged"
36 QT_MOC_LITERAL(2, 28, 0), // ""
37 QT_MOC_LITERAL(3, 29, 22), // "handleSelectionChanged"
38 QT_MOC_LITERAL(4, 52, 3), // "idx"
39 QT_MOC_LITERAL(5, 56, 5) // "value"
40 
41  },
42  "QValueComboBox\0valueChanged\0\0"
43  "handleSelectionChanged\0idx\0value"
44 };
45 #undef QT_MOC_LITERAL
46 
47 static const uint qt_meta_data_QValueComboBox[] = {
48 
49  // content:
50  8, // revision
51  0, // classname
52  0, 0, // classinfo
53  2, 14, // methods
54  1, 28, // properties
55  0, 0, // enums/sets
56  0, 0, // constructors
57  0, // flags
58  1, // signalCount
59 
60  // signals: name, argc, parameters, tag, flags
61  1, 0, 24, 2, 0x06 /* Public */,
62 
63  // slots: name, argc, parameters, tag, flags
64  3, 1, 25, 2, 0x08 /* Private */,
65 
66  // signals: parameters
67  QMetaType::Void,
68 
69  // slots: parameters
70  QMetaType::Void, QMetaType::Int, 4,
71 
72  // properties: name, type, flags
73  5, QMetaType::QVariant, 0x00595103,
74 
75  // properties: notify_signal_id
76  0,
77 
78  0 // eod
79 };
80 
81 void QValueComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
82 {
83  if (_c == QMetaObject::InvokeMetaMethod) {
84  auto *_t = static_cast<QValueComboBox *>(_o);
85  Q_UNUSED(_t)
86  switch (_id) {
87  case 0: _t->valueChanged(); break;
88  case 1: _t->handleSelectionChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
89  default: ;
90  }
91  } else if (_c == QMetaObject::IndexOfMethod) {
92  int *result = reinterpret_cast<int *>(_a[0]);
93  {
94  using _t = void (QValueComboBox::*)();
95  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QValueComboBox::valueChanged)) {
96  *result = 0;
97  return;
98  }
99  }
100  }
101 #ifndef QT_NO_PROPERTIES
102  else if (_c == QMetaObject::ReadProperty) {
103  auto *_t = static_cast<QValueComboBox *>(_o);
104  Q_UNUSED(_t)
105  void *_v = _a[0];
106  switch (_id) {
107  case 0: *reinterpret_cast< QVariant*>(_v) = _t->value(); break;
108  default: break;
109  }
110  } else if (_c == QMetaObject::WriteProperty) {
111  auto *_t = static_cast<QValueComboBox *>(_o);
112  Q_UNUSED(_t)
113  void *_v = _a[0];
114  switch (_id) {
115  case 0: _t->setValue(*reinterpret_cast< QVariant*>(_v)); break;
116  default: break;
117  }
118  } else if (_c == QMetaObject::ResetProperty) {
119  }
120 #endif // QT_NO_PROPERTIES
121 }
122 
123 QT_INIT_METAOBJECT const QMetaObject QValueComboBox::staticMetaObject = { {
124  &QComboBox::staticMetaObject,
127  qt_static_metacall,
128  nullptr,
129  nullptr
130 } };
131 
132 
133 const QMetaObject *QValueComboBox::metaObject() const
134 {
135  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
136 }
137 
138 void *QValueComboBox::qt_metacast(const char *_clname)
139 {
140  if (!_clname) return nullptr;
141  if (!strcmp(_clname, qt_meta_stringdata_QValueComboBox.stringdata0))
142  return static_cast<void*>(this);
143  return QComboBox::qt_metacast(_clname);
144 }
145 
146 int QValueComboBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
147 {
148  _id = QComboBox::qt_metacall(_c, _id, _a);
149  if (_id < 0)
150  return _id;
151  if (_c == QMetaObject::InvokeMetaMethod) {
152  if (_id < 2)
153  qt_static_metacall(this, _c, _id, _a);
154  _id -= 2;
155  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
156  if (_id < 2)
157  *reinterpret_cast<int*>(_a[0]) = -1;
158  _id -= 2;
159  }
160 #ifndef QT_NO_PROPERTIES
161  else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
162  || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
163  qt_static_metacall(this, _c, _id, _a);
164  _id -= 1;
165  } else if (_c == QMetaObject::QueryPropertyDesignable) {
166  _id -= 1;
167  } else if (_c == QMetaObject::QueryPropertyScriptable) {
168  _id -= 1;
169  } else if (_c == QMetaObject::QueryPropertyStored) {
170  _id -= 1;
171  } else if (_c == QMetaObject::QueryPropertyEditable) {
172  _id -= 1;
173  } else if (_c == QMetaObject::QueryPropertyUser) {
174  _id -= 1;
175  }
176 #endif // QT_NO_PROPERTIES
177  return _id;
178 }
179 
180 // SIGNAL 0
182 {
183  QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
184 }
185 QT_WARNING_POP
186 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_QValueComboBox_t qt_meta_stringdata_QValueComboBox
void setValue(const QVariant &value)
static const uint qt_meta_data_QValueComboBox[]