/
runis-70
/
Formula-Plus
Обзор
Документация
Войти
/
runis-70
/
Formula-Plus
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/debug/moc_calculateForm.cpp
221 строка
7 KB
Денис
feat/fix/refactor: (1.0.11) - из старых версий перенесено око AbouProgram
20 окт 2024, 05:28
20 окт 2024, 05:28
74a9a59
Код
Авторство
О чём код?
/**************************************************************************** ** Meta object code from reading C++ file 'calculateForm.h' ** ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.7.0) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include "../forms/calculateForm.h" #include <QtCore/qmetatype.h> #include <QtCore/qtmochelpers.h> #include <memory> #include <QtCore/qxptype_traits.h> #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'calculateForm.h' doesn't include <QObject>." #elif Q_MOC_OUTPUT_REVISION != 68 #error "This file was generated using the moc from 6.7.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_CLASSCalculateFormENDCLASS_t {}; constexpr auto qt_meta_stringdata_CLASSCalculateFormENDCLASS = QtMocHelpers::stringData( "CalculateForm", "textOutputChanged", "", "textInputChanged", "setTextOutput", "value", "setTextInput", "operations", "contentButton", "textOutput", "textInput" ); #else // !QT_MOC_HAS_STRINGDATA #error "qtmochelpers.h not found or too old." #endif // !QT_MOC_HAS_STRINGDATA } // unnamed namespace Q_CONSTINIT static const uint qt_meta_data_CLASSCalculateFormENDCLASS[] = { // content: 12, // revision 0, // classname 0, 0, // classinfo 5, 14, // methods 2, 55, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 2, // signalCount // signals: name, argc, parameters, tag, flags, initial metatype offsets 1, 0, 44, 2, 0x06, 3 /* Public */, 3, 0, 45, 2, 0x06, 4 /* Public */, // methods: name, argc, parameters, tag, flags, initial metatype offsets 4, 1, 46, 2, 0x02, 5 /* Public */, 6, 1, 49, 2, 0x02, 7 /* Public */, 7, 1, 52, 2, 0x02, 9 /* Public */, // signals: parameters QMetaType::Void, QMetaType::Void, // methods: parameters QMetaType::Void, QMetaType::QString, 5, QMetaType::Void, QMetaType::QString, 5, QMetaType::Void, QMetaType::QString, 8, // properties: name, type, flags 9, QMetaType::QString, 0x00015103, uint(0), 0, 10, QMetaType::QString, 0x00015103, uint(1), 0, 0 // eod }; Q_CONSTINIT const QMetaObject CalculateForm::staticMetaObject = { { QMetaObject::SuperData::link<QObject::staticMetaObject>(), qt_meta_stringdata_CLASSCalculateFormENDCLASS.offsetsAndSizes, qt_meta_data_CLASSCalculateFormENDCLASS, qt_static_metacall, nullptr, qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSCalculateFormENDCLASS_t, // property 'textOutput' QtPrivate::TypeAndForceComplete<QString, std::true_type>, // property 'textInput' QtPrivate::TypeAndForceComplete<QString, std::true_type>, // Q_OBJECT / Q_GADGET QtPrivate::TypeAndForceComplete<CalculateForm, std::true_type>, // method 'textOutputChanged' QtPrivate::TypeAndForceComplete<void, std::false_type>, // method 'textInputChanged' QtPrivate::TypeAndForceComplete<void, std::false_type>, // method 'setTextOutput' QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QString, std::false_type>, // method 'setTextInput' QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QString, std::false_type>, // method 'operations' QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QString, std::false_type> >, nullptr } }; void CalculateForm::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { auto *_t = static_cast<CalculateForm *>(_o); (void)_t; switch (_id) { case 0: _t->textOutputChanged(); break; case 1: _t->textInputChanged(); break; case 2: _t->setTextOutput((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break; case 3: _t->setTextInput((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break; case 4: _t->operations((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break; default: ; } } else if (_c == QMetaObject::IndexOfMethod) { int *result = reinterpret_cast<int *>(_a[0]); { using _t = void (CalculateForm::*)(); if (_t _q_method = &CalculateForm::textOutputChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) { *result = 0; return; } } { using _t = void (CalculateForm::*)(); if (_t _q_method = &CalculateForm::textInputChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) { *result = 1; return; } } } else if (_c == QMetaObject::ReadProperty) { auto *_t = static_cast<CalculateForm *>(_o); (void)_t; void *_v = _a[0]; switch (_id) { case 0: *reinterpret_cast< QString*>(_v) = _t->textOutput(); break; case 1: *reinterpret_cast< QString*>(_v) = _t->textInput(); break; default: break; } } else if (_c == QMetaObject::WriteProperty) { auto *_t = static_cast<CalculateForm *>(_o); (void)_t; void *_v = _a[0]; switch (_id) { case 0: _t->setTextOutput(*reinterpret_cast< QString*>(_v)); break; case 1: _t->setTextInput(*reinterpret_cast< QString*>(_v)); break; default: break; } } else if (_c == QMetaObject::ResetProperty) { } else if (_c == QMetaObject::BindableProperty) { } } const QMetaObject *CalculateForm::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *CalculateForm::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_CLASSCalculateFormENDCLASS.stringdata0)) return static_cast<void*>(this); return QObject::qt_metacast(_clname); } int CalculateForm::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QObject::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) *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); _id -= 5; }else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty || _c == QMetaObject::RegisterPropertyMetaType) { qt_static_metacall(this, _c, _id, _a); _id -= 2; } return _id; } // SIGNAL 0 void CalculateForm::textOutputChanged() { QMetaObject::activate(this, &staticMetaObject, 0, nullptr); } // SIGNAL 1 void CalculateForm::textInputChanged() { QMetaObject::activate(this, &staticMetaObject, 1, nullptr); } QT_WARNING_POP