moc_TrafficLightTimer.cpp 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'TrafficLightTimer.h'
  3. **
  4. ** Created: Fri Oct 19 15:33:19 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/TrafficLightTimer.h"
  10. #if !defined(Q_MOC_OUTPUT_REVISION)
  11. #error "The header file 'TrafficLightTimer.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_TrafficLightTimer[] = {
  19. // content:
  20. 6, // revision
  21. 0, // classname
  22. 0, 0, // classinfo
  23. 1, 14, // methods
  24. 0, 0, // properties
  25. 0, 0, // enums/sets
  26. 0, 0, // constructors
  27. 0, // flags
  28. 0, // signalCount
  29. // slots: signature, parameters, type, tag, flags
  30. 24, 19, 18, 18, 0x0a,
  31. 0 // eod
  32. };
  33. static const char qt_meta_stringdata_TrafficLightTimer[] = {
  34. "TrafficLightTimer\0\0evid\0"
  35. "raiseTimeEvent(sc_eventid)\0"
  36. };
  37. void TrafficLightTimer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  38. {
  39. if (_c == QMetaObject::InvokeMetaMethod) {
  40. Q_ASSERT(staticMetaObject.cast(_o));
  41. TrafficLightTimer *_t = static_cast<TrafficLightTimer *>(_o);
  42. switch (_id) {
  43. case 0: _t->raiseTimeEvent((*reinterpret_cast< sc_eventid(*)>(_a[1]))); break;
  44. default: ;
  45. }
  46. }
  47. }
  48. const QMetaObjectExtraData TrafficLightTimer::staticMetaObjectExtraData = {
  49. 0, qt_static_metacall
  50. };
  51. const QMetaObject TrafficLightTimer::staticMetaObject = {
  52. { &QObject::staticMetaObject, qt_meta_stringdata_TrafficLightTimer,
  53. qt_meta_data_TrafficLightTimer, &staticMetaObjectExtraData }
  54. };
  55. #ifdef Q_NO_DATA_RELOCATION
  56. const QMetaObject &TrafficLightTimer::getStaticMetaObject() { return staticMetaObject; }
  57. #endif //Q_NO_DATA_RELOCATION
  58. const QMetaObject *TrafficLightTimer::metaObject() const
  59. {
  60. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  61. }
  62. void *TrafficLightTimer::qt_metacast(const char *_clname)
  63. {
  64. if (!_clname) return 0;
  65. if (!strcmp(_clname, qt_meta_stringdata_TrafficLightTimer))
  66. return static_cast<void*>(const_cast< TrafficLightTimer*>(this));
  67. return QObject::qt_metacast(_clname);
  68. }
  69. int TrafficLightTimer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  70. {
  71. _id = QObject::qt_metacall(_c, _id, _a);
  72. if (_id < 0)
  73. return _id;
  74. if (_c == QMetaObject::InvokeMetaMethod) {
  75. if (_id < 1)
  76. qt_static_metacall(this, _c, _id, _a);
  77. _id -= 1;
  78. }
  79. return _id;
  80. }
  81. QT_END_MOC_NAMESPACE