moc_wechartthreads.cpp 4.5 KB

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