moc_PedestrianLightWidget.cpp 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'PedestrianLightWidget.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 "../widgets/PedestrianLightWidget.h"
  10. #if !defined(Q_MOC_OUTPUT_REVISION)
  11. #error "The header file 'PedestrianLightWidget.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_PedestrianLightWidget[] = {
  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. 39, 23, 22, 22, 0x0a,
  31. 0 // eod
  32. };
  33. static const char qt_meta_stringdata_PedestrianLightWidget[] = {
  34. "PedestrianLightWidget\0\0white,red,green\0"
  35. "setSignals(bool,bool,bool)\0"
  36. };
  37. void PedestrianLightWidget::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. PedestrianLightWidget *_t = static_cast<PedestrianLightWidget *>(_o);
  42. switch (_id) {
  43. case 0: _t->setSignals((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
  44. default: ;
  45. }
  46. }
  47. }
  48. const QMetaObjectExtraData PedestrianLightWidget::staticMetaObjectExtraData = {
  49. 0, qt_static_metacall
  50. };
  51. const QMetaObject PedestrianLightWidget::staticMetaObject = {
  52. { &QWidget::staticMetaObject, qt_meta_stringdata_PedestrianLightWidget,
  53. qt_meta_data_PedestrianLightWidget, &staticMetaObjectExtraData }
  54. };
  55. #ifdef Q_NO_DATA_RELOCATION
  56. const QMetaObject &PedestrianLightWidget::getStaticMetaObject() { return staticMetaObject; }
  57. #endif //Q_NO_DATA_RELOCATION
  58. const QMetaObject *PedestrianLightWidget::metaObject() const
  59. {
  60. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  61. }
  62. void *PedestrianLightWidget::qt_metacast(const char *_clname)
  63. {
  64. if (!_clname) return 0;
  65. if (!strcmp(_clname, qt_meta_stringdata_PedestrianLightWidget))
  66. return static_cast<void*>(const_cast< PedestrianLightWidget*>(this));
  67. return QWidget::qt_metacast(_clname);
  68. }
  69. int PedestrianLightWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  70. {
  71. _id = QWidget::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