/**************************************************************************** ** Meta object code from reading C++ file 'qwt_slider.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include #include "../../src/qwt_slider.h" #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'qwt_slider.h' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 67 #error "This file was generated using the moc from 5.15.2. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif QT_BEGIN_MOC_NAMESPACE QT_WARNING_PUSH QT_WARNING_DISABLE_DEPRECATED struct qt_meta_stringdata_QwtSlider_t { QByteArrayData data[13]; char stringdata0[146]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_QwtSlider_t, stringdata0) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_QwtSlider_t qt_meta_stringdata_QwtSlider = { { QT_MOC_LITERAL(0, 0, 9), // "QwtSlider" QT_MOC_LITERAL(1, 10, 11), // "orientation" QT_MOC_LITERAL(2, 22, 15), // "Qt::Orientation" QT_MOC_LITERAL(3, 38, 13), // "scalePosition" QT_MOC_LITERAL(4, 52, 13), // "ScalePosition" QT_MOC_LITERAL(5, 66, 6), // "trough" QT_MOC_LITERAL(6, 73, 6), // "groove" QT_MOC_LITERAL(7, 80, 10), // "handleSize" QT_MOC_LITERAL(8, 91, 11), // "borderWidth" QT_MOC_LITERAL(9, 103, 7), // "spacing" QT_MOC_LITERAL(10, 111, 7), // "NoScale" QT_MOC_LITERAL(11, 119, 12), // "LeadingScale" QT_MOC_LITERAL(12, 132, 13) // "TrailingScale" }, "QwtSlider\0orientation\0Qt::Orientation\0" "scalePosition\0ScalePosition\0trough\0" "groove\0handleSize\0borderWidth\0spacing\0" "NoScale\0LeadingScale\0TrailingScale" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_QwtSlider[] = { // content: 8, // revision 0, // classname 0, 0, // classinfo 0, 0, // methods 7, 14, // properties 1, 35, // enums/sets 0, 0, // constructors 0, // flags 0, // signalCount // properties: name, type, flags 1, 0x80000000 | 2, 0x0009510b, 3, 0x80000000 | 4, 0x0009510b, 5, QMetaType::Bool, 0x00095103, 6, QMetaType::Bool, 0x00095103, 7, QMetaType::QSize, 0x00095103, 8, QMetaType::Int, 0x00095103, 9, QMetaType::Int, 0x00095103, // enums: name, alias, flags, count, data 4, 4, 0x0, 3, 40, // enum data: key, value 10, uint(QwtSlider::NoScale), 11, uint(QwtSlider::LeadingScale), 12, uint(QwtSlider::TrailingScale), 0 // eod }; void QwtSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { #ifndef QT_NO_PROPERTIES if (_c == QMetaObject::ReadProperty) { auto *_t = static_cast(_o); Q_UNUSED(_t) void *_v = _a[0]; switch (_id) { case 0: *reinterpret_cast< Qt::Orientation*>(_v) = _t->orientation(); break; case 1: *reinterpret_cast< ScalePosition*>(_v) = _t->scalePosition(); break; case 2: *reinterpret_cast< bool*>(_v) = _t->hasTrough(); break; case 3: *reinterpret_cast< bool*>(_v) = _t->hasGroove(); break; case 4: *reinterpret_cast< QSize*>(_v) = _t->handleSize(); break; case 5: *reinterpret_cast< int*>(_v) = _t->borderWidth(); break; case 6: *reinterpret_cast< int*>(_v) = _t->spacing(); break; default: break; } } else if (_c == QMetaObject::WriteProperty) { auto *_t = static_cast(_o); Q_UNUSED(_t) void *_v = _a[0]; switch (_id) { case 0: _t->setOrientation(*reinterpret_cast< Qt::Orientation*>(_v)); break; case 1: _t->setScalePosition(*reinterpret_cast< ScalePosition*>(_v)); break; case 2: _t->setTrough(*reinterpret_cast< bool*>(_v)); break; case 3: _t->setGroove(*reinterpret_cast< bool*>(_v)); break; case 4: _t->setHandleSize(*reinterpret_cast< QSize*>(_v)); break; case 5: _t->setBorderWidth(*reinterpret_cast< int*>(_v)); break; case 6: _t->setSpacing(*reinterpret_cast< int*>(_v)); break; default: break; } } else if (_c == QMetaObject::ResetProperty) { } #endif // QT_NO_PROPERTIES Q_UNUSED(_o); Q_UNUSED(_id); Q_UNUSED(_c); Q_UNUSED(_a); } QT_INIT_METAOBJECT const QMetaObject QwtSlider::staticMetaObject = { { QMetaObject::SuperData::link(), qt_meta_stringdata_QwtSlider.data, qt_meta_data_QwtSlider, qt_static_metacall, nullptr, nullptr } }; const QMetaObject *QwtSlider::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *QwtSlider::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_QwtSlider.stringdata0)) return static_cast(this); return QwtAbstractSlider::qt_metacast(_clname); } int QwtSlider::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QwtAbstractSlider::qt_metacall(_c, _id, _a); if (_id < 0) return _id; #ifndef QT_NO_PROPERTIES if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { qt_static_metacall(this, _c, _id, _a); _id -= 7; } else if (_c == QMetaObject::QueryPropertyDesignable) { _id -= 7; } else if (_c == QMetaObject::QueryPropertyScriptable) { _id -= 7; } else if (_c == QMetaObject::QueryPropertyStored) { _id -= 7; } else if (_c == QMetaObject::QueryPropertyEditable) { _id -= 7; } else if (_c == QMetaObject::QueryPropertyUser) { _id -= 7; } #endif // QT_NO_PROPERTIES return _id; } QT_WARNING_POP QT_END_MOC_NAMESPACE