moc_httpconnectionhandler.cpp 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'httpconnectionhandler.h'
  3. **
  4. ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
  5. **
  6. ** WARNING! All changes made in this file will be lost!
  7. *****************************************************************************/
  8. #include "../../httpserver/httpconnectionhandler.h"
  9. #include <QtCore/qbytearray.h>
  10. #include <QtCore/qmetatype.h>
  11. #if !defined(Q_MOC_OUTPUT_REVISION)
  12. #error "The header file 'httpconnectionhandler.h' doesn't include <QObject>."
  13. #elif Q_MOC_OUTPUT_REVISION != 67
  14. #error "This file was generated using the moc from 5.3.2. 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. struct qt_meta_stringdata_stefanfrings__HttpConnectionHandler_t {
  20. QByteArrayData data[9];
  21. char stringdata[131];
  22. };
  23. #define QT_MOC_LITERAL(idx, ofs, len) \
  24. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  25. qptrdiff(offsetof(qt_meta_stringdata_stefanfrings__HttpConnectionHandler_t, stringdata) + ofs \
  26. - idx * sizeof(QByteArrayData)) \
  27. )
  28. static const qt_meta_stringdata_stefanfrings__HttpConnectionHandler_t qt_meta_stringdata_stefanfrings__HttpConnectionHandler = {
  29. {
  30. QT_MOC_LITERAL(0, 0, 35),
  31. QT_MOC_LITERAL(1, 36, 16),
  32. QT_MOC_LITERAL(2, 53, 0),
  33. QT_MOC_LITERAL(3, 54, 17),
  34. QT_MOC_LITERAL(4, 72, 16),
  35. QT_MOC_LITERAL(5, 89, 11),
  36. QT_MOC_LITERAL(6, 101, 4),
  37. QT_MOC_LITERAL(7, 106, 12),
  38. QT_MOC_LITERAL(8, 119, 11)
  39. },
  40. "stefanfrings::HttpConnectionHandler\0"
  41. "handleConnection\0\0tSocketDescriptor\0"
  42. "socketDescriptor\0readTimeout\0read\0"
  43. "disconnected\0thread_done"
  44. };
  45. #undef QT_MOC_LITERAL
  46. static const uint qt_meta_data_stefanfrings__HttpConnectionHandler[] = {
  47. // content:
  48. 7, // revision
  49. 0, // classname
  50. 0, 0, // classinfo
  51. 5, 14, // methods
  52. 0, 0, // properties
  53. 0, 0, // enums/sets
  54. 0, 0, // constructors
  55. 0, // flags
  56. 0, // signalCount
  57. // slots: name, argc, parameters, tag, flags
  58. 1, 1, 39, 2, 0x0a /* Public */,
  59. 5, 0, 42, 2, 0x08 /* Private */,
  60. 6, 0, 43, 2, 0x08 /* Private */,
  61. 7, 0, 44, 2, 0x08 /* Private */,
  62. 8, 0, 45, 2, 0x08 /* Private */,
  63. // slots: parameters
  64. QMetaType::Void, 0x80000000 | 3, 4,
  65. QMetaType::Void,
  66. QMetaType::Void,
  67. QMetaType::Void,
  68. QMetaType::Void,
  69. 0 // eod
  70. };
  71. void stefanfrings::HttpConnectionHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  72. {
  73. if (_c == QMetaObject::InvokeMetaMethod) {
  74. HttpConnectionHandler *_t = static_cast<HttpConnectionHandler *>(_o);
  75. switch (_id) {
  76. case 0: _t->handleConnection((*reinterpret_cast< const tSocketDescriptor(*)>(_a[1]))); break;
  77. case 1: _t->readTimeout(); break;
  78. case 2: _t->read(); break;
  79. case 3: _t->disconnected(); break;
  80. case 4: _t->thread_done(); break;
  81. default: ;
  82. }
  83. }
  84. }
  85. const QMetaObject stefanfrings::HttpConnectionHandler::staticMetaObject = {
  86. { &QObject::staticMetaObject, qt_meta_stringdata_stefanfrings__HttpConnectionHandler.data,
  87. qt_meta_data_stefanfrings__HttpConnectionHandler, qt_static_metacall, 0, 0}
  88. };
  89. const QMetaObject *stefanfrings::HttpConnectionHandler::metaObject() const
  90. {
  91. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  92. }
  93. void *stefanfrings::HttpConnectionHandler::qt_metacast(const char *_clname)
  94. {
  95. if (!_clname) return 0;
  96. if (!strcmp(_clname, qt_meta_stringdata_stefanfrings__HttpConnectionHandler.stringdata))
  97. return static_cast<void*>(const_cast< HttpConnectionHandler*>(this));
  98. return QObject::qt_metacast(_clname);
  99. }
  100. int stefanfrings::HttpConnectionHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  101. {
  102. _id = QObject::qt_metacall(_c, _id, _a);
  103. if (_id < 0)
  104. return _id;
  105. if (_c == QMetaObject::InvokeMetaMethod) {
  106. if (_id < 5)
  107. qt_static_metacall(this, _c, _id, _a);
  108. _id -= 5;
  109. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  110. if (_id < 5)
  111. *reinterpret_cast<int*>(_a[0]) = -1;
  112. _id -= 5;
  113. }
  114. return _id;
  115. }
  116. QT_END_MOC_NAMESPACE