Files
StarPilot/starpilot/ui/qt/offroad/moc_starpilot_settings.cc
T
firestar5683 3d8af2361e Rename
2026-03-27 18:05:44 -05:00

281 lines
9.2 KiB
C++

/****************************************************************************
** Meta object code from reading C++ file 'starpilot_settings.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.8)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "starpilot_settings.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'starpilot_settings.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.12.8. 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_StarPilotSettingsWindow_t {
QByteArrayData data[14];
char stringdata0[187];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_StarPilotSettingsWindow_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_StarPilotSettingsWindow_t qt_meta_stringdata_StarPilotSettingsWindow = {
{
QT_MOC_LITERAL(0, 0, 23), // "StarPilotSettingsWindow"
QT_MOC_LITERAL(1, 24, 13), // "closeSubPanel"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 16), // "closeSubSubPanel"
QT_MOC_LITERAL(4, 56, 19), // "closeSubSubSubPanel"
QT_MOC_LITERAL(5, 76, 9), // "openPanel"
QT_MOC_LITERAL(6, 86, 12), // "openSubPanel"
QT_MOC_LITERAL(7, 99, 15), // "openSubSubPanel"
QT_MOC_LITERAL(8, 115, 18), // "openSubSubSubPanel"
QT_MOC_LITERAL(9, 134, 18), // "tuningLevelChanged"
QT_MOC_LITERAL(10, 153, 5), // "level"
QT_MOC_LITERAL(11, 159, 12), // "updateMetric"
QT_MOC_LITERAL(12, 172, 6), // "metric"
QT_MOC_LITERAL(13, 179, 7) // "bootRun"
},
"StarPilotSettingsWindow\0closeSubPanel\0"
"\0closeSubSubPanel\0closeSubSubSubPanel\0"
"openPanel\0openSubPanel\0openSubSubPanel\0"
"openSubSubSubPanel\0tuningLevelChanged\0"
"level\0updateMetric\0metric\0bootRun"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_StarPilotSettingsWindow[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
10, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
10, // signalCount
// signals: name, argc, parameters, tag, flags
1, 0, 64, 2, 0x06 /* Public */,
3, 0, 65, 2, 0x06 /* Public */,
4, 0, 66, 2, 0x06 /* Public */,
5, 0, 67, 2, 0x06 /* Public */,
6, 0, 68, 2, 0x06 /* Public */,
7, 0, 69, 2, 0x06 /* Public */,
8, 0, 70, 2, 0x06 /* Public */,
9, 1, 71, 2, 0x06 /* Public */,
11, 2, 74, 2, 0x06 /* Public */,
11, 1, 79, 2, 0x26 /* Public | MethodCloned */,
// signals: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 10,
QMetaType::Void, QMetaType::Bool, QMetaType::Bool, 12, 13,
QMetaType::Void, QMetaType::Bool, 12,
0 // eod
};
void StarPilotSettingsWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<StarPilotSettingsWindow *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->closeSubPanel(); break;
case 1: _t->closeSubSubPanel(); break;
case 2: _t->closeSubSubSubPanel(); break;
case 3: _t->openPanel(); break;
case 4: _t->openSubPanel(); break;
case 5: _t->openSubSubPanel(); break;
case 6: _t->openSubSubSubPanel(); break;
case 7: _t->tuningLevelChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
case 8: _t->updateMetric((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
case 9: _t->updateMetric((*reinterpret_cast< bool(*)>(_a[1]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (StarPilotSettingsWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StarPilotSettingsWindow::closeSubPanel)) {
*result = 0;
return;
}
}
{
using _t = void (StarPilotSettingsWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StarPilotSettingsWindow::closeSubSubPanel)) {
*result = 1;
return;
}
}
{
using _t = void (StarPilotSettingsWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StarPilotSettingsWindow::closeSubSubSubPanel)) {
*result = 2;
return;
}
}
{
using _t = void (StarPilotSettingsWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StarPilotSettingsWindow::openPanel)) {
*result = 3;
return;
}
}
{
using _t = void (StarPilotSettingsWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StarPilotSettingsWindow::openSubPanel)) {
*result = 4;
return;
}
}
{
using _t = void (StarPilotSettingsWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StarPilotSettingsWindow::openSubSubPanel)) {
*result = 5;
return;
}
}
{
using _t = void (StarPilotSettingsWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StarPilotSettingsWindow::openSubSubSubPanel)) {
*result = 6;
return;
}
}
{
using _t = void (StarPilotSettingsWindow::*)(int );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StarPilotSettingsWindow::tuningLevelChanged)) {
*result = 7;
return;
}
}
{
using _t = void (StarPilotSettingsWindow::*)(bool , bool );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StarPilotSettingsWindow::updateMetric)) {
*result = 8;
return;
}
}
}
}
QT_INIT_METAOBJECT const QMetaObject StarPilotSettingsWindow::staticMetaObject = { {
&QFrame::staticMetaObject,
qt_meta_stringdata_StarPilotSettingsWindow.data,
qt_meta_data_StarPilotSettingsWindow,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *StarPilotSettingsWindow::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *StarPilotSettingsWindow::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_StarPilotSettingsWindow.stringdata0))
return static_cast<void*>(this);
return QFrame::qt_metacast(_clname);
}
int StarPilotSettingsWindow::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 < 10)
qt_static_metacall(this, _c, _id, _a);
_id -= 10;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 10)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 10;
}
return _id;
}
// SIGNAL 0
void StarPilotSettingsWindow::closeSubPanel()
{
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
// SIGNAL 1
void StarPilotSettingsWindow::closeSubSubPanel()
{
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
// SIGNAL 2
void StarPilotSettingsWindow::closeSubSubSubPanel()
{
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
// SIGNAL 3
void StarPilotSettingsWindow::openPanel()
{
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
// SIGNAL 4
void StarPilotSettingsWindow::openSubPanel()
{
QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
// SIGNAL 5
void StarPilotSettingsWindow::openSubSubPanel()
{
QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
// SIGNAL 6
void StarPilotSettingsWindow::openSubSubSubPanel()
{
QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
// SIGNAL 7
void StarPilotSettingsWindow::tuningLevelChanged(int _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
// SIGNAL 8
void StarPilotSettingsWindow::updateMetric(bool _t1, bool _t2)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
QMetaObject::activate(this, &staticMetaObject, 8, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE