moc_webdatathread.cpp 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'webdatathread.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/webdatathread.h"
  9. #include <QtCore/qbytearray.h>
  10. #include <QtCore/qmetatype.h>
  11. #if !defined(Q_MOC_OUTPUT_REVISION)
  12. #error "The header file 'webdatathread.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_WebDataThread_t {
  22. QByteArrayData data[4];
  23. char stringdata0[35];
  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_WebDataThread_t, stringdata0) + ofs \
  28. - idx * sizeof(QByteArrayData)) \
  29. )
  30. static const qt_meta_stringdata_WebDataThread_t qt_meta_stringdata_WebDataThread = {
  31. {
  32. QT_MOC_LITERAL(0, 0, 13), // "WebDataThread"
  33. QT_MOC_LITERAL(1, 14, 8), // "needSync"
  34. QT_MOC_LITERAL(2, 23, 0), // ""
  35. QT_MOC_LITERAL(3, 24, 10) // "deviceCode"
  36. },
  37. "WebDataThread\0needSync\0\0deviceCode"
  38. };
  39. #undef QT_MOC_LITERAL
  40. static const uint qt_meta_data_WebDataThread[] = {
  41. // content:
  42. 7, // revision
  43. 0, // classname
  44. 0, 0, // classinfo
  45. 1, 14, // methods
  46. 0, 0, // properties
  47. 0, 0, // enums/sets
  48. 0, 0, // constructors
  49. 0, // flags
  50. 1, // signalCount
  51. // signals: name, argc, parameters, tag, flags
  52. 1, 1, 19, 2, 0x06 /* Public */,
  53. // signals: parameters
  54. QMetaType::Void, QMetaType::QString, 3,
  55. 0 // eod
  56. };
  57. void WebDataThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  58. {
  59. if (_c == QMetaObject::InvokeMetaMethod) {
  60. WebDataThread *_t = static_cast<WebDataThread *>(_o);
  61. Q_UNUSED(_t)
  62. switch (_id) {
  63. case 0: _t->needSync((*reinterpret_cast< QString(*)>(_a[1]))); break;
  64. default: ;
  65. }
  66. } else if (_c == QMetaObject::IndexOfMethod) {
  67. int *result = reinterpret_cast<int *>(_a[0]);
  68. {
  69. typedef void (WebDataThread::*_t)(QString );
  70. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WebDataThread::needSync)) {
  71. *result = 0;
  72. return;
  73. }
  74. }
  75. }
  76. }
  77. const QMetaObject WebDataThread::staticMetaObject = {
  78. { &QThread::staticMetaObject, qt_meta_stringdata_WebDataThread.data,
  79. qt_meta_data_WebDataThread, qt_static_metacall, nullptr, nullptr}
  80. };
  81. const QMetaObject *WebDataThread::metaObject() const
  82. {
  83. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  84. }
  85. void *WebDataThread::qt_metacast(const char *_clname)
  86. {
  87. if (!_clname) return nullptr;
  88. if (!strcmp(_clname, qt_meta_stringdata_WebDataThread.stringdata0))
  89. return static_cast<void*>(this);
  90. return QThread::qt_metacast(_clname);
  91. }
  92. int WebDataThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  93. {
  94. _id = QThread::qt_metacall(_c, _id, _a);
  95. if (_id < 0)
  96. return _id;
  97. if (_c == QMetaObject::InvokeMetaMethod) {
  98. if (_id < 1)
  99. qt_static_metacall(this, _c, _id, _a);
  100. _id -= 1;
  101. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  102. if (_id < 1)
  103. *reinterpret_cast<int*>(_a[0]) = -1;
  104. _id -= 1;
  105. }
  106. return _id;
  107. }
  108. // SIGNAL 0
  109. void WebDataThread::needSync(QString _t1)
  110. {
  111. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  112. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  113. }
  114. QT_WARNING_POP
  115. QT_END_MOC_NAMESPACE