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