/bin/MainApp/moc_snaptogrid.cpp

https://bitbucket.org/flexcomputer/primitive · C++ · 96 lines · 73 code · 13 blank · 10 comment · 10 complexity · c19222f75a89438c6eff45fa8a2506ec MD5 · raw file

  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'snaptogrid.h'
  3. **
  4. ** Created: Sat Dec 8 11:24:15 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/commands/snaptogrid.h"
  10. #if !defined(Q_MOC_OUTPUT_REVISION)
  11. #error "The header file 'snaptogrid.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_SnapToGridTool[] = {
  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. 0, // signalCount
  29. // slots: signature, parameters, type, tag, flags
  30. 16, 15, 15, 15, 0x0a,
  31. 28, 15, 15, 15, 0x0a,
  32. 0 // eod
  33. };
  34. static const char qt_meta_stringdata_SnapToGridTool[] = {
  35. "SnapToGridTool\0\0triggered()\0start()\0"
  36. };
  37. void SnapToGridTool::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  38. {
  39. if (_c == QMetaObject::InvokeMetaMethod) {
  40. Q_ASSERT(staticMetaObject.cast(_o));
  41. SnapToGridTool *_t = static_cast<SnapToGridTool *>(_o);
  42. switch (_id) {
  43. case 0: _t->triggered(); break;
  44. case 1: _t->start(); break;
  45. default: ;
  46. }
  47. }
  48. Q_UNUSED(_a);
  49. }
  50. const QMetaObjectExtraData SnapToGridTool::staticMetaObjectExtraData = {
  51. 0, qt_static_metacall
  52. };
  53. const QMetaObject SnapToGridTool::staticMetaObject = {
  54. { &DesignTool::staticMetaObject, qt_meta_stringdata_SnapToGridTool,
  55. qt_meta_data_SnapToGridTool, &staticMetaObjectExtraData }
  56. };
  57. #ifdef Q_NO_DATA_RELOCATION
  58. const QMetaObject &SnapToGridTool::getStaticMetaObject() { return staticMetaObject; }
  59. #endif //Q_NO_DATA_RELOCATION
  60. const QMetaObject *SnapToGridTool::metaObject() const
  61. {
  62. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  63. }
  64. void *SnapToGridTool::qt_metacast(const char *_clname)
  65. {
  66. if (!_clname) return 0;
  67. if (!strcmp(_clname, qt_meta_stringdata_SnapToGridTool))
  68. return static_cast<void*>(const_cast< SnapToGridTool*>(this));
  69. return DesignTool::qt_metacast(_clname);
  70. }
  71. int SnapToGridTool::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  72. {
  73. _id = DesignTool::qt_metacall(_c, _id, _a);
  74. if (_id < 0)
  75. return _id;
  76. if (_c == QMetaObject::InvokeMetaMethod) {
  77. if (_id < 2)
  78. qt_static_metacall(this, _c, _id, _a);
  79. _id -= 2;
  80. }
  81. return _id;
  82. }
  83. QT_END_MOC_NAMESPACE