moc_pdu_ctrl.cpp 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'pdu_ctrl.h'
  3. **
  4. ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.5)
  5. **
  6. ** WARNING! All changes made in this file will be lost!
  7. *****************************************************************************/
  8. #include "pdu_ctrl.h"
  9. #include <QtCore/qbytearray.h>
  10. #include <QtCore/qmetatype.h>
  11. #if !defined(Q_MOC_OUTPUT_REVISION)
  12. #error "The header file 'pdu_ctrl.h' doesn't include <QObject>."
  13. #elif Q_MOC_OUTPUT_REVISION != 67
  14. #error "This file was generated using the moc from 5.12.5. It"
  15. #error "cannot be used with the include files from this version of Qt."
  16. #error "(The moc has changed too much.)"
  17. #endif
  18. QT_BEGIN_MOC_NAMESPACE
  19. QT_WARNING_PUSH
  20. QT_WARNING_DISABLE_DEPRECATED
  21. struct qt_meta_stringdata_pdu_Ctrl_t {
  22. QByteArrayData data[9];
  23. char stringdata0[97];
  24. };
  25. #define QT_MOC_LITERAL(idx, ofs, len) \
  26. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  27. qptrdiff(offsetof(qt_meta_stringdata_pdu_Ctrl_t, stringdata0) + ofs \
  28. - idx * sizeof(QByteArrayData)) \
  29. )
  30. static const qt_meta_stringdata_pdu_Ctrl_t qt_meta_stringdata_pdu_Ctrl = {
  31. {
  32. QT_MOC_LITERAL(0, 0, 8), // "pdu_Ctrl"
  33. QT_MOC_LITERAL(1, 9, 13), // "slot_setAngel"
  34. QT_MOC_LITERAL(2, 23, 0), // ""
  35. QT_MOC_LITERAL(3, 24, 6), // "nAngle"
  36. QT_MOC_LITERAL(4, 31, 13), // "slot_ClickBtn"
  37. QT_MOC_LITERAL(5, 45, 7), // "nButton"
  38. QT_MOC_LITERAL(6, 53, 14), // "slot_DClickBtn"
  39. QT_MOC_LITERAL(7, 68, 14), // "slot_LClickBtn"
  40. QT_MOC_LITERAL(8, 83, 13) // "slot_BtnClear"
  41. },
  42. "pdu_Ctrl\0slot_setAngel\0\0nAngle\0"
  43. "slot_ClickBtn\0nButton\0slot_DClickBtn\0"
  44. "slot_LClickBtn\0slot_BtnClear"
  45. };
  46. #undef QT_MOC_LITERAL
  47. static const uint qt_meta_data_pdu_Ctrl[] = {
  48. // content:
  49. 8, // revision
  50. 0, // classname
  51. 0, 0, // classinfo
  52. 5, 14, // methods
  53. 0, 0, // properties
  54. 0, 0, // enums/sets
  55. 0, 0, // constructors
  56. 0, // flags
  57. 0, // signalCount
  58. // slots: name, argc, parameters, tag, flags
  59. 1, 1, 39, 2, 0x0a /* Public */,
  60. 4, 1, 42, 2, 0x0a /* Public */,
  61. 6, 1, 45, 2, 0x0a /* Public */,
  62. 7, 1, 48, 2, 0x0a /* Public */,
  63. 8, 1, 51, 2, 0x0a /* Public */,
  64. // slots: parameters
  65. QMetaType::Void, QMetaType::Int, 3,
  66. QMetaType::Void, QMetaType::Int, 5,
  67. QMetaType::Void, QMetaType::Int, 5,
  68. QMetaType::Void, QMetaType::Int, 5,
  69. QMetaType::Void, QMetaType::Int, 5,
  70. 0 // eod
  71. };
  72. void pdu_Ctrl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  73. {
  74. if (_c == QMetaObject::InvokeMetaMethod) {
  75. auto *_t = static_cast<pdu_Ctrl *>(_o);
  76. Q_UNUSED(_t)
  77. switch (_id) {
  78. case 0: _t->slot_setAngel((*reinterpret_cast< int(*)>(_a[1]))); break;
  79. case 1: _t->slot_ClickBtn((*reinterpret_cast< int(*)>(_a[1]))); break;
  80. case 2: _t->slot_DClickBtn((*reinterpret_cast< int(*)>(_a[1]))); break;
  81. case 3: _t->slot_LClickBtn((*reinterpret_cast< int(*)>(_a[1]))); break;
  82. case 4: _t->slot_BtnClear((*reinterpret_cast< int(*)>(_a[1]))); break;
  83. default: ;
  84. }
  85. }
  86. }
  87. QT_INIT_METAOBJECT const QMetaObject pdu_Ctrl::staticMetaObject = { {
  88. &QObject::staticMetaObject,
  89. qt_meta_stringdata_pdu_Ctrl.data,
  90. qt_meta_data_pdu_Ctrl,
  91. qt_static_metacall,
  92. nullptr,
  93. nullptr
  94. } };
  95. const QMetaObject *pdu_Ctrl::metaObject() const
  96. {
  97. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  98. }
  99. void *pdu_Ctrl::qt_metacast(const char *_clname)
  100. {
  101. if (!_clname) return nullptr;
  102. if (!strcmp(_clname, qt_meta_stringdata_pdu_Ctrl.stringdata0))
  103. return static_cast<void*>(this);
  104. return QObject::qt_metacast(_clname);
  105. }
  106. int pdu_Ctrl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  107. {
  108. _id = QObject::qt_metacall(_c, _id, _a);
  109. if (_id < 0)
  110. return _id;
  111. if (_c == QMetaObject::InvokeMetaMethod) {
  112. if (_id < 5)
  113. qt_static_metacall(this, _c, _id, _a);
  114. _id -= 5;
  115. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  116. if (_id < 5)
  117. *reinterpret_cast<int*>(_a[0]) = -1;
  118. _id -= 5;
  119. }
  120. return _id;
  121. }
  122. QT_WARNING_POP
  123. QT_END_MOC_NAMESPACE