moc_wscenter.cpp 4.2 KB

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