| 1 | /**************************************************************************** |
| 2 | ** Meta object code from reading C++ file 'qcombobox.h' |
| 3 | ** |
| 4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
| 5 | ** |
| 6 | ** WARNING! All changes made in this file will be lost! |
| 7 | *****************************************************************************/ |
| 8 | |
| 9 | #include <memory> |
| 10 | #include "widgets/qcombobox.h" |
| 11 | #include <QtCore/qbytearray.h> |
| 12 | #include <QtCore/qmetatype.h> |
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
| 14 | #error "The header file 'qcombobox.h' doesn't include <QObject>." |
| 15 | #elif Q_MOC_OUTPUT_REVISION != 68 |
| 16 | #error "This file was generated using the moc from 6.0.0. 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 |
| 24 | struct qt_meta_stringdata_QComboBox_t { |
| 25 | const uint offsetsAndSize[130]; |
| 26 | char stringdata0[934]; |
| 27 | }; |
| 28 | #define QT_MOC_LITERAL(ofs, len) \ |
| 29 | uint(offsetof(qt_meta_stringdata_QComboBox_t, stringdata0) + ofs), len |
| 30 | static const qt_meta_stringdata_QComboBox_t qt_meta_stringdata_QComboBox = { |
| 31 | { |
| 32 | QT_MOC_LITERAL(0, 9), // "QComboBox" |
| 33 | QT_MOC_LITERAL(10, 15), // "editTextChanged" |
| 34 | QT_MOC_LITERAL(26, 0), // "" |
| 35 | QT_MOC_LITERAL(27, 9), // "activated" |
| 36 | QT_MOC_LITERAL(37, 5), // "index" |
| 37 | QT_MOC_LITERAL(43, 13), // "textActivated" |
| 38 | QT_MOC_LITERAL(57, 11), // "highlighted" |
| 39 | QT_MOC_LITERAL(69, 15), // "textHighlighted" |
| 40 | QT_MOC_LITERAL(85, 19), // "currentIndexChanged" |
| 41 | QT_MOC_LITERAL(105, 18), // "currentTextChanged" |
| 42 | QT_MOC_LITERAL(124, 5), // "clear" |
| 43 | QT_MOC_LITERAL(130, 13), // "clearEditText" |
| 44 | QT_MOC_LITERAL(144, 11), // "setEditText" |
| 45 | QT_MOC_LITERAL(156, 4), // "text" |
| 46 | QT_MOC_LITERAL(161, 15), // "setCurrentIndex" |
| 47 | QT_MOC_LITERAL(177, 14), // "setCurrentText" |
| 48 | QT_MOC_LITERAL(192, 15), // "_q_itemSelected" |
| 49 | QT_MOC_LITERAL(208, 11), // "QModelIndex" |
| 50 | QT_MOC_LITERAL(220, 4), // "item" |
| 51 | QT_MOC_LITERAL(225, 18), // "_q_emitHighlighted" |
| 52 | QT_MOC_LITERAL(244, 26), // "_q_emitCurrentIndexChanged" |
| 53 | QT_MOC_LITERAL(271, 18), // "_q_editingFinished" |
| 54 | QT_MOC_LITERAL(290, 16), // "_q_returnPressed" |
| 55 | QT_MOC_LITERAL(307, 14), // "_q_resetButton" |
| 56 | QT_MOC_LITERAL(322, 14), // "_q_dataChanged" |
| 57 | QT_MOC_LITERAL(337, 26), // "_q_updateIndexBeforeChange" |
| 58 | QT_MOC_LITERAL(364, 15), // "_q_rowsInserted" |
| 59 | QT_MOC_LITERAL(380, 6), // "parent" |
| 60 | QT_MOC_LITERAL(387, 5), // "start" |
| 61 | QT_MOC_LITERAL(393, 3), // "end" |
| 62 | QT_MOC_LITERAL(397, 14), // "_q_rowsRemoved" |
| 63 | QT_MOC_LITERAL(412, 17), // "_q_modelDestroyed" |
| 64 | QT_MOC_LITERAL(430, 13), // "_q_modelReset" |
| 65 | QT_MOC_LITERAL(444, 21), // "_q_completerActivated" |
| 66 | QT_MOC_LITERAL(466, 16), // "inputMethodQuery" |
| 67 | QT_MOC_LITERAL(483, 20), // "Qt::InputMethodQuery" |
| 68 | QT_MOC_LITERAL(504, 5), // "query" |
| 69 | QT_MOC_LITERAL(510, 8), // "argument" |
| 70 | QT_MOC_LITERAL(519, 8), // "editable" |
| 71 | QT_MOC_LITERAL(528, 5), // "count" |
| 72 | QT_MOC_LITERAL(534, 11), // "currentText" |
| 73 | QT_MOC_LITERAL(546, 12), // "currentIndex" |
| 74 | QT_MOC_LITERAL(559, 11), // "currentData" |
| 75 | QT_MOC_LITERAL(571, 15), // "maxVisibleItems" |
| 76 | QT_MOC_LITERAL(587, 8), // "maxCount" |
| 77 | QT_MOC_LITERAL(596, 12), // "insertPolicy" |
| 78 | QT_MOC_LITERAL(609, 12), // "InsertPolicy" |
| 79 | QT_MOC_LITERAL(622, 16), // "sizeAdjustPolicy" |
| 80 | QT_MOC_LITERAL(639, 16), // "SizeAdjustPolicy" |
| 81 | QT_MOC_LITERAL(656, 21), // "minimumContentsLength" |
| 82 | QT_MOC_LITERAL(678, 8), // "iconSize" |
| 83 | QT_MOC_LITERAL(687, 15), // "placeholderText" |
| 84 | QT_MOC_LITERAL(703, 17), // "duplicatesEnabled" |
| 85 | QT_MOC_LITERAL(721, 5), // "frame" |
| 86 | QT_MOC_LITERAL(727, 11), // "modelColumn" |
| 87 | QT_MOC_LITERAL(739, 8), // "NoInsert" |
| 88 | QT_MOC_LITERAL(748, 11), // "InsertAtTop" |
| 89 | QT_MOC_LITERAL(760, 15), // "InsertAtCurrent" |
| 90 | QT_MOC_LITERAL(776, 14), // "InsertAtBottom" |
| 91 | QT_MOC_LITERAL(791, 18), // "InsertAfterCurrent" |
| 92 | QT_MOC_LITERAL(810, 19), // "InsertBeforeCurrent" |
| 93 | QT_MOC_LITERAL(830, 20), // "InsertAlphabetically" |
| 94 | QT_MOC_LITERAL(851, 16), // "AdjustToContents" |
| 95 | QT_MOC_LITERAL(868, 27), // "AdjustToContentsOnFirstShow" |
| 96 | QT_MOC_LITERAL(896, 37) // "AdjustToMinimumContentsLength..." |
| 97 | |
| 98 | }, |
| 99 | "QComboBox\0editTextChanged\0\0activated\0" |
| 100 | "index\0textActivated\0highlighted\0" |
| 101 | "textHighlighted\0currentIndexChanged\0" |
| 102 | "currentTextChanged\0clear\0clearEditText\0" |
| 103 | "setEditText\0text\0setCurrentIndex\0" |
| 104 | "setCurrentText\0_q_itemSelected\0" |
| 105 | "QModelIndex\0item\0_q_emitHighlighted\0" |
| 106 | "_q_emitCurrentIndexChanged\0" |
| 107 | "_q_editingFinished\0_q_returnPressed\0" |
| 108 | "_q_resetButton\0_q_dataChanged\0" |
| 109 | "_q_updateIndexBeforeChange\0_q_rowsInserted\0" |
| 110 | "parent\0start\0end\0_q_rowsRemoved\0" |
| 111 | "_q_modelDestroyed\0_q_modelReset\0" |
| 112 | "_q_completerActivated\0inputMethodQuery\0" |
| 113 | "Qt::InputMethodQuery\0query\0argument\0" |
| 114 | "editable\0count\0currentText\0currentIndex\0" |
| 115 | "currentData\0maxVisibleItems\0maxCount\0" |
| 116 | "insertPolicy\0InsertPolicy\0sizeAdjustPolicy\0" |
| 117 | "SizeAdjustPolicy\0minimumContentsLength\0" |
| 118 | "iconSize\0placeholderText\0duplicatesEnabled\0" |
| 119 | "frame\0modelColumn\0NoInsert\0InsertAtTop\0" |
| 120 | "InsertAtCurrent\0InsertAtBottom\0" |
| 121 | "InsertAfterCurrent\0InsertBeforeCurrent\0" |
| 122 | "InsertAlphabetically\0AdjustToContents\0" |
| 123 | "AdjustToContentsOnFirstShow\0" |
| 124 | "AdjustToMinimumContentsLengthWithIcon" |
| 125 | }; |
| 126 | #undef QT_MOC_LITERAL |
| 127 | |
| 128 | static const uint qt_meta_data_QComboBox[] = { |
| 129 | |
| 130 | // content: |
| 131 | 9, // revision |
| 132 | 0, // classname |
| 133 | 0, 0, // classinfo |
| 134 | 26, 14, // methods |
| 135 | 15, 244, // properties |
| 136 | 2, 319, // enums/sets |
| 137 | 0, 0, // constructors |
| 138 | 0, // flags |
| 139 | 7, // signalCount |
| 140 | |
| 141 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
| 142 | 1, 1, 170, 2, 0x06, 15 /* Public */, |
| 143 | 3, 1, 173, 2, 0x06, 17 /* Public */, |
| 144 | 5, 1, 176, 2, 0x06, 19 /* Public */, |
| 145 | 6, 1, 179, 2, 0x06, 21 /* Public */, |
| 146 | 7, 1, 182, 2, 0x06, 23 /* Public */, |
| 147 | 8, 1, 185, 2, 0x06, 25 /* Public */, |
| 148 | 9, 1, 188, 2, 0x06, 27 /* Public */, |
| 149 | |
| 150 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
| 151 | 10, 0, 191, 2, 0x0a, 29 /* Public */, |
| 152 | 11, 0, 192, 2, 0x0a, 30 /* Public */, |
| 153 | 12, 1, 193, 2, 0x0a, 31 /* Public */, |
| 154 | 14, 1, 196, 2, 0x0a, 33 /* Public */, |
| 155 | 15, 1, 199, 2, 0x0a, 35 /* Public */, |
| 156 | 16, 1, 202, 2, 0x08, 37 /* Private */, |
| 157 | 19, 1, 205, 2, 0x08, 39 /* Private */, |
| 158 | 20, 1, 208, 2, 0x08, 41 /* Private */, |
| 159 | 21, 0, 211, 2, 0x08, 43 /* Private */, |
| 160 | 22, 0, 212, 2, 0x08, 44 /* Private */, |
| 161 | 23, 0, 213, 2, 0x08, 45 /* Private */, |
| 162 | 24, 2, 214, 2, 0x08, 46 /* Private */, |
| 163 | 25, 0, 219, 2, 0x08, 49 /* Private */, |
| 164 | 26, 3, 220, 2, 0x08, 50 /* Private */, |
| 165 | 30, 3, 227, 2, 0x08, 54 /* Private */, |
| 166 | 31, 0, 234, 2, 0x08, 58 /* Private */, |
| 167 | 32, 0, 235, 2, 0x08, 59 /* Private */, |
| 168 | 33, 1, 236, 2, 0x08, 60 /* Private */, |
| 169 | |
| 170 | // methods: name, argc, parameters, tag, flags, initial metatype offsets |
| 171 | 34, 2, 239, 2, 0x02, 62 /* Public */, |
| 172 | |
| 173 | // signals: parameters |
| 174 | QMetaType::Void, QMetaType::QString, 2, |
| 175 | QMetaType::Void, QMetaType::Int, 4, |
| 176 | QMetaType::Void, QMetaType::QString, 2, |
| 177 | QMetaType::Void, QMetaType::Int, 4, |
| 178 | QMetaType::Void, QMetaType::QString, 2, |
| 179 | QMetaType::Void, QMetaType::Int, 4, |
| 180 | QMetaType::Void, QMetaType::QString, 2, |
| 181 | |
| 182 | // slots: parameters |
| 183 | QMetaType::Void, |
| 184 | QMetaType::Void, |
| 185 | QMetaType::Void, QMetaType::QString, 13, |
| 186 | QMetaType::Void, QMetaType::Int, 4, |
| 187 | QMetaType::Void, QMetaType::QString, 13, |
| 188 | QMetaType::Void, 0x80000000 | 17, 18, |
| 189 | QMetaType::Void, 0x80000000 | 17, 2, |
| 190 | QMetaType::Void, 0x80000000 | 17, 4, |
| 191 | QMetaType::Void, |
| 192 | QMetaType::Void, |
| 193 | QMetaType::Void, |
| 194 | QMetaType::Void, 0x80000000 | 17, 0x80000000 | 17, 2, 2, |
| 195 | QMetaType::Void, |
| 196 | QMetaType::Void, 0x80000000 | 17, QMetaType::Int, QMetaType::Int, 27, 28, 29, |
| 197 | QMetaType::Void, 0x80000000 | 17, QMetaType::Int, QMetaType::Int, 27, 28, 29, |
| 198 | QMetaType::Void, |
| 199 | QMetaType::Void, |
| 200 | QMetaType::Void, 0x80000000 | 17, 4, |
| 201 | |
| 202 | // methods: parameters |
| 203 | QMetaType::QVariant, 0x80000000 | 35, QMetaType::QVariant, 36, 37, |
| 204 | |
| 205 | // properties: name, type, flags |
| 206 | 38, QMetaType::Bool, 0x00015103, uint(-1), 0, |
| 207 | 39, QMetaType::Int, 0x00015001, uint(-1), 0, |
| 208 | 40, QMetaType::QString, 0x00115103, uint(6), 0, |
| 209 | 41, QMetaType::Int, 0x00015103, uint(5), 0, |
| 210 | 42, QMetaType::QVariant, 0x00015001, uint(-1), 0, |
| 211 | 43, QMetaType::Int, 0x00015103, uint(-1), 0, |
| 212 | 44, QMetaType::Int, 0x00015103, uint(-1), 0, |
| 213 | 45, 0x80000000 | 46, 0x0001510b, uint(-1), 0, |
| 214 | 47, 0x80000000 | 48, 0x0001510b, uint(-1), 0, |
| 215 | 49, QMetaType::Int, 0x00015103, uint(-1), 0, |
| 216 | 50, QMetaType::QSize, 0x00015103, uint(-1), 0, |
| 217 | 51, QMetaType::QString, 0x00015103, uint(-1), 0, |
| 218 | 52, QMetaType::Bool, 0x00015103, uint(-1), 0, |
| 219 | 53, QMetaType::Bool, 0x00015103, uint(-1), 0, |
| 220 | 54, QMetaType::Int, 0x00015103, uint(-1), 0, |
| 221 | |
| 222 | // enums: name, alias, flags, count, data |
| 223 | 46, 46, 0x0, 7, 329, |
| 224 | 48, 48, 0x0, 3, 343, |
| 225 | |
| 226 | // enum data: key, value |
| 227 | 55, uint(QComboBox::NoInsert), |
| 228 | 56, uint(QComboBox::InsertAtTop), |
| 229 | 57, uint(QComboBox::InsertAtCurrent), |
| 230 | 58, uint(QComboBox::InsertAtBottom), |
| 231 | 59, uint(QComboBox::InsertAfterCurrent), |
| 232 | 60, uint(QComboBox::InsertBeforeCurrent), |
| 233 | 61, uint(QComboBox::InsertAlphabetically), |
| 234 | 62, uint(QComboBox::AdjustToContents), |
| 235 | 63, uint(QComboBox::AdjustToContentsOnFirstShow), |
| 236 | 64, uint(QComboBox::AdjustToMinimumContentsLengthWithIcon), |
| 237 | |
| 238 | 0 // eod |
| 239 | }; |
| 240 | |
| 241 | void QComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 242 | { |
| 243 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 244 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 245 | auto *_t = static_cast<QComboBox *>(_o); |
| 246 | Q_UNUSED(_t) |
| 247 | switch (_id) { |
| 248 | case 0: _t->editTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 249 | case 1: _t->activated((*reinterpret_cast< int(*)>(_a[1]))); break; |
| 250 | case 2: _t->textActivated((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 251 | case 3: _t->highlighted((*reinterpret_cast< int(*)>(_a[1]))); break; |
| 252 | case 4: _t->textHighlighted((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 253 | case 5: _t->currentIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
| 254 | case 6: _t->currentTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 255 | case 7: _t->clear(); break; |
| 256 | case 8: _t->clearEditText(); break; |
| 257 | case 9: _t->setEditText((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 258 | case 10: _t->setCurrentIndex((*reinterpret_cast< int(*)>(_a[1]))); break; |
| 259 | case 11: _t->setCurrentText((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 260 | case 12: _t->d_func()->_q_itemSelected((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; |
| 261 | case 13: _t->d_func()->_q_emitHighlighted((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; |
| 262 | case 14: _t->d_func()->_q_emitCurrentIndexChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; |
| 263 | case 15: _t->d_func()->_q_editingFinished(); break; |
| 264 | case 16: _t->d_func()->_q_returnPressed(); break; |
| 265 | case 17: _t->d_func()->_q_resetButton(); break; |
| 266 | case 18: _t->d_func()->_q_dataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break; |
| 267 | case 19: _t->d_func()->_q_updateIndexBeforeChange(); break; |
| 268 | case 20: _t->d_func()->_q_rowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
| 269 | case 21: _t->d_func()->_q_rowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
| 270 | case 22: _t->d_func()->_q_modelDestroyed(); break; |
| 271 | case 23: _t->d_func()->_q_modelReset(); break; |
| 272 | case 24: _t->d_func()->_q_completerActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; |
| 273 | case 25: { QVariant _r = _t->inputMethodQuery((*reinterpret_cast< Qt::InputMethodQuery(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2]))); |
| 274 | if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); } break; |
| 275 | default: ; |
| 276 | } |
| 277 | } else if (_c == QMetaObject::IndexOfMethod) { |
| 278 | int *result = reinterpret_cast<int *>(_a[0]); |
| 279 | { |
| 280 | using _t = void (QComboBox::*)(const QString & ); |
| 281 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QComboBox::editTextChanged)) { |
| 282 | *result = 0; |
| 283 | return; |
| 284 | } |
| 285 | } |
| 286 | { |
| 287 | using _t = void (QComboBox::*)(int ); |
| 288 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QComboBox::activated)) { |
| 289 | *result = 1; |
| 290 | return; |
| 291 | } |
| 292 | } |
| 293 | { |
| 294 | using _t = void (QComboBox::*)(const QString & ); |
| 295 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QComboBox::textActivated)) { |
| 296 | *result = 2; |
| 297 | return; |
| 298 | } |
| 299 | } |
| 300 | { |
| 301 | using _t = void (QComboBox::*)(int ); |
| 302 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QComboBox::highlighted)) { |
| 303 | *result = 3; |
| 304 | return; |
| 305 | } |
| 306 | } |
| 307 | { |
| 308 | using _t = void (QComboBox::*)(const QString & ); |
| 309 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QComboBox::textHighlighted)) { |
| 310 | *result = 4; |
| 311 | return; |
| 312 | } |
| 313 | } |
| 314 | { |
| 315 | using _t = void (QComboBox::*)(int ); |
| 316 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QComboBox::currentIndexChanged)) { |
| 317 | *result = 5; |
| 318 | return; |
| 319 | } |
| 320 | } |
| 321 | { |
| 322 | using _t = void (QComboBox::*)(const QString & ); |
| 323 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QComboBox::currentTextChanged)) { |
| 324 | *result = 6; |
| 325 | return; |
| 326 | } |
| 327 | } |
| 328 | } |
| 329 | #ifndef QT_NO_PROPERTIES |
| 330 | else if (_c == QMetaObject::ReadProperty) { |
| 331 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 332 | auto *_t = static_cast<QComboBox *>(_o); |
| 333 | Q_UNUSED(_t) |
| 334 | void *_v = _a[0]; |
| 335 | switch (_id) { |
| 336 | case 0: *reinterpret_cast< bool*>(_v) = _t->isEditable(); break; |
| 337 | case 1: *reinterpret_cast< int*>(_v) = _t->count(); break; |
| 338 | case 2: *reinterpret_cast< QString*>(_v) = _t->currentText(); break; |
| 339 | case 3: *reinterpret_cast< int*>(_v) = _t->currentIndex(); break; |
| 340 | case 4: *reinterpret_cast< QVariant*>(_v) = _t->currentData(); break; |
| 341 | case 5: *reinterpret_cast< int*>(_v) = _t->maxVisibleItems(); break; |
| 342 | case 6: *reinterpret_cast< int*>(_v) = _t->maxCount(); break; |
| 343 | case 7: *reinterpret_cast< InsertPolicy*>(_v) = _t->insertPolicy(); break; |
| 344 | case 8: *reinterpret_cast< SizeAdjustPolicy*>(_v) = _t->sizeAdjustPolicy(); break; |
| 345 | case 9: *reinterpret_cast< int*>(_v) = _t->minimumContentsLength(); break; |
| 346 | case 10: *reinterpret_cast< QSize*>(_v) = _t->iconSize(); break; |
| 347 | case 11: *reinterpret_cast< QString*>(_v) = _t->placeholderText(); break; |
| 348 | case 12: *reinterpret_cast< bool*>(_v) = _t->duplicatesEnabled(); break; |
| 349 | case 13: *reinterpret_cast< bool*>(_v) = _t->hasFrame(); break; |
| 350 | case 14: *reinterpret_cast< int*>(_v) = _t->modelColumn(); break; |
| 351 | default: break; |
| 352 | } |
| 353 | } else if (_c == QMetaObject::WriteProperty) { |
| 354 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 355 | auto *_t = static_cast<QComboBox *>(_o); |
| 356 | Q_UNUSED(_t) |
| 357 | void *_v = _a[0]; |
| 358 | switch (_id) { |
| 359 | case 0: _t->setEditable(*reinterpret_cast< bool*>(_v)); break; |
| 360 | case 2: _t->setCurrentText(*reinterpret_cast< QString*>(_v)); break; |
| 361 | case 3: _t->setCurrentIndex(*reinterpret_cast< int*>(_v)); break; |
| 362 | case 5: _t->setMaxVisibleItems(*reinterpret_cast< int*>(_v)); break; |
| 363 | case 6: _t->setMaxCount(*reinterpret_cast< int*>(_v)); break; |
| 364 | case 7: _t->setInsertPolicy(*reinterpret_cast< InsertPolicy*>(_v)); break; |
| 365 | case 8: _t->setSizeAdjustPolicy(*reinterpret_cast< SizeAdjustPolicy*>(_v)); break; |
| 366 | case 9: _t->setMinimumContentsLength(*reinterpret_cast< int*>(_v)); break; |
| 367 | case 10: _t->setIconSize(*reinterpret_cast< QSize*>(_v)); break; |
| 368 | case 11: _t->setPlaceholderText(*reinterpret_cast< QString*>(_v)); break; |
| 369 | case 12: _t->setDuplicatesEnabled(*reinterpret_cast< bool*>(_v)); break; |
| 370 | case 13: _t->setFrame(*reinterpret_cast< bool*>(_v)); break; |
| 371 | case 14: _t->setModelColumn(*reinterpret_cast< int*>(_v)); break; |
| 372 | default: break; |
| 373 | } |
| 374 | } else if (_c == QMetaObject::ResetProperty) { |
| 375 | } else if (_c == QMetaObject::BindableProperty) { |
| 376 | } |
| 377 | #endif // QT_NO_PROPERTIES |
| 378 | } |
| 379 | |
| 380 | const QMetaObject QComboBox::staticMetaObject = { { |
| 381 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
| 382 | qt_meta_stringdata_QComboBox.offsetsAndSize, |
| 383 | qt_meta_data_QComboBox, |
| 384 | qt_static_metacall, |
| 385 | nullptr, |
| 386 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QComboBox_t |
| 387 | , QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<QVariant, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<InsertPolicy, std::true_type>, QtPrivate::TypeAndForceComplete<SizeAdjustPolicy, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<QSize, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type> |
| 388 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type> |
| 389 | , QtPrivate::TypeAndForceComplete<QVariant, std::false_type>, QtPrivate::TypeAndForceComplete<Qt::InputMethodQuery, std::false_type>, QtPrivate::TypeAndForceComplete<const QVariant &, std::false_type> |
| 390 | |
| 391 | >, |
| 392 | nullptr |
| 393 | } }; |
| 394 | |
| 395 | |
| 396 | const QMetaObject *QComboBox::metaObject() const |
| 397 | { |
| 398 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 399 | } |
| 400 | |
| 401 | void *QComboBox::qt_metacast(const char *_clname) |
| 402 | { |
| 403 | if (!_clname) return nullptr; |
| 404 | if (!strcmp(_clname, qt_meta_stringdata_QComboBox.stringdata0)) |
| 405 | return static_cast<void*>(this); |
| 406 | return QWidget::qt_metacast(_clname); |
| 407 | } |
| 408 | |
| 409 | int QComboBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 410 | { |
| 411 | _id = QWidget::qt_metacall(_c, _id, _a); |
| 412 | if (_id < 0) |
| 413 | return _id; |
| 414 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 415 | if (_id < 26) |
| 416 | qt_static_metacall(this, _c, _id, _a); |
| 417 | _id -= 26; |
| 418 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 419 | if (_id < 26) |
| 420 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
| 421 | _id -= 26; |
| 422 | } |
| 423 | #ifndef QT_NO_PROPERTIES |
| 424 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
| 425 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
| 426 | || _c == QMetaObject::RegisterPropertyMetaType) { |
| 427 | qt_static_metacall(this, _c, _id, _a); |
| 428 | _id -= 15; |
| 429 | } |
| 430 | #endif // QT_NO_PROPERTIES |
| 431 | return _id; |
| 432 | } |
| 433 | |
| 434 | // SIGNAL 0 |
| 435 | void QComboBox::editTextChanged(const QString & _t1) |
| 436 | { |
| 437 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 438 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
| 439 | } |
| 440 | |
| 441 | // SIGNAL 1 |
| 442 | void QComboBox::activated(int _t1) |
| 443 | { |
| 444 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 445 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
| 446 | } |
| 447 | |
| 448 | // SIGNAL 2 |
| 449 | void QComboBox::textActivated(const QString & _t1) |
| 450 | { |
| 451 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 452 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
| 453 | } |
| 454 | |
| 455 | // SIGNAL 3 |
| 456 | void QComboBox::highlighted(int _t1) |
| 457 | { |
| 458 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 459 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
| 460 | } |
| 461 | |
| 462 | // SIGNAL 4 |
| 463 | void QComboBox::textHighlighted(const QString & _t1) |
| 464 | { |
| 465 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 466 | QMetaObject::activate(this, &staticMetaObject, 4, _a); |
| 467 | } |
| 468 | |
| 469 | // SIGNAL 5 |
| 470 | void QComboBox::currentIndexChanged(int _t1) |
| 471 | { |
| 472 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 473 | QMetaObject::activate(this, &staticMetaObject, 5, _a); |
| 474 | } |
| 475 | |
| 476 | // SIGNAL 6 |
| 477 | void QComboBox::currentTextChanged(const QString & _t1) |
| 478 | { |
| 479 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 480 | QMetaObject::activate(this, &staticMetaObject, 6, _a); |
| 481 | } |
| 482 | QT_WARNING_POP |
| 483 | QT_END_MOC_NAMESPACE |
| 484 | |