/**************************************************************************** ** Meta object code from reading C++ file 'qwt_plot.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_plot.h" #include #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'qwt_plot.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_QwtPlot_t { QByteArrayData data[16]; char stringdata0[176]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_QwtPlot_t, stringdata0) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_QwtPlot_t qt_meta_stringdata_QwtPlot = { { QT_MOC_LITERAL(0, 0, 7), // "QwtPlot" QT_MOC_LITERAL(1, 8, 12), // "itemAttached" QT_MOC_LITERAL(2, 21, 0), // "" QT_MOC_LITERAL(3, 22, 12), // "QwtPlotItem*" QT_MOC_LITERAL(4, 35, 8), // "plotItem" QT_MOC_LITERAL(5, 44, 2), // "on" QT_MOC_LITERAL(6, 47, 17), // "legendDataChanged" QT_MOC_LITERAL(7, 65, 8), // "itemInfo" QT_MOC_LITERAL(8, 74, 20), // "QList" QT_MOC_LITERAL(9, 95, 4), // "data" QT_MOC_LITERAL(10, 100, 6), // "replot" QT_MOC_LITERAL(11, 107, 11), // "autoRefresh" QT_MOC_LITERAL(12, 119, 17), // "updateLegendItems" QT_MOC_LITERAL(13, 137, 10), // "legendData" QT_MOC_LITERAL(14, 148, 16), // "canvasBackground" QT_MOC_LITERAL(15, 165, 10) // "autoReplot" }, "QwtPlot\0itemAttached\0\0QwtPlotItem*\0" "plotItem\0on\0legendDataChanged\0itemInfo\0" "QList\0data\0replot\0" "autoRefresh\0updateLegendItems\0legendData\0" "canvasBackground\0autoReplot" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_QwtPlot[] = { // content: 8, // revision 0, // classname 0, 0, // classinfo 5, 14, // methods 2, 56, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 2, // signalCount // signals: name, argc, parameters, tag, flags 1, 2, 39, 2, 0x06 /* Public */, 6, 2, 44, 2, 0x06 /* Public */, // slots: name, argc, parameters, tag, flags 10, 0, 49, 2, 0x0a /* Public */, 11, 0, 50, 2, 0x0a /* Public */, 12, 2, 51, 2, 0x08 /* Private */, // signals: parameters QMetaType::Void, 0x80000000 | 3, QMetaType::Bool, 4, 5, QMetaType::Void, QMetaType::QVariant, 0x80000000 | 8, 7, 9, // slots: parameters QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::QVariant, 0x80000000 | 8, 7, 13, // properties: name, type, flags 14, QMetaType::QBrush, 0x00095103, 15, QMetaType::Bool, 0x00095103, 0 // eod }; void QwtPlot::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { auto *_t = static_cast(_o); Q_UNUSED(_t) switch (_id) { case 0: _t->itemAttached((*reinterpret_cast< QwtPlotItem*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; case 1: _t->legendDataChanged((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QList(*)>(_a[2]))); break; case 2: _t->replot(); break; case 3: _t->autoRefresh(); break; case 4: _t->updateLegendItems((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QList(*)>(_a[2]))); break; default: ; } } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { switch (_id) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QwtPlotItem* >(); break; } break; } } else if (_c == QMetaObject::IndexOfMethod) { int *result = reinterpret_cast(_a[0]); { using _t = void (QwtPlot::*)(QwtPlotItem * , bool ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlot::itemAttached)) { *result = 0; return; } } { using _t = void (QwtPlot::*)(const QVariant & , const QList & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlot::legendDataChanged)) { *result = 1; return; } } } #ifndef QT_NO_PROPERTIES else if (_c == QMetaObject::ReadProperty) { auto *_t = static_cast(_o); Q_UNUSED(_t) void *_v = _a[0]; switch (_id) { case 0: *reinterpret_cast< QBrush*>(_v) = _t->canvasBackground(); break; case 1: *reinterpret_cast< bool*>(_v) = _t->autoReplot(); 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->setCanvasBackground(*reinterpret_cast< QBrush*>(_v)); break; case 1: _t->setAutoReplot(*reinterpret_cast< bool*>(_v)); break; default: break; } } else if (_c == QMetaObject::ResetProperty) { } #endif // QT_NO_PROPERTIES } QT_INIT_METAOBJECT const QMetaObject QwtPlot::staticMetaObject = { { QMetaObject::SuperData::link(), qt_meta_stringdata_QwtPlot.data, qt_meta_data_QwtPlot, qt_static_metacall, nullptr, nullptr } }; const QMetaObject *QwtPlot::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *QwtPlot::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_QwtPlot.stringdata0)) return static_cast(this); if (!strcmp(_clname, "QwtPlotDict")) return static_cast< QwtPlotDict*>(this); return QFrame::qt_metacast(_clname); } int QwtPlot::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QFrame::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { if (_id < 5) qt_static_metacall(this, _c, _id, _a); _id -= 5; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 5) qt_static_metacall(this, _c, _id, _a); _id -= 5; } #ifndef QT_NO_PROPERTIES else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { qt_static_metacall(this, _c, _id, _a); _id -= 2; } else if (_c == QMetaObject::QueryPropertyDesignable) { _id -= 2; } else if (_c == QMetaObject::QueryPropertyScriptable) { _id -= 2; } else if (_c == QMetaObject::QueryPropertyStored) { _id -= 2; } else if (_c == QMetaObject::QueryPropertyEditable) { _id -= 2; } else if (_c == QMetaObject::QueryPropertyUser) { _id -= 2; } #endif // QT_NO_PROPERTIES return _id; } // SIGNAL 0 void QwtPlot::itemAttached(QwtPlotItem * _t1, bool _t2) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; QMetaObject::activate(this, &staticMetaObject, 0, _a); } // SIGNAL 1 void QwtPlot::legendDataChanged(const QVariant & _t1, const QList & _t2) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; QMetaObject::activate(this, &staticMetaObject, 1, _a); } QT_WARNING_POP QT_END_MOC_NAMESPACE