moc_subreportthread.cpp 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'subreportthread.h'
  3. **
  4. ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.7)
  5. **
  6. ** WARNING! All changes made in this file will be lost!
  7. *****************************************************************************/
  8. #include "../ytServiceCore/subreportthread.h"
  9. #include <QtCore/qbytearray.h>
  10. #include <QtCore/qmetatype.h>
  11. #if !defined(Q_MOC_OUTPUT_REVISION)
  12. #error "The header file 'subreportthread.h' doesn't include <QObject>."
  13. #elif Q_MOC_OUTPUT_REVISION != 67
  14. #error "This file was generated using the moc from 5.9.7. 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_SubReportThread_t {
  22. QByteArrayData data[20];
  23. char stringdata0[187];
  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_SubReportThread_t, stringdata0) + ofs \
  28. - idx * sizeof(QByteArrayData)) \
  29. )
  30. static const qt_meta_stringdata_SubReportThread_t qt_meta_stringdata_SubReportThread = {
  31. {
  32. QT_MOC_LITERAL(0, 0, 15), // "SubReportThread"
  33. QT_MOC_LITERAL(1, 16, 12), // "getSubReport"
  34. QT_MOC_LITERAL(2, 29, 0), // ""
  35. QT_MOC_LITERAL(3, 30, 7), // "subType"
  36. QT_MOC_LITERAL(4, 38, 8), // "DeviceID"
  37. QT_MOC_LITERAL(5, 47, 8), // "insertId"
  38. QT_MOC_LITERAL(6, 56, 4), // "flag"
  39. QT_MOC_LITERAL(7, 61, 13), // "getSubReport1"
  40. QT_MOC_LITERAL(8, 75, 11), // "CompanyCode"
  41. QT_MOC_LITERAL(9, 87, 8), // "evt_name"
  42. QT_MOC_LITERAL(10, 96, 3), // "evt"
  43. QT_MOC_LITERAL(11, 100, 10), // "alarm_time"
  44. QT_MOC_LITERAL(12, 111, 13), // "getSubReport2"
  45. QT_MOC_LITERAL(13, 125, 13), // "artificial_id"
  46. QT_MOC_LITERAL(14, 139, 11), // "area_status"
  47. QT_MOC_LITERAL(15, 151, 6), // "reason"
  48. QT_MOC_LITERAL(16, 158, 7), // "handler"
  49. QT_MOC_LITERAL(17, 166, 6), // "mobile"
  50. QT_MOC_LITERAL(18, 173, 9), // "appendLog"
  51. QT_MOC_LITERAL(19, 183, 3) // "log"
  52. },
  53. "SubReportThread\0getSubReport\0\0subType\0"
  54. "DeviceID\0insertId\0flag\0getSubReport1\0"
  55. "CompanyCode\0evt_name\0evt\0alarm_time\0"
  56. "getSubReport2\0artificial_id\0area_status\0"
  57. "reason\0handler\0mobile\0appendLog\0log"
  58. };
  59. #undef QT_MOC_LITERAL
  60. static const uint qt_meta_data_SubReportThread[] = {
  61. // content:
  62. 7, // revision
  63. 0, // classname
  64. 0, 0, // classinfo
  65. 4, 14, // methods
  66. 0, 0, // properties
  67. 0, 0, // enums/sets
  68. 0, 0, // constructors
  69. 0, // flags
  70. 4, // signalCount
  71. // signals: name, argc, parameters, tag, flags
  72. 1, 4, 34, 2, 0x06 /* Public */,
  73. 7, 8, 43, 2, 0x06 /* Public */,
  74. 12, 6, 60, 2, 0x06 /* Public */,
  75. 18, 1, 73, 2, 0x06 /* Public */,
  76. // signals: parameters
  77. QMetaType::Void, QMetaType::UShort, QMetaType::QString, QMetaType::ULongLong, QMetaType::Bool, 3, 4, 5, 6,
  78. QMetaType::Void, QMetaType::UShort, QMetaType::QString, QMetaType::ULongLong, QMetaType::Int, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString, 3, 4, 5, 6, 8, 9, 10, 11,
  79. QMetaType::Void, QMetaType::UShort, QMetaType::QString, QMetaType::UShort, QMetaType::QString, QMetaType::QString, QMetaType::QString, 3, 13, 14, 15, 16, 17,
  80. QMetaType::Void, QMetaType::QString, 19,
  81. 0 // eod
  82. };
  83. void SubReportThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  84. {
  85. if (_c == QMetaObject::InvokeMetaMethod) {
  86. SubReportThread *_t = static_cast<SubReportThread *>(_o);
  87. Q_UNUSED(_t)
  88. switch (_id) {
  89. case 0: _t->getSubReport((*reinterpret_cast< quint16(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< quint64(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
  90. case 1: _t->getSubReport1((*reinterpret_cast< quint16(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< quint64(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< QString(*)>(_a[5])),(*reinterpret_cast< QString(*)>(_a[6])),(*reinterpret_cast< QString(*)>(_a[7])),(*reinterpret_cast< QString(*)>(_a[8]))); break;
  91. case 2: _t->getSubReport2((*reinterpret_cast< quint16(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< quint16(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4])),(*reinterpret_cast< QString(*)>(_a[5])),(*reinterpret_cast< QString(*)>(_a[6]))); break;
  92. case 3: _t->appendLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
  93. default: ;
  94. }
  95. } else if (_c == QMetaObject::IndexOfMethod) {
  96. int *result = reinterpret_cast<int *>(_a[0]);
  97. {
  98. typedef void (SubReportThread::*_t)(quint16 , QString , quint64 , bool );
  99. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SubReportThread::getSubReport)) {
  100. *result = 0;
  101. return;
  102. }
  103. }
  104. {
  105. typedef void (SubReportThread::*_t)(quint16 , QString , quint64 , int , QString , QString , QString , QString );
  106. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SubReportThread::getSubReport1)) {
  107. *result = 1;
  108. return;
  109. }
  110. }
  111. {
  112. typedef void (SubReportThread::*_t)(quint16 , QString , quint16 , QString , QString , QString );
  113. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SubReportThread::getSubReport2)) {
  114. *result = 2;
  115. return;
  116. }
  117. }
  118. {
  119. typedef void (SubReportThread::*_t)(QString );
  120. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SubReportThread::appendLog)) {
  121. *result = 3;
  122. return;
  123. }
  124. }
  125. }
  126. }
  127. const QMetaObject SubReportThread::staticMetaObject = {
  128. { &QThread::staticMetaObject, qt_meta_stringdata_SubReportThread.data,
  129. qt_meta_data_SubReportThread, qt_static_metacall, nullptr, nullptr}
  130. };
  131. const QMetaObject *SubReportThread::metaObject() const
  132. {
  133. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  134. }
  135. void *SubReportThread::qt_metacast(const char *_clname)
  136. {
  137. if (!_clname) return nullptr;
  138. if (!strcmp(_clname, qt_meta_stringdata_SubReportThread.stringdata0))
  139. return static_cast<void*>(this);
  140. return QThread::qt_metacast(_clname);
  141. }
  142. int SubReportThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  143. {
  144. _id = QThread::qt_metacall(_c, _id, _a);
  145. if (_id < 0)
  146. return _id;
  147. if (_c == QMetaObject::InvokeMetaMethod) {
  148. if (_id < 4)
  149. qt_static_metacall(this, _c, _id, _a);
  150. _id -= 4;
  151. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  152. if (_id < 4)
  153. *reinterpret_cast<int*>(_a[0]) = -1;
  154. _id -= 4;
  155. }
  156. return _id;
  157. }
  158. // SIGNAL 0
  159. void SubReportThread::getSubReport(quint16 _t1, QString _t2, quint64 _t3, bool _t4)
  160. {
  161. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
  162. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  163. }
  164. // SIGNAL 1
  165. void SubReportThread::getSubReport1(quint16 _t1, QString _t2, quint64 _t3, int _t4, QString _t5, QString _t6, QString _t7, QString _t8)
  166. {
  167. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)), const_cast<void*>(reinterpret_cast<const void*>(&_t6)), const_cast<void*>(reinterpret_cast<const void*>(&_t7)), const_cast<void*>(reinterpret_cast<const void*>(&_t8)) };
  168. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  169. }
  170. // SIGNAL 2
  171. void SubReportThread::getSubReport2(quint16 _t1, QString _t2, quint16 _t3, QString _t4, QString _t5, QString _t6)
  172. {
  173. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)), const_cast<void*>(reinterpret_cast<const void*>(&_t6)) };
  174. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  175. }
  176. // SIGNAL 3
  177. void SubReportThread::appendLog(QString _t1)
  178. {
  179. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  180. QMetaObject::activate(this, &staticMetaObject, 3, _a);
  181. }
  182. QT_WARNING_POP
  183. QT_END_MOC_NAMESPACE