Guest User

Untitled

a guest
Nov 4th, 2014
236
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'game.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.  
  9. #include "../qtIdle2/src/game.h"
  10. #include <QtCore/qbytearray.h>
  11. #include <QtCore/qmetatype.h>
  12. #if !defined(Q_MOC_OUTPUT_REVISION)
  13. #error "The header file 'game.h' doesn't include <QObject>."
  14. #elif Q_MOC_OUTPUT_REVISION != 67
  15. #error "This file was generated using the moc from 5.3.2. It"
  16. #error "cannot be used with the include files from this version of Qt."
  17. #error "(The moc has changed too much.)"
  18. #endif
  19.  
  20. QT_BEGIN_MOC_NAMESPACE
  21. struct qt_meta_stringdata_game_t {
  22. QByteArrayData data[8];
  23. char stringdata[56];
  24. };
  25. #define QT_MOC_LITERAL(idx, ofs, len) \
  26. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  27. qptrdiff(offsetof(qt_meta_stringdata_game_t, stringdata) + ofs \
  28. - idx * sizeof(QByteArrayData)) \
  29. )
  30. static const qt_meta_stringdata_game_t qt_meta_stringdata_game = {
  31. {
  32. QT_MOC_LITERAL(0, 0, 4),
  33. QT_MOC_LITERAL(1, 5, 12),
  34. QT_MOC_LITERAL(2, 18, 0),
  35. QT_MOC_LITERAL(3, 19, 6),
  36. QT_MOC_LITERAL(4, 26, 4),
  37. QT_MOC_LITERAL(5, 31, 10),
  38. QT_MOC_LITERAL(6, 42, 11),
  39. QT_MOC_LITERAL(7, 54, 1)
  40. },
  41. "game\0updatePlayer\0\0player\0play\0"
  42. "playerName\0std::string\0n"
  43. };
  44. #undef QT_MOC_LITERAL
  45.  
  46. static const uint qt_meta_data_game[] = {
  47.  
  48. // content:
  49. 7, // revision
  50. 0, // classname
  51. 0, 0, // classinfo
  52. 2, 14, // methods
  53. 0, 0, // properties
  54. 0, 0, // enums/sets
  55. 0, 0, // constructors
  56. 0, // flags
  57. 1, // signalCount
  58.  
  59. // signals: name, argc, parameters, tag, flags
  60. 1, 1, 24, 2, 0x06 /* Public */,
  61.  
  62. // slots: name, argc, parameters, tag, flags
  63. 5, 1, 27, 2, 0x0a /* Public */,
  64.  
  65. // signals: parameters
  66. QMetaType::Void, 0x80000000 | 3, 4,
  67.  
  68. // slots: parameters
  69. QMetaType::Void, 0x80000000 | 6, 7,
  70.  
  71. 0 // eod
  72. };
  73.  
  74. void game::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  75. {
  76. if (_c == QMetaObject::InvokeMetaMethod) {
  77. game *_t = static_cast<game *>(_o);
  78. switch (_id) {
  79. case 0: _t->updatePlayer((*reinterpret_cast< player(*)>(_a[1]))); break;
  80. case 1: _t->playerName((*reinterpret_cast< std::string(*)>(_a[1]))); break;
  81. default: ;
  82. }
  83. } else if (_c == QMetaObject::IndexOfMethod) {
  84. int *result = reinterpret_cast<int *>(_a[0]);
  85. void **func = reinterpret_cast<void **>(_a[1]);
  86. {
  87. typedef void (game::*_t)(player );
  88. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&game::updatePlayer)) {
  89. *result = 0;
  90. }
  91. }
  92. }
  93. }
  94.  
  95. const QMetaObject game::staticMetaObject = {
  96. { &QObject::staticMetaObject, qt_meta_stringdata_game.data,
  97. qt_meta_data_game, qt_static_metacall, 0, 0}
  98. };
  99.  
  100.  
  101. const QMetaObject *game::metaObject() const
  102. {
  103. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  104. }
  105.  
  106. void *game::qt_metacast(const char *_clname)
  107. {
  108. if (!_clname) return 0;
  109. if (!strcmp(_clname, qt_meta_stringdata_game.stringdata))
  110. return static_cast<void*>(const_cast< game*>(this));
  111. return QObject::qt_metacast(_clname);
  112. }
  113.  
  114. int game::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  115. {
  116. _id = QObject::qt_metacall(_c, _id, _a);
  117. if (_id < 0)
  118. return _id;
  119. if (_c == QMetaObject::InvokeMetaMethod) {
  120. if (_id < 2)
  121. qt_static_metacall(this, _c, _id, _a);
  122. _id -= 2;
  123. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  124. if (_id < 2)
  125. *reinterpret_cast<int*>(_a[0]) = -1;
  126. _id -= 2;
  127. }
  128. return _id;
  129. }
  130.  
  131. // SIGNAL 0
  132. void game::updatePlayer(player _t1)
  133. {
  134. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  135. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  136. }
  137. QT_END_MOC_NAMESPACE
RAW Paste Data