| 1 | /**************************************************************************** |
| 2 | ** Meta object code from reading C++ file 'qspinbox.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/qspinbox.h" |
| 11 | #include <QtCore/qbytearray.h> |
| 12 | #include <QtCore/qmetatype.h> |
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
| 14 | #error "The header file 'qspinbox.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_QSpinBox_t { |
| 25 | const uint offsetsAndSize[32]; |
| 26 | char stringdata0[142]; |
| 27 | }; |
| 28 | #define QT_MOC_LITERAL(ofs, len) \ |
| 29 | uint(offsetof(qt_meta_stringdata_QSpinBox_t, stringdata0) + ofs), len |
| 30 | static const qt_meta_stringdata_QSpinBox_t qt_meta_stringdata_QSpinBox = { |
| 31 | { |
| 32 | QT_MOC_LITERAL(0, 8), // "QSpinBox" |
| 33 | QT_MOC_LITERAL(9, 12), // "valueChanged" |
| 34 | QT_MOC_LITERAL(22, 0), // "" |
| 35 | QT_MOC_LITERAL(23, 11), // "textChanged" |
| 36 | QT_MOC_LITERAL(35, 8), // "setValue" |
| 37 | QT_MOC_LITERAL(44, 3), // "val" |
| 38 | QT_MOC_LITERAL(48, 6), // "suffix" |
| 39 | QT_MOC_LITERAL(55, 6), // "prefix" |
| 40 | QT_MOC_LITERAL(62, 9), // "cleanText" |
| 41 | QT_MOC_LITERAL(72, 7), // "minimum" |
| 42 | QT_MOC_LITERAL(80, 7), // "maximum" |
| 43 | QT_MOC_LITERAL(88, 10), // "singleStep" |
| 44 | QT_MOC_LITERAL(99, 8), // "stepType" |
| 45 | QT_MOC_LITERAL(108, 8), // "StepType" |
| 46 | QT_MOC_LITERAL(117, 5), // "value" |
| 47 | QT_MOC_LITERAL(123, 18) // "displayIntegerBase" |
| 48 | |
| 49 | }, |
| 50 | "QSpinBox\0valueChanged\0\0textChanged\0" |
| 51 | "setValue\0val\0suffix\0prefix\0cleanText\0" |
| 52 | "minimum\0maximum\0singleStep\0stepType\0" |
| 53 | "StepType\0value\0displayIntegerBase" |
| 54 | }; |
| 55 | #undef QT_MOC_LITERAL |
| 56 | |
| 57 | static const uint qt_meta_data_QSpinBox[] = { |
| 58 | |
| 59 | // content: |
| 60 | 9, // revision |
| 61 | 0, // classname |
| 62 | 0, 0, // classinfo |
| 63 | 3, 14, // methods |
| 64 | 9, 41, // properties |
| 65 | 0, 0, // enums/sets |
| 66 | 0, 0, // constructors |
| 67 | 0, // flags |
| 68 | 2, // signalCount |
| 69 | |
| 70 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
| 71 | 1, 1, 32, 2, 0x06, 9 /* Public */, |
| 72 | 3, 1, 35, 2, 0x06, 11 /* Public */, |
| 73 | |
| 74 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
| 75 | 4, 1, 38, 2, 0x0a, 13 /* Public */, |
| 76 | |
| 77 | // signals: parameters |
| 78 | QMetaType::Void, QMetaType::Int, 2, |
| 79 | QMetaType::Void, QMetaType::QString, 2, |
| 80 | |
| 81 | // slots: parameters |
| 82 | QMetaType::Void, QMetaType::Int, 5, |
| 83 | |
| 84 | // properties: name, type, flags |
| 85 | 6, QMetaType::QString, 0x00015103, uint(-1), 0, |
| 86 | 7, QMetaType::QString, 0x00015103, uint(-1), 0, |
| 87 | 8, QMetaType::QString, 0x00015001, uint(-1), 0, |
| 88 | 9, QMetaType::Int, 0x00015103, uint(-1), 0, |
| 89 | 10, QMetaType::Int, 0x00015103, uint(-1), 0, |
| 90 | 11, QMetaType::Int, 0x00015103, uint(-1), 0, |
| 91 | 12, 0x80000000 | 13, 0x0001510b, uint(-1), 0, |
| 92 | 14, QMetaType::Int, 0x00115103, uint(0), 0, |
| 93 | 15, QMetaType::Int, 0x00015103, uint(-1), 0, |
| 94 | |
| 95 | 0 // eod |
| 96 | }; |
| 97 | |
| 98 | void QSpinBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 99 | { |
| 100 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 101 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 102 | auto *_t = static_cast<QSpinBox *>(_o); |
| 103 | Q_UNUSED(_t) |
| 104 | switch (_id) { |
| 105 | case 0: _t->valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
| 106 | case 1: _t->textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 107 | case 2: _t->setValue((*reinterpret_cast< int(*)>(_a[1]))); break; |
| 108 | default: ; |
| 109 | } |
| 110 | } else if (_c == QMetaObject::IndexOfMethod) { |
| 111 | int *result = reinterpret_cast<int *>(_a[0]); |
| 112 | { |
| 113 | using _t = void (QSpinBox::*)(int ); |
| 114 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSpinBox::valueChanged)) { |
| 115 | *result = 0; |
| 116 | return; |
| 117 | } |
| 118 | } |
| 119 | { |
| 120 | using _t = void (QSpinBox::*)(const QString & ); |
| 121 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSpinBox::textChanged)) { |
| 122 | *result = 1; |
| 123 | return; |
| 124 | } |
| 125 | } |
| 126 | } |
| 127 | #ifndef QT_NO_PROPERTIES |
| 128 | else if (_c == QMetaObject::ReadProperty) { |
| 129 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 130 | auto *_t = static_cast<QSpinBox *>(_o); |
| 131 | Q_UNUSED(_t) |
| 132 | void *_v = _a[0]; |
| 133 | switch (_id) { |
| 134 | case 0: *reinterpret_cast< QString*>(_v) = _t->suffix(); break; |
| 135 | case 1: *reinterpret_cast< QString*>(_v) = _t->prefix(); break; |
| 136 | case 2: *reinterpret_cast< QString*>(_v) = _t->cleanText(); break; |
| 137 | case 3: *reinterpret_cast< int*>(_v) = _t->minimum(); break; |
| 138 | case 4: *reinterpret_cast< int*>(_v) = _t->maximum(); break; |
| 139 | case 5: *reinterpret_cast< int*>(_v) = _t->singleStep(); break; |
| 140 | case 6: *reinterpret_cast< StepType*>(_v) = _t->stepType(); break; |
| 141 | case 7: *reinterpret_cast< int*>(_v) = _t->value(); break; |
| 142 | case 8: *reinterpret_cast< int*>(_v) = _t->displayIntegerBase(); break; |
| 143 | default: break; |
| 144 | } |
| 145 | } else if (_c == QMetaObject::WriteProperty) { |
| 146 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 147 | auto *_t = static_cast<QSpinBox *>(_o); |
| 148 | Q_UNUSED(_t) |
| 149 | void *_v = _a[0]; |
| 150 | switch (_id) { |
| 151 | case 0: _t->setSuffix(*reinterpret_cast< QString*>(_v)); break; |
| 152 | case 1: _t->setPrefix(*reinterpret_cast< QString*>(_v)); break; |
| 153 | case 3: _t->setMinimum(*reinterpret_cast< int*>(_v)); break; |
| 154 | case 4: _t->setMaximum(*reinterpret_cast< int*>(_v)); break; |
| 155 | case 5: _t->setSingleStep(*reinterpret_cast< int*>(_v)); break; |
| 156 | case 6: _t->setStepType(*reinterpret_cast< StepType*>(_v)); break; |
| 157 | case 7: _t->setValue(*reinterpret_cast< int*>(_v)); break; |
| 158 | case 8: _t->setDisplayIntegerBase(*reinterpret_cast< int*>(_v)); break; |
| 159 | default: break; |
| 160 | } |
| 161 | } else if (_c == QMetaObject::ResetProperty) { |
| 162 | } else if (_c == QMetaObject::BindableProperty) { |
| 163 | } |
| 164 | #endif // QT_NO_PROPERTIES |
| 165 | } |
| 166 | |
| 167 | const QMetaObject QSpinBox::staticMetaObject = { { |
| 168 | QMetaObject::SuperData::link<QAbstractSpinBox::staticMetaObject>(), |
| 169 | qt_meta_stringdata_QSpinBox.offsetsAndSize, |
| 170 | qt_meta_data_QSpinBox, |
| 171 | qt_static_metacall, |
| 172 | nullptr, |
| 173 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QSpinBox_t |
| 174 | , QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<StepType, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_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> |
| 175 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> |
| 176 | |
| 177 | |
| 178 | >, |
| 179 | nullptr |
| 180 | } }; |
| 181 | |
| 182 | |
| 183 | const QMetaObject *QSpinBox::metaObject() const |
| 184 | { |
| 185 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 186 | } |
| 187 | |
| 188 | void *QSpinBox::qt_metacast(const char *_clname) |
| 189 | { |
| 190 | if (!_clname) return nullptr; |
| 191 | if (!strcmp(_clname, qt_meta_stringdata_QSpinBox.stringdata0)) |
| 192 | return static_cast<void*>(this); |
| 193 | return QAbstractSpinBox::qt_metacast(_clname); |
| 194 | } |
| 195 | |
| 196 | int QSpinBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 197 | { |
| 198 | _id = QAbstractSpinBox::qt_metacall(_c, _id, _a); |
| 199 | if (_id < 0) |
| 200 | return _id; |
| 201 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 202 | if (_id < 3) |
| 203 | qt_static_metacall(this, _c, _id, _a); |
| 204 | _id -= 3; |
| 205 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 206 | if (_id < 3) |
| 207 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
| 208 | _id -= 3; |
| 209 | } |
| 210 | #ifndef QT_NO_PROPERTIES |
| 211 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
| 212 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
| 213 | || _c == QMetaObject::RegisterPropertyMetaType) { |
| 214 | qt_static_metacall(this, _c, _id, _a); |
| 215 | _id -= 9; |
| 216 | } |
| 217 | #endif // QT_NO_PROPERTIES |
| 218 | return _id; |
| 219 | } |
| 220 | |
| 221 | // SIGNAL 0 |
| 222 | void QSpinBox::valueChanged(int _t1) |
| 223 | { |
| 224 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 225 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
| 226 | } |
| 227 | |
| 228 | // SIGNAL 1 |
| 229 | void QSpinBox::textChanged(const QString & _t1) |
| 230 | { |
| 231 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 232 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
| 233 | } |
| 234 | struct qt_meta_stringdata_QDoubleSpinBox_t { |
| 235 | const uint offsetsAndSize[32]; |
| 236 | char stringdata0[138]; |
| 237 | }; |
| 238 | #define QT_MOC_LITERAL(ofs, len) \ |
| 239 | uint(offsetof(qt_meta_stringdata_QDoubleSpinBox_t, stringdata0) + ofs), len |
| 240 | static const qt_meta_stringdata_QDoubleSpinBox_t qt_meta_stringdata_QDoubleSpinBox = { |
| 241 | { |
| 242 | QT_MOC_LITERAL(0, 14), // "QDoubleSpinBox" |
| 243 | QT_MOC_LITERAL(15, 12), // "valueChanged" |
| 244 | QT_MOC_LITERAL(28, 0), // "" |
| 245 | QT_MOC_LITERAL(29, 11), // "textChanged" |
| 246 | QT_MOC_LITERAL(41, 8), // "setValue" |
| 247 | QT_MOC_LITERAL(50, 3), // "val" |
| 248 | QT_MOC_LITERAL(54, 6), // "prefix" |
| 249 | QT_MOC_LITERAL(61, 6), // "suffix" |
| 250 | QT_MOC_LITERAL(68, 9), // "cleanText" |
| 251 | QT_MOC_LITERAL(78, 8), // "decimals" |
| 252 | QT_MOC_LITERAL(87, 7), // "minimum" |
| 253 | QT_MOC_LITERAL(95, 7), // "maximum" |
| 254 | QT_MOC_LITERAL(103, 10), // "singleStep" |
| 255 | QT_MOC_LITERAL(114, 8), // "stepType" |
| 256 | QT_MOC_LITERAL(123, 8), // "StepType" |
| 257 | QT_MOC_LITERAL(132, 5) // "value" |
| 258 | |
| 259 | }, |
| 260 | "QDoubleSpinBox\0valueChanged\0\0textChanged\0" |
| 261 | "setValue\0val\0prefix\0suffix\0cleanText\0" |
| 262 | "decimals\0minimum\0maximum\0singleStep\0" |
| 263 | "stepType\0StepType\0value" |
| 264 | }; |
| 265 | #undef QT_MOC_LITERAL |
| 266 | |
| 267 | static const uint qt_meta_data_QDoubleSpinBox[] = { |
| 268 | |
| 269 | // content: |
| 270 | 9, // revision |
| 271 | 0, // classname |
| 272 | 0, 0, // classinfo |
| 273 | 3, 14, // methods |
| 274 | 9, 41, // properties |
| 275 | 0, 0, // enums/sets |
| 276 | 0, 0, // constructors |
| 277 | 0, // flags |
| 278 | 2, // signalCount |
| 279 | |
| 280 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
| 281 | 1, 1, 32, 2, 0x06, 9 /* Public */, |
| 282 | 3, 1, 35, 2, 0x06, 11 /* Public */, |
| 283 | |
| 284 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
| 285 | 4, 1, 38, 2, 0x0a, 13 /* Public */, |
| 286 | |
| 287 | // signals: parameters |
| 288 | QMetaType::Void, QMetaType::Double, 2, |
| 289 | QMetaType::Void, QMetaType::QString, 2, |
| 290 | |
| 291 | // slots: parameters |
| 292 | QMetaType::Void, QMetaType::Double, 5, |
| 293 | |
| 294 | // properties: name, type, flags |
| 295 | 6, QMetaType::QString, 0x00015103, uint(-1), 0, |
| 296 | 7, QMetaType::QString, 0x00015103, uint(-1), 0, |
| 297 | 8, QMetaType::QString, 0x00015001, uint(-1), 0, |
| 298 | 9, QMetaType::Int, 0x00015103, uint(-1), 0, |
| 299 | 10, QMetaType::Double, 0x00015103, uint(-1), 0, |
| 300 | 11, QMetaType::Double, 0x00015103, uint(-1), 0, |
| 301 | 12, QMetaType::Double, 0x00015103, uint(-1), 0, |
| 302 | 13, 0x80000000 | 14, 0x0001510b, uint(-1), 0, |
| 303 | 15, QMetaType::Double, 0x00115103, uint(0), 0, |
| 304 | |
| 305 | 0 // eod |
| 306 | }; |
| 307 | |
| 308 | void QDoubleSpinBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 309 | { |
| 310 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 311 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 312 | auto *_t = static_cast<QDoubleSpinBox *>(_o); |
| 313 | Q_UNUSED(_t) |
| 314 | switch (_id) { |
| 315 | case 0: _t->valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break; |
| 316 | case 1: _t->textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 317 | case 2: _t->setValue((*reinterpret_cast< double(*)>(_a[1]))); break; |
| 318 | default: ; |
| 319 | } |
| 320 | } else if (_c == QMetaObject::IndexOfMethod) { |
| 321 | int *result = reinterpret_cast<int *>(_a[0]); |
| 322 | { |
| 323 | using _t = void (QDoubleSpinBox::*)(double ); |
| 324 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDoubleSpinBox::valueChanged)) { |
| 325 | *result = 0; |
| 326 | return; |
| 327 | } |
| 328 | } |
| 329 | { |
| 330 | using _t = void (QDoubleSpinBox::*)(const QString & ); |
| 331 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDoubleSpinBox::textChanged)) { |
| 332 | *result = 1; |
| 333 | return; |
| 334 | } |
| 335 | } |
| 336 | } |
| 337 | #ifndef QT_NO_PROPERTIES |
| 338 | else if (_c == QMetaObject::ReadProperty) { |
| 339 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 340 | auto *_t = static_cast<QDoubleSpinBox *>(_o); |
| 341 | Q_UNUSED(_t) |
| 342 | void *_v = _a[0]; |
| 343 | switch (_id) { |
| 344 | case 0: *reinterpret_cast< QString*>(_v) = _t->prefix(); break; |
| 345 | case 1: *reinterpret_cast< QString*>(_v) = _t->suffix(); break; |
| 346 | case 2: *reinterpret_cast< QString*>(_v) = _t->cleanText(); break; |
| 347 | case 3: *reinterpret_cast< int*>(_v) = _t->decimals(); break; |
| 348 | case 4: *reinterpret_cast< double*>(_v) = _t->minimum(); break; |
| 349 | case 5: *reinterpret_cast< double*>(_v) = _t->maximum(); break; |
| 350 | case 6: *reinterpret_cast< double*>(_v) = _t->singleStep(); break; |
| 351 | case 7: *reinterpret_cast< StepType*>(_v) = _t->stepType(); break; |
| 352 | case 8: *reinterpret_cast< double*>(_v) = _t->value(); break; |
| 353 | default: break; |
| 354 | } |
| 355 | } else if (_c == QMetaObject::WriteProperty) { |
| 356 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 357 | auto *_t = static_cast<QDoubleSpinBox *>(_o); |
| 358 | Q_UNUSED(_t) |
| 359 | void *_v = _a[0]; |
| 360 | switch (_id) { |
| 361 | case 0: _t->setPrefix(*reinterpret_cast< QString*>(_v)); break; |
| 362 | case 1: _t->setSuffix(*reinterpret_cast< QString*>(_v)); break; |
| 363 | case 3: _t->setDecimals(*reinterpret_cast< int*>(_v)); break; |
| 364 | case 4: _t->setMinimum(*reinterpret_cast< double*>(_v)); break; |
| 365 | case 5: _t->setMaximum(*reinterpret_cast< double*>(_v)); break; |
| 366 | case 6: _t->setSingleStep(*reinterpret_cast< double*>(_v)); break; |
| 367 | case 7: _t->setStepType(*reinterpret_cast< StepType*>(_v)); break; |
| 368 | case 8: _t->setValue(*reinterpret_cast< double*>(_v)); break; |
| 369 | default: break; |
| 370 | } |
| 371 | } else if (_c == QMetaObject::ResetProperty) { |
| 372 | } else if (_c == QMetaObject::BindableProperty) { |
| 373 | } |
| 374 | #endif // QT_NO_PROPERTIES |
| 375 | } |
| 376 | |
| 377 | const QMetaObject QDoubleSpinBox::staticMetaObject = { { |
| 378 | QMetaObject::SuperData::link<QAbstractSpinBox::staticMetaObject>(), |
| 379 | qt_meta_stringdata_QDoubleSpinBox.offsetsAndSize, |
| 380 | qt_meta_data_QDoubleSpinBox, |
| 381 | qt_static_metacall, |
| 382 | nullptr, |
| 383 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QDoubleSpinBox_t |
| 384 | , QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<double, std::true_type>, QtPrivate::TypeAndForceComplete<double, std::true_type>, QtPrivate::TypeAndForceComplete<double, std::true_type>, QtPrivate::TypeAndForceComplete<StepType, std::true_type>, QtPrivate::TypeAndForceComplete<double, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<double, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type> |
| 385 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<double, std::false_type> |
| 386 | |
| 387 | |
| 388 | >, |
| 389 | nullptr |
| 390 | } }; |
| 391 | |
| 392 | |
| 393 | const QMetaObject *QDoubleSpinBox::metaObject() const |
| 394 | { |
| 395 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 396 | } |
| 397 | |
| 398 | void *QDoubleSpinBox::qt_metacast(const char *_clname) |
| 399 | { |
| 400 | if (!_clname) return nullptr; |
| 401 | if (!strcmp(_clname, qt_meta_stringdata_QDoubleSpinBox.stringdata0)) |
| 402 | return static_cast<void*>(this); |
| 403 | return QAbstractSpinBox::qt_metacast(_clname); |
| 404 | } |
| 405 | |
| 406 | int QDoubleSpinBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 407 | { |
| 408 | _id = QAbstractSpinBox::qt_metacall(_c, _id, _a); |
| 409 | if (_id < 0) |
| 410 | return _id; |
| 411 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 412 | if (_id < 3) |
| 413 | qt_static_metacall(this, _c, _id, _a); |
| 414 | _id -= 3; |
| 415 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 416 | if (_id < 3) |
| 417 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
| 418 | _id -= 3; |
| 419 | } |
| 420 | #ifndef QT_NO_PROPERTIES |
| 421 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
| 422 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
| 423 | || _c == QMetaObject::RegisterPropertyMetaType) { |
| 424 | qt_static_metacall(this, _c, _id, _a); |
| 425 | _id -= 9; |
| 426 | } |
| 427 | #endif // QT_NO_PROPERTIES |
| 428 | return _id; |
| 429 | } |
| 430 | |
| 431 | // SIGNAL 0 |
| 432 | void QDoubleSpinBox::valueChanged(double _t1) |
| 433 | { |
| 434 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 435 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
| 436 | } |
| 437 | |
| 438 | // SIGNAL 1 |
| 439 | void QDoubleSpinBox::textChanged(const QString & _t1) |
| 440 | { |
| 441 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 442 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
| 443 | } |
| 444 | QT_WARNING_POP |
| 445 | QT_END_MOC_NAMESPACE |
| 446 | |