moc_cardboard.cpp 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'cardboard.h'
  3. **
  4. ** Created: Sun 3. Jun 16:48:54 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 "../cardboard.h"
  10. #if !defined(Q_MOC_OUTPUT_REVISION)
  11. #error "The header file 'cardboard.h' doesn't include <QObject>."
  12. #elif Q_MOC_OUTPUT_REVISION != 62
  13. #error "This file was generated using the moc from 4.7.4. 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_CardBoard[] = {
  19. // content:
  20. 5, // revision
  21. 0, // classname
  22. 0, 0, // classinfo
  23. 4, 14, // methods
  24. 0, 0, // properties
  25. 0, 0, // enums/sets
  26. 0, 0, // constructors
  27. 0, // flags
  28. 0, // signalCount
  29. // methods: signature, parameters, type, tag, flags
  30. 11, 10, 10, 10, 0x02,
  31. 21, 10, 10, 10, 0x02,
  32. 47, 38, 33, 10, 0x02,
  33. 67, 38, 33, 10, 0x02,
  34. 0 // eod
  35. };
  36. static const char qt_meta_stringdata_CardBoard[] = {
  37. "CardBoard\0\0sendMms()\0sendEmail()\0bool\0"
  38. "fileName\0fileExists(QString)\0"
  39. "saveJPG(QString)\0"
  40. };
  41. const QMetaObject CardBoard::staticMetaObject = {
  42. { &QDeclarativeItem::staticMetaObject, qt_meta_stringdata_CardBoard,
  43. qt_meta_data_CardBoard, 0 }
  44. };
  45. #ifdef Q_NO_DATA_RELOCATION
  46. const QMetaObject &CardBoard::getStaticMetaObject() { return staticMetaObject; }
  47. #endif //Q_NO_DATA_RELOCATION
  48. const QMetaObject *CardBoard::metaObject() const
  49. {
  50. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  51. }
  52. void *CardBoard::qt_metacast(const char *_clname)
  53. {
  54. if (!_clname) return 0;
  55. if (!strcmp(_clname, qt_meta_stringdata_CardBoard))
  56. return static_cast<void*>(const_cast< CardBoard*>(this));
  57. return QDeclarativeItem::qt_metacast(_clname);
  58. }
  59. int CardBoard::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  60. {
  61. _id = QDeclarativeItem::qt_metacall(_c, _id, _a);
  62. if (_id < 0)
  63. return _id;
  64. if (_c == QMetaObject::InvokeMetaMethod) {
  65. switch (_id) {
  66. case 0: sendMms(); break;
  67. case 1: sendEmail(); break;
  68. case 2: { bool _r = fileExists((*reinterpret_cast< QString(*)>(_a[1])));
  69. if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
  70. case 3: { bool _r = saveJPG((*reinterpret_cast< QString(*)>(_a[1])));
  71. if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
  72. default: ;
  73. }
  74. _id -= 4;
  75. }
  76. return _id;
  77. }
  78. QT_END_MOC_NAMESPACE