moc_QReplyTimeout.cpp 4.0 KB

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