moc_cardimageitem.cpp 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'cardimageitem.h'
  3. **
  4. ** Created: Sun 3. Jun 16:41:58 2012
  5. ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.4)
  6. **
  7. ** WARNING! All changes made in this file will be lost!
  8. *****************************************************************************/
  9. #include "../cardimageitem.h"
  10. #include <QtCore/qmetatype.h>
  11. #if !defined(Q_MOC_OUTPUT_REVISION)
  12. #error "The header file 'cardimageitem.h' doesn't include <QObject>."
  13. #elif Q_MOC_OUTPUT_REVISION != 62
  14. #error "This file was generated using the moc from 4.7.4. It"
  15. #error "cannot be used with the include files from this version of Qt."
  16. #error "(The moc has changed too much.)"
  17. #endif
  18. QT_BEGIN_MOC_NAMESPACE
  19. static const uint qt_meta_data_CardImageItem[] = {
  20. // content:
  21. 5, // revision
  22. 0, // classname
  23. 0, 0, // classinfo
  24. 0, 0, // methods
  25. 7, 14, // properties
  26. 0, 0, // enums/sets
  27. 0, 0, // constructors
  28. 0, // flags
  29. 0, // signalCount
  30. // properties: name, type, flags
  31. 20, 14, (QMetaType::QReal << 24) | 0x00095103,
  32. 22, 14, (QMetaType::QReal << 24) | 0x00095103,
  33. 24, 14, (QMetaType::QReal << 24) | 0x00095103,
  34. 30, 14, (QMetaType::QReal << 24) | 0x00095103,
  35. 39, 14, (QMetaType::QReal << 24) | 0x00095001,
  36. 45, 14, (QMetaType::QReal << 24) | 0x00095001,
  37. 59, 52, 0x43095103,
  38. 0 // eod
  39. };
  40. static const char qt_meta_stringdata_CardImageItem[] = {
  41. "CardImageItem\0qreal\0x\0y\0scale\0rotation\0"
  42. "width\0height\0QColor\0color\0"
  43. };
  44. const QMetaObject CardImageItem::staticMetaObject = {
  45. { &QObject::staticMetaObject, qt_meta_stringdata_CardImageItem,
  46. qt_meta_data_CardImageItem, 0 }
  47. };
  48. #ifdef Q_NO_DATA_RELOCATION
  49. const QMetaObject &CardImageItem::getStaticMetaObject() { return staticMetaObject; }
  50. #endif //Q_NO_DATA_RELOCATION
  51. const QMetaObject *CardImageItem::metaObject() const
  52. {
  53. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  54. }
  55. void *CardImageItem::qt_metacast(const char *_clname)
  56. {
  57. if (!_clname) return 0;
  58. if (!strcmp(_clname, qt_meta_stringdata_CardImageItem))
  59. return static_cast<void*>(const_cast< CardImageItem*>(this));
  60. if (!strcmp(_clname, "QGraphicsPixmapItem"))
  61. return static_cast< QGraphicsPixmapItem*>(const_cast< CardImageItem*>(this));
  62. return QObject::qt_metacast(_clname);
  63. }
  64. int CardImageItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  65. {
  66. _id = QObject::qt_metacall(_c, _id, _a);
  67. if (_id < 0)
  68. return _id;
  69. #ifndef QT_NO_PROPERTIES
  70. if (_c == QMetaObject::ReadProperty) {
  71. void *_v = _a[0];
  72. switch (_id) {
  73. case 0: *reinterpret_cast< qreal*>(_v) = x(); break;
  74. case 1: *reinterpret_cast< qreal*>(_v) = y(); break;
  75. case 2: *reinterpret_cast< qreal*>(_v) = scale(); break;
  76. case 3: *reinterpret_cast< qreal*>(_v) = rotation(); break;
  77. case 4: *reinterpret_cast< qreal*>(_v) = width(); break;
  78. case 5: *reinterpret_cast< qreal*>(_v) = height(); break;
  79. case 6: *reinterpret_cast< QColor*>(_v) = color(); break;
  80. }
  81. _id -= 7;
  82. } else if (_c == QMetaObject::WriteProperty) {
  83. void *_v = _a[0];
  84. switch (_id) {
  85. case 0: setX(*reinterpret_cast< qreal*>(_v)); break;
  86. case 1: setY(*reinterpret_cast< qreal*>(_v)); break;
  87. case 2: setScale(*reinterpret_cast< qreal*>(_v)); break;
  88. case 3: setRotation(*reinterpret_cast< qreal*>(_v)); break;
  89. case 6: setColor(*reinterpret_cast< QColor*>(_v)); break;
  90. }
  91. _id -= 7;
  92. } else if (_c == QMetaObject::ResetProperty) {
  93. _id -= 7;
  94. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  95. _id -= 7;
  96. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  97. _id -= 7;
  98. } else if (_c == QMetaObject::QueryPropertyStored) {
  99. _id -= 7;
  100. } else if (_c == QMetaObject::QueryPropertyEditable) {
  101. _id -= 7;
  102. } else if (_c == QMetaObject::QueryPropertyUser) {
  103. _id -= 7;
  104. }
  105. #endif // QT_NO_PROPERTIES
  106. return _id;
  107. }
  108. QT_END_MOC_NAMESPACE