moc_TimeEvent.cpp 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'TimeEvent.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/TimeEvent.h"
  10. #if !defined(Q_MOC_OUTPUT_REVISION)
  11. #error "The header file 'TimeEvent.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_TimeEvent[] = {
  19. // content:
  20. 6, // revision
  21. 0, // classname
  22. 0, 0, // classinfo
  23. 2, 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. 16, 11, 10, 10, 0x05,
  31. // slots: signature, parameters, type, tag, flags
  32. 36, 10, 10, 10, 0x0a,
  33. 0 // eod
  34. };
  35. static const char qt_meta_stringdata_TimeEvent[] = {
  36. "TimeEvent\0\0evid\0timeout(sc_eventid)\0"
  37. "timeout()\0"
  38. };
  39. void TimeEvent::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  40. {
  41. if (_c == QMetaObject::InvokeMetaMethod) {
  42. Q_ASSERT(staticMetaObject.cast(_o));
  43. TimeEvent *_t = static_cast<TimeEvent *>(_o);
  44. switch (_id) {
  45. case 0: _t->timeout((*reinterpret_cast< const sc_eventid(*)>(_a[1]))); break;
  46. case 1: _t->timeout(); break;
  47. default: ;
  48. }
  49. }
  50. }
  51. const QMetaObjectExtraData TimeEvent::staticMetaObjectExtraData = {
  52. 0, qt_static_metacall
  53. };
  54. const QMetaObject TimeEvent::staticMetaObject = {
  55. { &QObject::staticMetaObject, qt_meta_stringdata_TimeEvent,
  56. qt_meta_data_TimeEvent, &staticMetaObjectExtraData }
  57. };
  58. #ifdef Q_NO_DATA_RELOCATION
  59. const QMetaObject &TimeEvent::getStaticMetaObject() { return staticMetaObject; }
  60. #endif //Q_NO_DATA_RELOCATION
  61. const QMetaObject *TimeEvent::metaObject() const
  62. {
  63. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  64. }
  65. void *TimeEvent::qt_metacast(const char *_clname)
  66. {
  67. if (!_clname) return 0;
  68. if (!strcmp(_clname, qt_meta_stringdata_TimeEvent))
  69. return static_cast<void*>(const_cast< TimeEvent*>(this));
  70. return QObject::qt_metacast(_clname);
  71. }
  72. int TimeEvent::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  73. {
  74. _id = QObject::qt_metacall(_c, _id, _a);
  75. if (_id < 0)
  76. return _id;
  77. if (_c == QMetaObject::InvokeMetaMethod) {
  78. if (_id < 2)
  79. qt_static_metacall(this, _c, _id, _a);
  80. _id -= 2;
  81. }
  82. return _id;
  83. }
  84. // SIGNAL 0
  85. void TimeEvent::timeout(const sc_eventid _t1)
  86. {
  87. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  88. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  89. }
  90. QT_END_MOC_NAMESPACE