123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- /****************************************************************************
- ** Meta object code from reading C++ file 'occView.h'
- **
- ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.6.0)
- **
- ** WARNING! All changes made in this file will be lost!
- *****************************************************************************/
- #include "../occView.h"
- #include <QtCore/qmetatype.h>
- #if __has_include(<QtCore/qtmochelpers.h>)
- #include <QtCore/qtmochelpers.h>
- #else
- QT_BEGIN_MOC_NAMESPACE
- #endif
- #include <memory>
- #if !defined(Q_MOC_OUTPUT_REVISION)
- #error "The header file 'occView.h' doesn't include <QObject>."
- #elif Q_MOC_OUTPUT_REVISION != 68
- #error "This file was generated using the moc from 6.6.0. It"
- #error "cannot be used with the include files from this version of Qt."
- #error "(The moc has changed too much.)"
- #endif
- #ifndef Q_CONSTINIT
- #define Q_CONSTINIT
- #endif
- QT_WARNING_PUSH
- QT_WARNING_DISABLE_DEPRECATED
- QT_WARNING_DISABLE_GCC("-Wuseless-cast")
- namespace {
- #ifdef QT_MOC_HAS_STRINGDATA
- struct qt_meta_stringdata_CLASSOccViewENDCLASS_t {};
- static constexpr auto qt_meta_stringdata_CLASSOccViewENDCLASS = QtMocHelpers::stringData(
- "OccView",
- "selectionChanged",
- "",
- "pan",
- "fitAll",
- "reset",
- "zoom",
- "rotate"
- );
- #else // !QT_MOC_HAS_STRING_DATA
- struct qt_meta_stringdata_CLASSOccViewENDCLASS_t {
- uint offsetsAndSizes[16];
- char stringdata0[8];
- char stringdata1[17];
- char stringdata2[1];
- char stringdata3[4];
- char stringdata4[7];
- char stringdata5[6];
- char stringdata6[5];
- char stringdata7[7];
- };
- #define QT_MOC_LITERAL(ofs, len) \
- uint(sizeof(qt_meta_stringdata_CLASSOccViewENDCLASS_t::offsetsAndSizes) + ofs), len
- Q_CONSTINIT static const qt_meta_stringdata_CLASSOccViewENDCLASS_t qt_meta_stringdata_CLASSOccViewENDCLASS = {
- {
- QT_MOC_LITERAL(0, 7), // "OccView"
- QT_MOC_LITERAL(8, 16), // "selectionChanged"
- QT_MOC_LITERAL(25, 0), // ""
- QT_MOC_LITERAL(26, 3), // "pan"
- QT_MOC_LITERAL(30, 6), // "fitAll"
- QT_MOC_LITERAL(37, 5), // "reset"
- QT_MOC_LITERAL(43, 4), // "zoom"
- QT_MOC_LITERAL(48, 6) // "rotate"
- },
- "OccView",
- "selectionChanged",
- "",
- "pan",
- "fitAll",
- "reset",
- "zoom",
- "rotate"
- };
- #undef QT_MOC_LITERAL
- #endif // !QT_MOC_HAS_STRING_DATA
- } // unnamed namespace
- Q_CONSTINIT static const uint qt_meta_data_CLASSOccViewENDCLASS[] = {
- // content:
- 12, // revision
- 0, // classname
- 0, 0, // classinfo
- 6, 14, // methods
- 0, 0, // properties
- 0, 0, // enums/sets
- 0, 0, // constructors
- 0, // flags
- 1, // signalCount
- // signals: name, argc, parameters, tag, flags, initial metatype offsets
- 1, 0, 50, 2, 0x06, 1 /* Public */,
- // slots: name, argc, parameters, tag, flags, initial metatype offsets
- 3, 0, 51, 2, 0x0a, 2 /* Public */,
- 4, 0, 52, 2, 0x0a, 3 /* Public */,
- 5, 0, 53, 2, 0x0a, 4 /* Public */,
- 6, 0, 54, 2, 0x0a, 5 /* Public */,
- 7, 0, 55, 2, 0x0a, 6 /* Public */,
- // signals: parameters
- QMetaType::Void,
- // slots: parameters
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- 0 // eod
- };
- Q_CONSTINIT const QMetaObject OccView::staticMetaObject = { {
- QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
- qt_meta_stringdata_CLASSOccViewENDCLASS.offsetsAndSizes,
- qt_meta_data_CLASSOccViewENDCLASS,
- qt_static_metacall,
- nullptr,
- qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSOccViewENDCLASS_t,
- // Q_OBJECT / Q_GADGET
- QtPrivate::TypeAndForceComplete<OccView, std::true_type>,
- // method 'selectionChanged'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'pan'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'fitAll'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'reset'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'zoom'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'rotate'
- QtPrivate::TypeAndForceComplete<void, std::false_type>
- >,
- nullptr
- } };
- void OccView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
- {
- if (_c == QMetaObject::InvokeMetaMethod) {
- auto *_t = static_cast<OccView *>(_o);
- (void)_t;
- switch (_id) {
- case 0: _t->selectionChanged(); break;
- case 1: _t->pan(); break;
- case 2: _t->fitAll(); break;
- case 3: _t->reset(); break;
- case 4: _t->zoom(); break;
- case 5: _t->rotate(); break;
- default: ;
- }
- } else if (_c == QMetaObject::IndexOfMethod) {
- int *result = reinterpret_cast<int *>(_a[0]);
- {
- using _t = void (OccView::*)();
- if (_t _q_method = &OccView::selectionChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
- *result = 0;
- return;
- }
- }
- }
- (void)_a;
- }
- const QMetaObject *OccView::metaObject() const
- {
- return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
- }
- void *OccView::qt_metacast(const char *_clname)
- {
- if (!_clname) return nullptr;
- if (!strcmp(_clname, qt_meta_stringdata_CLASSOccViewENDCLASS.stringdata0))
- return static_cast<void*>(this);
- return QWidget::qt_metacast(_clname);
- }
- int OccView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
- {
- _id = QWidget::qt_metacall(_c, _id, _a);
- if (_id < 0)
- return _id;
- if (_c == QMetaObject::InvokeMetaMethod) {
- if (_id < 6)
- qt_static_metacall(this, _c, _id, _a);
- _id -= 6;
- } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
- if (_id < 6)
- *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
- _id -= 6;
- }
- return _id;
- }
- // SIGNAL 0
- void OccView::selectionChanged()
- {
- QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
- }
- QT_WARNING_POP
|