123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270 |
- /****************************************************************************
- ** Meta object code from reading C++ file 'Ego.h'
- **
- ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.2.4)
- **
- ** WARNING! All changes made in this file will be lost!
- *****************************************************************************/
- #include <memory>
- #include "../Ego.h"
- #include <QtGui/qtextcursor.h>
- #include <QScreen>
- #include <QtCore/qbytearray.h>
- #include <QtCore/qmetatype.h>
- #if !defined(Q_MOC_OUTPUT_REVISION)
- #error "The header file 'Ego.h' doesn't include <QObject>."
- #elif Q_MOC_OUTPUT_REVISION != 68
- #error "This file was generated using the moc from 6.2.4. 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_CEgoNotify_t {
- const uint offsetsAndSize[32];
- char stringdata0[155];
- };
- #define QT_MOC_LITERAL(ofs, len) \
- uint(offsetof(qt_meta_stringdata_CEgoNotify_t, stringdata0) + ofs), len
- static const qt_meta_stringdata_CEgoNotify_t qt_meta_stringdata_CEgoNotify = {
- {
- QT_MOC_LITERAL(0, 10), // "CEgoNotify"
- QT_MOC_LITERAL(11, 14), // "egoLoginResult"
- QT_MOC_LITERAL(26, 0), // ""
- QT_MOC_LITERAL(27, 3), // "rst"
- QT_MOC_LITERAL(31, 12), // "egoCarAppend"
- QT_MOC_LITERAL(44, 10), // "UserDriver"
- QT_MOC_LITERAL(55, 4), // "info"
- QT_MOC_LITERAL(60, 12), // "egoNotifyDel"
- QT_MOC_LITERAL(73, 7), // "int32_t"
- QT_MOC_LITERAL(81, 4), // "peer"
- QT_MOC_LITERAL(86, 10), // "egoKickoff"
- QT_MOC_LITERAL(97, 14), // "egoNotifyLeave"
- QT_MOC_LITERAL(112, 13), // "egoNotifyFail"
- QT_MOC_LITERAL(126, 3), // "uid"
- QT_MOC_LITERAL(130, 14), // "egoNotifyState"
- QT_MOC_LITERAL(145, 9) // "UserState"
- },
- "CEgoNotify\0egoLoginResult\0\0rst\0"
- "egoCarAppend\0UserDriver\0info\0egoNotifyDel\0"
- "int32_t\0peer\0egoKickoff\0egoNotifyLeave\0"
- "egoNotifyFail\0uid\0egoNotifyState\0"
- "UserState"
- };
- #undef QT_MOC_LITERAL
- static const uint qt_meta_data_CEgoNotify[] = {
- // content:
- 10, // revision
- 0, // classname
- 0, 0, // classinfo
- 7, 14, // methods
- 0, 0, // properties
- 0, 0, // enums/sets
- 0, 0, // constructors
- 0, // flags
- 7, // signalCount
- // signals: name, argc, parameters, tag, flags, initial metatype offsets
- 1, 1, 56, 2, 0x06, 1 /* Public */,
- 4, 1, 59, 2, 0x06, 3 /* Public */,
- 7, 1, 62, 2, 0x06, 5 /* Public */,
- 10, 0, 65, 2, 0x06, 7 /* Public */,
- 11, 1, 66, 2, 0x06, 8 /* Public */,
- 12, 1, 69, 2, 0x06, 10 /* Public */,
- 14, 2, 72, 2, 0x06, 12 /* Public */,
- // signals: parameters
- QMetaType::Void, QMetaType::Bool, 3,
- QMetaType::Void, 0x80000000 | 5, 6,
- QMetaType::Void, 0x80000000 | 8, 9,
- QMetaType::Void,
- QMetaType::Void, 0x80000000 | 8, 9,
- QMetaType::Void, 0x80000000 | 8, 13,
- QMetaType::Void, 0x80000000 | 8, 0x80000000 | 15, 13, 2,
- 0 // eod
- };
- void CEgoNotify::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
- {
- if (_c == QMetaObject::InvokeMetaMethod) {
- auto *_t = static_cast<CEgoNotify *>(_o);
- (void)_t;
- switch (_id) {
- case 0: _t->egoLoginResult((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
- case 1: _t->egoCarAppend((*reinterpret_cast< std::add_pointer_t<UserDriver>>(_a[1]))); break;
- case 2: _t->egoNotifyDel((*reinterpret_cast< std::add_pointer_t<int32_t>>(_a[1]))); break;
- case 3: _t->egoKickoff(); break;
- case 4: _t->egoNotifyLeave((*reinterpret_cast< std::add_pointer_t<int32_t>>(_a[1]))); break;
- case 5: _t->egoNotifyFail((*reinterpret_cast< std::add_pointer_t<int32_t>>(_a[1]))); break;
- case 6: _t->egoNotifyState((*reinterpret_cast< std::add_pointer_t<int32_t>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<UserState>>(_a[2]))); break;
- default: ;
- }
- } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
- switch (_id) {
- default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
- case 1:
- switch (*reinterpret_cast<int*>(_a[1])) {
- default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
- case 0:
- *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UserDriver >(); break;
- }
- break;
- }
- } else if (_c == QMetaObject::IndexOfMethod) {
- int *result = reinterpret_cast<int *>(_a[0]);
- {
- using _t = void (CEgoNotify::*)(bool );
- if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CEgoNotify::egoLoginResult)) {
- *result = 0;
- return;
- }
- }
- {
- using _t = void (CEgoNotify::*)(const UserDriver & );
- if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CEgoNotify::egoCarAppend)) {
- *result = 1;
- return;
- }
- }
- {
- using _t = void (CEgoNotify::*)(int32_t );
- if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CEgoNotify::egoNotifyDel)) {
- *result = 2;
- return;
- }
- }
- {
- using _t = void (CEgoNotify::*)();
- if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CEgoNotify::egoKickoff)) {
- *result = 3;
- return;
- }
- }
- {
- using _t = void (CEgoNotify::*)(int32_t );
- if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CEgoNotify::egoNotifyLeave)) {
- *result = 4;
- return;
- }
- }
- {
- using _t = void (CEgoNotify::*)(int32_t );
- if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CEgoNotify::egoNotifyFail)) {
- *result = 5;
- return;
- }
- }
- {
- using _t = void (CEgoNotify::*)(int32_t , UserState );
- if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CEgoNotify::egoNotifyState)) {
- *result = 6;
- return;
- }
- }
- }
- }
- const QMetaObject CEgoNotify::staticMetaObject = { {
- QMetaObject::SuperData::link<QObject::staticMetaObject>(),
- qt_meta_stringdata_CEgoNotify.offsetsAndSize,
- qt_meta_data_CEgoNotify,
- qt_static_metacall,
- nullptr,
- qt_incomplete_metaTypeArray<qt_meta_stringdata_CEgoNotify_t
- , QtPrivate::TypeAndForceComplete<CEgoNotify, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const UserDriver &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int32_t, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int32_t, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int32_t, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int32_t, std::false_type>, QtPrivate::TypeAndForceComplete<UserState, std::false_type>
- >,
- nullptr
- } };
- const QMetaObject *CEgoNotify::metaObject() const
- {
- return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
- }
- void *CEgoNotify::qt_metacast(const char *_clname)
- {
- if (!_clname) return nullptr;
- if (!strcmp(_clname, qt_meta_stringdata_CEgoNotify.stringdata0))
- return static_cast<void*>(this);
- if (!strcmp(_clname, "IMonitroNotify"))
- return static_cast< IMonitroNotify*>(this);
- return QObject::qt_metacast(_clname);
- }
- int CEgoNotify::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 < 7)
- qt_static_metacall(this, _c, _id, _a);
- _id -= 7;
- } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
- if (_id < 7)
- qt_static_metacall(this, _c, _id, _a);
- _id -= 7;
- }
- return _id;
- }
- // SIGNAL 0
- void CEgoNotify::egoLoginResult(bool _t1)
- {
- void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
- QMetaObject::activate(this, &staticMetaObject, 0, _a);
- }
- // SIGNAL 1
- void CEgoNotify::egoCarAppend(const UserDriver & _t1)
- {
- void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
- QMetaObject::activate(this, &staticMetaObject, 1, _a);
- }
- // SIGNAL 2
- void CEgoNotify::egoNotifyDel(int32_t _t1)
- {
- void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
- QMetaObject::activate(this, &staticMetaObject, 2, _a);
- }
- // SIGNAL 3
- void CEgoNotify::egoKickoff()
- {
- QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
- }
- // SIGNAL 4
- void CEgoNotify::egoNotifyLeave(int32_t _t1)
- {
- void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
- QMetaObject::activate(this, &staticMetaObject, 4, _a);
- }
- // SIGNAL 5
- void CEgoNotify::egoNotifyFail(int32_t _t1)
- {
- void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
- QMetaObject::activate(this, &staticMetaObject, 5, _a);
- }
- // SIGNAL 6
- void CEgoNotify::egoNotifyState(int32_t _t1, UserState _t2)
- {
- void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
- QMetaObject::activate(this, &staticMetaObject, 6, _a);
- }
- QT_WARNING_POP
- QT_END_MOC_NAMESPACE
|