moc_Ego.cpp 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'Ego.h'
  3. **
  4. ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.2.4)
  5. **
  6. ** WARNING! All changes made in this file will be lost!
  7. *****************************************************************************/
  8. #include <memory>
  9. #include "../Ego.h"
  10. #include <QtGui/qtextcursor.h>
  11. #include <QScreen>
  12. #include <QtCore/qbytearray.h>
  13. #include <QtCore/qmetatype.h>
  14. #if !defined(Q_MOC_OUTPUT_REVISION)
  15. #error "The header file 'Ego.h' doesn't include <QObject>."
  16. #elif Q_MOC_OUTPUT_REVISION != 68
  17. #error "This file was generated using the moc from 6.2.4. It"
  18. #error "cannot be used with the include files from this version of Qt."
  19. #error "(The moc has changed too much.)"
  20. #endif
  21. QT_BEGIN_MOC_NAMESPACE
  22. QT_WARNING_PUSH
  23. QT_WARNING_DISABLE_DEPRECATED
  24. struct qt_meta_stringdata_CEgoNotify_t {
  25. const uint offsetsAndSize[32];
  26. char stringdata0[155];
  27. };
  28. #define QT_MOC_LITERAL(ofs, len) \
  29. uint(offsetof(qt_meta_stringdata_CEgoNotify_t, stringdata0) + ofs), len
  30. static const qt_meta_stringdata_CEgoNotify_t qt_meta_stringdata_CEgoNotify = {
  31. {
  32. QT_MOC_LITERAL(0, 10), // "CEgoNotify"
  33. QT_MOC_LITERAL(11, 14), // "egoLoginResult"
  34. QT_MOC_LITERAL(26, 0), // ""
  35. QT_MOC_LITERAL(27, 3), // "rst"
  36. QT_MOC_LITERAL(31, 12), // "egoCarAppend"
  37. QT_MOC_LITERAL(44, 10), // "UserDriver"
  38. QT_MOC_LITERAL(55, 4), // "info"
  39. QT_MOC_LITERAL(60, 12), // "egoNotifyDel"
  40. QT_MOC_LITERAL(73, 7), // "int32_t"
  41. QT_MOC_LITERAL(81, 4), // "peer"
  42. QT_MOC_LITERAL(86, 10), // "egoKickoff"
  43. QT_MOC_LITERAL(97, 14), // "egoNotifyLeave"
  44. QT_MOC_LITERAL(112, 13), // "egoNotifyFail"
  45. QT_MOC_LITERAL(126, 3), // "uid"
  46. QT_MOC_LITERAL(130, 14), // "egoNotifyState"
  47. QT_MOC_LITERAL(145, 9) // "UserState"
  48. },
  49. "CEgoNotify\0egoLoginResult\0\0rst\0"
  50. "egoCarAppend\0UserDriver\0info\0egoNotifyDel\0"
  51. "int32_t\0peer\0egoKickoff\0egoNotifyLeave\0"
  52. "egoNotifyFail\0uid\0egoNotifyState\0"
  53. "UserState"
  54. };
  55. #undef QT_MOC_LITERAL
  56. static const uint qt_meta_data_CEgoNotify[] = {
  57. // content:
  58. 10, // revision
  59. 0, // classname
  60. 0, 0, // classinfo
  61. 7, 14, // methods
  62. 0, 0, // properties
  63. 0, 0, // enums/sets
  64. 0, 0, // constructors
  65. 0, // flags
  66. 7, // signalCount
  67. // signals: name, argc, parameters, tag, flags, initial metatype offsets
  68. 1, 1, 56, 2, 0x06, 1 /* Public */,
  69. 4, 1, 59, 2, 0x06, 3 /* Public */,
  70. 7, 1, 62, 2, 0x06, 5 /* Public */,
  71. 10, 0, 65, 2, 0x06, 7 /* Public */,
  72. 11, 1, 66, 2, 0x06, 8 /* Public */,
  73. 12, 1, 69, 2, 0x06, 10 /* Public */,
  74. 14, 2, 72, 2, 0x06, 12 /* Public */,
  75. // signals: parameters
  76. QMetaType::Void, QMetaType::Bool, 3,
  77. QMetaType::Void, 0x80000000 | 5, 6,
  78. QMetaType::Void, 0x80000000 | 8, 9,
  79. QMetaType::Void,
  80. QMetaType::Void, 0x80000000 | 8, 9,
  81. QMetaType::Void, 0x80000000 | 8, 13,
  82. QMetaType::Void, 0x80000000 | 8, 0x80000000 | 15, 13, 2,
  83. 0 // eod
  84. };
  85. void CEgoNotify::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  86. {
  87. if (_c == QMetaObject::InvokeMetaMethod) {
  88. auto *_t = static_cast<CEgoNotify *>(_o);
  89. (void)_t;
  90. switch (_id) {
  91. case 0: _t->egoLoginResult((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
  92. case 1: _t->egoCarAppend((*reinterpret_cast< std::add_pointer_t<UserDriver>>(_a[1]))); break;
  93. case 2: _t->egoNotifyDel((*reinterpret_cast< std::add_pointer_t<int32_t>>(_a[1]))); break;
  94. case 3: _t->egoKickoff(); break;
  95. case 4: _t->egoNotifyLeave((*reinterpret_cast< std::add_pointer_t<int32_t>>(_a[1]))); break;
  96. case 5: _t->egoNotifyFail((*reinterpret_cast< std::add_pointer_t<int32_t>>(_a[1]))); break;
  97. case 6: _t->egoNotifyState((*reinterpret_cast< std::add_pointer_t<int32_t>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<UserState>>(_a[2]))); break;
  98. default: ;
  99. }
  100. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  101. switch (_id) {
  102. default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
  103. case 1:
  104. switch (*reinterpret_cast<int*>(_a[1])) {
  105. default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
  106. case 0:
  107. *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UserDriver >(); break;
  108. }
  109. break;
  110. }
  111. } else if (_c == QMetaObject::IndexOfMethod) {
  112. int *result = reinterpret_cast<int *>(_a[0]);
  113. {
  114. using _t = void (CEgoNotify::*)(bool );
  115. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CEgoNotify::egoLoginResult)) {
  116. *result = 0;
  117. return;
  118. }
  119. }
  120. {
  121. using _t = void (CEgoNotify::*)(const UserDriver & );
  122. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CEgoNotify::egoCarAppend)) {
  123. *result = 1;
  124. return;
  125. }
  126. }
  127. {
  128. using _t = void (CEgoNotify::*)(int32_t );
  129. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CEgoNotify::egoNotifyDel)) {
  130. *result = 2;
  131. return;
  132. }
  133. }
  134. {
  135. using _t = void (CEgoNotify::*)();
  136. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CEgoNotify::egoKickoff)) {
  137. *result = 3;
  138. return;
  139. }
  140. }
  141. {
  142. using _t = void (CEgoNotify::*)(int32_t );
  143. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CEgoNotify::egoNotifyLeave)) {
  144. *result = 4;
  145. return;
  146. }
  147. }
  148. {
  149. using _t = void (CEgoNotify::*)(int32_t );
  150. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CEgoNotify::egoNotifyFail)) {
  151. *result = 5;
  152. return;
  153. }
  154. }
  155. {
  156. using _t = void (CEgoNotify::*)(int32_t , UserState );
  157. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CEgoNotify::egoNotifyState)) {
  158. *result = 6;
  159. return;
  160. }
  161. }
  162. }
  163. }
  164. const QMetaObject CEgoNotify::staticMetaObject = { {
  165. QMetaObject::SuperData::link<QObject::staticMetaObject>(),
  166. qt_meta_stringdata_CEgoNotify.offsetsAndSize,
  167. qt_meta_data_CEgoNotify,
  168. qt_static_metacall,
  169. nullptr,
  170. qt_incomplete_metaTypeArray<qt_meta_stringdata_CEgoNotify_t
  171. , 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>
  172. >,
  173. nullptr
  174. } };
  175. const QMetaObject *CEgoNotify::metaObject() const
  176. {
  177. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  178. }
  179. void *CEgoNotify::qt_metacast(const char *_clname)
  180. {
  181. if (!_clname) return nullptr;
  182. if (!strcmp(_clname, qt_meta_stringdata_CEgoNotify.stringdata0))
  183. return static_cast<void*>(this);
  184. if (!strcmp(_clname, "IMonitroNotify"))
  185. return static_cast< IMonitroNotify*>(this);
  186. return QObject::qt_metacast(_clname);
  187. }
  188. int CEgoNotify::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  189. {
  190. _id = QObject::qt_metacall(_c, _id, _a);
  191. if (_id < 0)
  192. return _id;
  193. if (_c == QMetaObject::InvokeMetaMethod) {
  194. if (_id < 7)
  195. qt_static_metacall(this, _c, _id, _a);
  196. _id -= 7;
  197. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  198. if (_id < 7)
  199. qt_static_metacall(this, _c, _id, _a);
  200. _id -= 7;
  201. }
  202. return _id;
  203. }
  204. // SIGNAL 0
  205. void CEgoNotify::egoLoginResult(bool _t1)
  206. {
  207. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  208. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  209. }
  210. // SIGNAL 1
  211. void CEgoNotify::egoCarAppend(const UserDriver & _t1)
  212. {
  213. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  214. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  215. }
  216. // SIGNAL 2
  217. void CEgoNotify::egoNotifyDel(int32_t _t1)
  218. {
  219. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  220. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  221. }
  222. // SIGNAL 3
  223. void CEgoNotify::egoKickoff()
  224. {
  225. QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
  226. }
  227. // SIGNAL 4
  228. void CEgoNotify::egoNotifyLeave(int32_t _t1)
  229. {
  230. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  231. QMetaObject::activate(this, &staticMetaObject, 4, _a);
  232. }
  233. // SIGNAL 5
  234. void CEgoNotify::egoNotifyFail(int32_t _t1)
  235. {
  236. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  237. QMetaObject::activate(this, &staticMetaObject, 5, _a);
  238. }
  239. // SIGNAL 6
  240. void CEgoNotify::egoNotifyState(int32_t _t1, UserState _t2)
  241. {
  242. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
  243. QMetaObject::activate(this, &staticMetaObject, 6, _a);
  244. }
  245. QT_WARNING_POP
  246. QT_END_MOC_NAMESPACE