/bin/MainApp/moc_checkproperty.cpp

https://bitbucket.org/flexcomputer/primitive · C++ · 105 lines · 78 code · 15 blank · 12 comment · 10 complexity · c92cb6b8a164039eeda4f1f8a8a10db3 MD5 · raw file

  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'checkproperty.h'
  3. **
  4. ** Created: Sun Dec 9 16:52:32 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 "../../Primitive/MainApp/propwidgets/checkproperty.h"
  10. #if !defined(Q_MOC_OUTPUT_REVISION)
  11. #error "The header file 'checkproperty.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_CheckProperty[] = {
  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. 28, 15, 14, 14, 0x05,
  31. // slots: signature, parameters, type, tag, flags
  32. 53, 47, 14, 14, 0x0a,
  33. 0 // eod
  34. };
  35. static const char qt_meta_stringdata_CheckProperty[] = {
  36. "CheckProperty\0\0currentState\0"
  37. "stateChanged(bool)\0state\0stateChangedSlot(int)\0"
  38. };
  39. void CheckProperty::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. CheckProperty *_t = static_cast<CheckProperty *>(_o);
  44. switch (_id) {
  45. case 0: _t->stateChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  46. case 1: _t->stateChangedSlot((*reinterpret_cast< int(*)>(_a[1]))); break;
  47. default: ;
  48. }
  49. }
  50. }
  51. const QMetaObjectExtraData CheckProperty::staticMetaObjectExtraData = {
  52. 0, qt_static_metacall
  53. };
  54. const QMetaObject CheckProperty::staticMetaObject = {
  55. { &PropertyWidget::staticMetaObject, qt_meta_stringdata_CheckProperty,
  56. qt_meta_data_CheckProperty, &staticMetaObjectExtraData }
  57. };
  58. #ifdef Q_NO_DATA_RELOCATION
  59. const QMetaObject &CheckProperty::getStaticMetaObject() { return staticMetaObject; }
  60. #endif //Q_NO_DATA_RELOCATION
  61. const QMetaObject *CheckProperty::metaObject() const
  62. {
  63. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  64. }
  65. void *CheckProperty::qt_metacast(const char *_clname)
  66. {
  67. if (!_clname) return 0;
  68. if (!strcmp(_clname, qt_meta_stringdata_CheckProperty))
  69. return static_cast<void*>(const_cast< CheckProperty*>(this));
  70. return PropertyWidget::qt_metacast(_clname);
  71. }
  72. int CheckProperty::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  73. {
  74. _id = PropertyWidget::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 CheckProperty::stateChanged(bool _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