/**************************************************************************** ** Meta object code from reading C++ file 'QcTextEdit.h' ** ** Created by: The Qt Meta Object Compiler version 69 (Qt 6.9.0) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include "../../../../../../SuperCollider/QtCollider/widgets/QcTextEdit.h" #include #include #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'QcTextEdit.h' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 69 #error "This file was generated using the moc from 6.9.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 { struct qt_meta_tag_ZN10QcTextEditE_t {}; } // unnamed namespace template <> constexpr inline auto QcTextEdit::qt_create_metaobjectdata() { namespace QMC = QtMocConstants; QtMocHelpers::StringRefStorage qt_stringData { "QcTextEdit", "interpret", "", "code", "select", "start", "size", "document", "selectionStart", "selectionSize", "selectedString", "currentLine", "textFont", "textColor", "rangeColor", "QVariantList", "rangeFont", "rangeText", "enterInterpretsSelection" }; QtMocHelpers::UintData qt_methods { // Signal 'interpret' QtMocHelpers::SignalData(1, 2, QMC::AccessPublic, QMetaType::Void, {{ { QMetaType::QString, 3 }, }}), // Method 'select' QtMocHelpers::MethodData(4, 2, QMC::AccessPublic, QMetaType::Void, {{ { QMetaType::Int, 5 }, { QMetaType::Int, 6 }, }}), }; QtMocHelpers::UintData qt_properties { // property 'document' QtMocHelpers::PropertyData(7, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet), // property 'selectionStart' QtMocHelpers::PropertyData(8, QMetaType::Int, QMC::DefaultPropertyFlags), // property 'selectionSize' QtMocHelpers::PropertyData(9, QMetaType::Int, QMC::DefaultPropertyFlags), // property 'selectedString' QtMocHelpers::PropertyData(10, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable), // property 'currentLine' QtMocHelpers::PropertyData(11, QMetaType::QString, QMC::DefaultPropertyFlags), // property 'textFont' QtMocHelpers::PropertyData(12, QMetaType::QFont, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet), // property 'textColor' QtMocHelpers::PropertyData(13, QMetaType::QColor, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet), // property 'rangeColor' QtMocHelpers::PropertyData(14, 0x80000000 | 15, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet), // property 'rangeFont' QtMocHelpers::PropertyData(16, 0x80000000 | 15, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet), // property 'rangeText' QtMocHelpers::PropertyData(17, 0x80000000 | 15, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet), // property 'enterInterpretsSelection' QtMocHelpers::PropertyData(18, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable), }; QtMocHelpers::UintData qt_enums { }; return QtMocHelpers::metaObjectData(QMC::MetaObjectFlag{}, qt_stringData, qt_methods, qt_properties, qt_enums); } Q_CONSTINIT const QMetaObject QcTextEdit::staticMetaObject = { { QMetaObject::SuperData::link(), qt_staticMetaObjectStaticContent.stringdata, qt_staticMetaObjectStaticContent.data, qt_static_metacall, nullptr, qt_staticMetaObjectRelocatingContent.metaTypes, nullptr } }; void QcTextEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { auto *_t = static_cast(_o); if (_c == QMetaObject::InvokeMetaMethod) { switch (_id) { case 0: _t->interpret((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 1: _t->select((*reinterpret_cast< std::add_pointer_t>(_a[1])),(*reinterpret_cast< std::add_pointer_t>(_a[2]))); break; default: ; } } if (_c == QMetaObject::IndexOfMethod) { if (QtMocHelpers::indexOfMethod(_a, &QcTextEdit::interpret, 0)) return; } if (_c == QMetaObject::ReadProperty) { void *_v = _a[0]; switch (_id) { case 0: *reinterpret_cast(_v) = _t->documentFilename(); break; case 1: *reinterpret_cast(_v) = _t->selectionStart(); break; case 2: *reinterpret_cast(_v) = _t->selectionSize(); break; case 3: *reinterpret_cast(_v) = _t->selectedString(); break; case 4: *reinterpret_cast(_v) = _t->currentLine(); break; case 5: *reinterpret_cast(_v) = _t->dummyFont(); break; case 6: *reinterpret_cast(_v) = _t->dummyColor(); break; case 7: *reinterpret_cast(_v) = _t->dummyVariantList(); break; case 8: *reinterpret_cast(_v) = _t->dummyVariantList(); break; case 9: *reinterpret_cast(_v) = _t->dummyVariantList(); break; case 10: *reinterpret_cast(_v) = _t->interpretSelection(); break; default: break; } } if (_c == QMetaObject::WriteProperty) { void *_v = _a[0]; switch (_id) { case 0: _t->setDocument(*reinterpret_cast(_v)); break; case 3: _t->replaceSelectedText(*reinterpret_cast(_v)); break; case 5: _t->setTextFont(*reinterpret_cast(_v)); break; case 6: _t->setTextColor(*reinterpret_cast(_v)); break; case 7: _t->setRangeColor(*reinterpret_cast(_v)); break; case 8: _t->setRangeFont(*reinterpret_cast(_v)); break; case 9: _t->setRangeText(*reinterpret_cast(_v)); break; case 10: _t->setInterpretSelection(*reinterpret_cast(_v)); break; default: break; } } } const QMetaObject *QcTextEdit::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *QcTextEdit::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_staticMetaObjectStaticContent.strings)) return static_cast(this); if (!strcmp(_clname, "QcHelper")) return static_cast< QcHelper*>(this); return QTextEdit::qt_metacast(_clname); } int QcTextEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QTextEdit::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { if (_id < 2) qt_static_metacall(this, _c, _id, _a); _id -= 2; } if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 2) *reinterpret_cast(_a[0]) = QMetaType(); _id -= 2; } if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty || _c == QMetaObject::RegisterPropertyMetaType) { qt_static_metacall(this, _c, _id, _a); _id -= 11; } return _id; } // SIGNAL 0 void QcTextEdit::interpret(const QString & _t1) { QMetaObject::activate(this, &staticMetaObject, 0, nullptr, _t1); } QT_WARNING_POP