moc_TrafficLightRunner.cpp 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'TrafficLightRunner.h'
  3. **
  4. ** Created: Fri Oct 19 15:33:20 2012
  5. ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1)
  6. **
  7. ** WARNING! All changes made in this file will be lost!
  8. *****************************************************************************/
  9. #include "../statemachine/TrafficLightRunner.h"
  10. #if !defined(Q_MOC_OUTPUT_REVISION)
  11. #error "The header file 'TrafficLightRunner.h' doesn't include <QObject>."
  12. #elif Q_MOC_OUTPUT_REVISION != 63
  13. #error "This file was generated using the moc from 4.8.1. It"
  14. #error "cannot be used with the include files from this version of Qt."
  15. #error "(The moc has changed too much.)"
  16. #endif
  17. QT_BEGIN_MOC_NAMESPACE
  18. static const uint qt_meta_data_TrafficLightRunner[] = {
  19. // content:
  20. 6, // revision
  21. 0, // classname
  22. 0, 0, // classinfo
  23. 4, 14, // methods
  24. 0, 0, // properties
  25. 0, 0, // enums/sets
  26. 0, 0, // constructors
  27. 0, // flags
  28. 1, // signalCount
  29. // signals: signature, parameters, type, tag, flags
  30. 27, 20, 19, 19, 0x05,
  31. // slots: signature, parameters, type, tag, flags
  32. 59, 19, 19, 19, 0x0a,
  33. 70, 19, 19, 19, 0x0a,
  34. 95, 19, 19, 19, 0x0a,
  35. 0 // eod
  36. };
  37. static const char qt_meta_stringdata_TrafficLightRunner[] = {
  38. "TrafficLightRunner\0\0handle\0"
  39. "cycleDone(TrafficLightWaiting*)\0"
  40. "runCycle()\0raisePedestrianRequest()\0"
  41. "raiseOnOff()\0"
  42. };
  43. void TrafficLightRunner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  44. {
  45. if (_c == QMetaObject::InvokeMetaMethod) {
  46. Q_ASSERT(staticMetaObject.cast(_o));
  47. TrafficLightRunner *_t = static_cast<TrafficLightRunner *>(_o);
  48. switch (_id) {
  49. case 0: _t->cycleDone((*reinterpret_cast< TrafficLightWaiting*(*)>(_a[1]))); break;
  50. case 1: _t->runCycle(); break;
  51. case 2: _t->raisePedestrianRequest(); break;
  52. case 3: _t->raiseOnOff(); break;
  53. default: ;
  54. }
  55. }
  56. }
  57. const QMetaObjectExtraData TrafficLightRunner::staticMetaObjectExtraData = {
  58. 0, qt_static_metacall
  59. };
  60. const QMetaObject TrafficLightRunner::staticMetaObject = {
  61. { &QObject::staticMetaObject, qt_meta_stringdata_TrafficLightRunner,
  62. qt_meta_data_TrafficLightRunner, &staticMetaObjectExtraData }
  63. };
  64. #ifdef Q_NO_DATA_RELOCATION
  65. const QMetaObject &TrafficLightRunner::getStaticMetaObject() { return staticMetaObject; }
  66. #endif //Q_NO_DATA_RELOCATION
  67. const QMetaObject *TrafficLightRunner::metaObject() const
  68. {
  69. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  70. }
  71. void *TrafficLightRunner::qt_metacast(const char *_clname)
  72. {
  73. if (!_clname) return 0;
  74. if (!strcmp(_clname, qt_meta_stringdata_TrafficLightRunner))
  75. return static_cast<void*>(const_cast< TrafficLightRunner*>(this));
  76. return QObject::qt_metacast(_clname);
  77. }
  78. int TrafficLightRunner::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  79. {
  80. _id = QObject::qt_metacall(_c, _id, _a);
  81. if (_id < 0)
  82. return _id;
  83. if (_c == QMetaObject::InvokeMetaMethod) {
  84. if (_id < 4)
  85. qt_static_metacall(this, _c, _id, _a);
  86. _id -= 4;
  87. }
  88. return _id;
  89. }
  90. // SIGNAL 0
  91. void TrafficLightRunner::cycleDone(TrafficLightWaiting * _t1)
  92. {
  93. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  94. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  95. }
  96. QT_END_MOC_NAMESPACE