123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- /****************************************************************************
- ** Meta object code from reading C++ file 'occQt.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 "../occQt.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 'occQt.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_CLASSoccQtENDCLASS_t {};
- static constexpr auto qt_meta_stringdata_CLASSoccQtENDCLASS = QtMocHelpers::stringData(
- "occQt",
- "about",
- "",
- "makeBox",
- "makeCone",
- "makeSphere",
- "makeCylinder",
- "makeTorus",
- "makeFillet",
- "makeChamfer",
- "makeExtrude",
- "makeRevol",
- "makeLoft",
- "testCut",
- "testFuse",
- "testCommon",
- "testHelix"
- );
- #else // !QT_MOC_HAS_STRING_DATA
- struct qt_meta_stringdata_CLASSoccQtENDCLASS_t {
- uint offsetsAndSizes[34];
- char stringdata0[6];
- char stringdata1[6];
- char stringdata2[1];
- char stringdata3[8];
- char stringdata4[9];
- char stringdata5[11];
- char stringdata6[13];
- char stringdata7[10];
- char stringdata8[11];
- char stringdata9[12];
- char stringdata10[12];
- char stringdata11[10];
- char stringdata12[9];
- char stringdata13[8];
- char stringdata14[9];
- char stringdata15[11];
- char stringdata16[10];
- };
- #define QT_MOC_LITERAL(ofs, len) \
- uint(sizeof(qt_meta_stringdata_CLASSoccQtENDCLASS_t::offsetsAndSizes) + ofs), len
- Q_CONSTINIT static const qt_meta_stringdata_CLASSoccQtENDCLASS_t qt_meta_stringdata_CLASSoccQtENDCLASS = {
- {
- QT_MOC_LITERAL(0, 5), // "occQt"
- QT_MOC_LITERAL(6, 5), // "about"
- QT_MOC_LITERAL(12, 0), // ""
- QT_MOC_LITERAL(13, 7), // "makeBox"
- QT_MOC_LITERAL(21, 8), // "makeCone"
- QT_MOC_LITERAL(30, 10), // "makeSphere"
- QT_MOC_LITERAL(41, 12), // "makeCylinder"
- QT_MOC_LITERAL(54, 9), // "makeTorus"
- QT_MOC_LITERAL(64, 10), // "makeFillet"
- QT_MOC_LITERAL(75, 11), // "makeChamfer"
- QT_MOC_LITERAL(87, 11), // "makeExtrude"
- QT_MOC_LITERAL(99, 9), // "makeRevol"
- QT_MOC_LITERAL(109, 8), // "makeLoft"
- QT_MOC_LITERAL(118, 7), // "testCut"
- QT_MOC_LITERAL(126, 8), // "testFuse"
- QT_MOC_LITERAL(135, 10), // "testCommon"
- QT_MOC_LITERAL(146, 9) // "testHelix"
- },
- "occQt",
- "about",
- "",
- "makeBox",
- "makeCone",
- "makeSphere",
- "makeCylinder",
- "makeTorus",
- "makeFillet",
- "makeChamfer",
- "makeExtrude",
- "makeRevol",
- "makeLoft",
- "testCut",
- "testFuse",
- "testCommon",
- "testHelix"
- };
- #undef QT_MOC_LITERAL
- #endif // !QT_MOC_HAS_STRING_DATA
- } // unnamed namespace
- Q_CONSTINIT static const uint qt_meta_data_CLASSoccQtENDCLASS[] = {
- // content:
- 12, // revision
- 0, // classname
- 0, 0, // classinfo
- 15, 14, // methods
- 0, 0, // properties
- 0, 0, // enums/sets
- 0, 0, // constructors
- 0, // flags
- 0, // signalCount
- // slots: name, argc, parameters, tag, flags, initial metatype offsets
- 1, 0, 104, 2, 0x08, 1 /* Private */,
- 3, 0, 105, 2, 0x08, 2 /* Private */,
- 4, 0, 106, 2, 0x08, 3 /* Private */,
- 5, 0, 107, 2, 0x08, 4 /* Private */,
- 6, 0, 108, 2, 0x08, 5 /* Private */,
- 7, 0, 109, 2, 0x08, 6 /* Private */,
- 8, 0, 110, 2, 0x08, 7 /* Private */,
- 9, 0, 111, 2, 0x08, 8 /* Private */,
- 10, 0, 112, 2, 0x08, 9 /* Private */,
- 11, 0, 113, 2, 0x08, 10 /* Private */,
- 12, 0, 114, 2, 0x08, 11 /* Private */,
- 13, 0, 115, 2, 0x08, 12 /* Private */,
- 14, 0, 116, 2, 0x08, 13 /* Private */,
- 15, 0, 117, 2, 0x08, 14 /* Private */,
- 16, 0, 118, 2, 0x08, 15 /* Private */,
- // slots: parameters
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- QMetaType::Void,
- 0 // eod
- };
- Q_CONSTINIT const QMetaObject occQt::staticMetaObject = { {
- QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
- qt_meta_stringdata_CLASSoccQtENDCLASS.offsetsAndSizes,
- qt_meta_data_CLASSoccQtENDCLASS,
- qt_static_metacall,
- nullptr,
- qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSoccQtENDCLASS_t,
- // Q_OBJECT / Q_GADGET
- QtPrivate::TypeAndForceComplete<occQt, std::true_type>,
- // method 'about'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'makeBox'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'makeCone'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'makeSphere'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'makeCylinder'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'makeTorus'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'makeFillet'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'makeChamfer'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'makeExtrude'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'makeRevol'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'makeLoft'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'testCut'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'testFuse'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'testCommon'
- QtPrivate::TypeAndForceComplete<void, std::false_type>,
- // method 'testHelix'
- QtPrivate::TypeAndForceComplete<void, std::false_type>
- >,
- nullptr
- } };
- void occQt::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
- {
- if (_c == QMetaObject::InvokeMetaMethod) {
- auto *_t = static_cast<occQt *>(_o);
- (void)_t;
- switch (_id) {
- case 0: _t->about(); break;
- case 1: _t->makeBox(); break;
- case 2: _t->makeCone(); break;
- case 3: _t->makeSphere(); break;
- case 4: _t->makeCylinder(); break;
- case 5: _t->makeTorus(); break;
- case 6: _t->makeFillet(); break;
- case 7: _t->makeChamfer(); break;
- case 8: _t->makeExtrude(); break;
- case 9: _t->makeRevol(); break;
- case 10: _t->makeLoft(); break;
- case 11: _t->testCut(); break;
- case 12: _t->testFuse(); break;
- case 13: _t->testCommon(); break;
- case 14: _t->testHelix(); break;
- default: ;
- }
- }
- (void)_a;
- }
- const QMetaObject *occQt::metaObject() const
- {
- return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
- }
- void *occQt::qt_metacast(const char *_clname)
- {
- if (!_clname) return nullptr;
- if (!strcmp(_clname, qt_meta_stringdata_CLASSoccQtENDCLASS.stringdata0))
- return static_cast<void*>(this);
- return QMainWindow::qt_metacast(_clname);
- }
- int occQt::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
- {
- _id = QMainWindow::qt_metacall(_c, _id, _a);
- if (_id < 0)
- return _id;
- if (_c == QMetaObject::InvokeMetaMethod) {
- if (_id < 15)
- qt_static_metacall(this, _c, _id, _a);
- _id -= 15;
- } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
- if (_id < 15)
- *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
- _id -= 15;
- }
- return _id;
- }
- QT_WARNING_POP
|