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

310 lines
10 KiB
C++

/****************************************************************************
** Meta object code from reading C++ file 'home.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 "home.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'home.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_OffroadHome_t {
QByteArrayData data[5];
char stringdata0[38];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_OffroadHome_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_OffroadHome_t qt_meta_stringdata_OffroadHome = {
{
QT_MOC_LITERAL(0, 0, 11), // "OffroadHome"
QT_MOC_LITERAL(1, 12, 12), // "openSettings"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 5), // "index"
QT_MOC_LITERAL(4, 32, 5) // "param"
},
"OffroadHome\0openSettings\0\0index\0param"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_OffroadHome[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
3, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
3, // signalCount
// signals: name, argc, parameters, tag, flags
1, 2, 29, 2, 0x06 /* Public */,
1, 1, 34, 2, 0x26 /* Public | MethodCloned */,
1, 0, 37, 2, 0x26 /* Public | MethodCloned */,
// signals: parameters
QMetaType::Void, QMetaType::Int, QMetaType::QString, 3, 4,
QMetaType::Void, QMetaType::Int, 3,
QMetaType::Void,
0 // eod
};
void OffroadHome::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<OffroadHome *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->openSettings((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
case 1: _t->openSettings((*reinterpret_cast< int(*)>(_a[1]))); break;
case 2: _t->openSettings(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (OffroadHome::*)(int , const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OffroadHome::openSettings)) {
*result = 0;
return;
}
}
}
}
QT_INIT_METAOBJECT const QMetaObject OffroadHome::staticMetaObject = { {
&QFrame::staticMetaObject,
qt_meta_stringdata_OffroadHome.data,
qt_meta_data_OffroadHome,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *OffroadHome::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *OffroadHome::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_OffroadHome.stringdata0))
return static_cast<void*>(this);
return QFrame::qt_metacast(_clname);
}
int OffroadHome::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 < 3)
qt_static_metacall(this, _c, _id, _a);
_id -= 3;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 3)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 3;
}
return _id;
}
// SIGNAL 0
void OffroadHome::openSettings(int _t1, const QString & _t2)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_HomeWindow_t {
QByteArrayData data[17];
char stringdata0[159];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_HomeWindow_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_HomeWindow_t qt_meta_stringdata_HomeWindow = {
{
QT_MOC_LITERAL(0, 0, 10), // "HomeWindow"
QT_MOC_LITERAL(1, 11, 12), // "openSettings"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 5), // "index"
QT_MOC_LITERAL(4, 31, 5), // "param"
QT_MOC_LITERAL(5, 37, 13), // "closeSettings"
QT_MOC_LITERAL(6, 51, 17), // "offroadTransition"
QT_MOC_LITERAL(7, 69, 7), // "offroad"
QT_MOC_LITERAL(8, 77, 14), // "showDriverView"
QT_MOC_LITERAL(9, 92, 4), // "show"
QT_MOC_LITERAL(10, 97, 7), // "started"
QT_MOC_LITERAL(11, 105, 11), // "showSidebar"
QT_MOC_LITERAL(12, 117, 11), // "updateState"
QT_MOC_LITERAL(13, 129, 7), // "UIState"
QT_MOC_LITERAL(14, 137, 1), // "s"
QT_MOC_LITERAL(15, 139, 16), // "StarPilotUIState"
QT_MOC_LITERAL(16, 156, 2) // "fs"
},
"HomeWindow\0openSettings\0\0index\0param\0"
"closeSettings\0offroadTransition\0offroad\0"
"showDriverView\0show\0started\0showSidebar\0"
"updateState\0UIState\0s\0StarPilotUIState\0"
"fs"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_HomeWindow[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
9, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
4, // signalCount
// signals: name, argc, parameters, tag, flags
1, 2, 59, 2, 0x06 /* Public */,
1, 1, 64, 2, 0x26 /* Public | MethodCloned */,
1, 0, 67, 2, 0x26 /* Public | MethodCloned */,
5, 0, 68, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
6, 1, 69, 2, 0x0a /* Public */,
8, 2, 72, 2, 0x0a /* Public */,
8, 1, 77, 2, 0x2a /* Public | MethodCloned */,
11, 1, 80, 2, 0x0a /* Public */,
12, 2, 83, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void, QMetaType::Int, QMetaType::QString, 3, 4,
QMetaType::Void, QMetaType::Int, 3,
QMetaType::Void,
QMetaType::Void,
// slots: parameters
QMetaType::Void, QMetaType::Bool, 7,
QMetaType::Void, QMetaType::Bool, QMetaType::Bool, 9, 10,
QMetaType::Void, QMetaType::Bool, 9,
QMetaType::Void, QMetaType::Bool, 9,
QMetaType::Void, 0x80000000 | 13, 0x80000000 | 15, 14, 16,
0 // eod
};
void HomeWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<HomeWindow *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->openSettings((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
case 1: _t->openSettings((*reinterpret_cast< int(*)>(_a[1]))); break;
case 2: _t->openSettings(); break;
case 3: _t->closeSettings(); break;
case 4: _t->offroadTransition((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 5: _t->showDriverView((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
case 6: _t->showDriverView((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 7: _t->showSidebar((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 8: _t->updateState((*reinterpret_cast< const UIState(*)>(_a[1])),(*reinterpret_cast< const StarPilotUIState(*)>(_a[2]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (HomeWindow::*)(int , const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HomeWindow::openSettings)) {
*result = 0;
return;
}
}
{
using _t = void (HomeWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HomeWindow::closeSettings)) {
*result = 3;
return;
}
}
}
}
QT_INIT_METAOBJECT const QMetaObject HomeWindow::staticMetaObject = { {
&QWidget::staticMetaObject,
qt_meta_stringdata_HomeWindow.data,
qt_meta_data_HomeWindow,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *HomeWindow::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *HomeWindow::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_HomeWindow.stringdata0))
return static_cast<void*>(this);
return QWidget::qt_metacast(_clname);
}
int HomeWindow::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 < 9)
qt_static_metacall(this, _c, _id, _a);
_id -= 9;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 9)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 9;
}
return _id;
}
// SIGNAL 0
void HomeWindow::openSettings(int _t1, const QString & _t2)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 3
void HomeWindow::closeSettings()
{
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE