input_view.cpp 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'input_view.hpp'
  3. **
  4. ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
  5. **
  6. ** WARNING! All changes made in this file will be lost!
  7. *****************************************************************************/
  8. #include <memory>
  9. #include "../src/qt/input_view.hpp"
  10. #include <QtCore/qbytearray.h>
  11. #include <QtCore/qmetatype.h>
  12. #if !defined(Q_MOC_OUTPUT_REVISION)
  13. #error "The header file 'input_view.hpp' doesn't include <QObject>."
  14. #elif Q_MOC_OUTPUT_REVISION != 67
  15. #error "This file was generated using the moc from 5.15.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. QT_BEGIN_MOC_NAMESPACE
  20. QT_WARNING_PUSH
  21. QT_WARNING_DISABLE_DEPRECATED
  22. struct qt_meta_stringdata_QtInputView_t {
  23. QByteArrayData data[7];
  24. char stringdata0[70];
  25. };
  26. #define QT_MOC_LITERAL(idx, ofs, len) \
  27. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  28. qptrdiff(offsetof(qt_meta_stringdata_QtInputView_t, stringdata0) + ofs \
  29. - idx * sizeof(QByteArrayData)) \
  30. )
  31. static const qt_meta_stringdata_QtInputView_t qt_meta_stringdata_QtInputView = {
  32. {
  33. QT_MOC_LITERAL(0, 0, 11), // "QtInputView"
  34. QT_MOC_LITERAL(1, 12, 14), // "updateGeometry"
  35. QT_MOC_LITERAL(2, 27, 0), // ""
  36. QT_MOC_LITERAL(3, 28, 18), // "updateInitialState"
  37. QT_MOC_LITERAL(4, 47, 12), // "updateSource"
  38. QT_MOC_LITERAL(5, 60, 7), // "setTime"
  39. QT_MOC_LITERAL(6, 68, 1) // "v"
  40. },
  41. "QtInputView\0updateGeometry\0\0"
  42. "updateInitialState\0updateSource\0setTime\0"
  43. "v"
  44. };
  45. #undef QT_MOC_LITERAL
  46. static const uint qt_meta_data_QtInputView[] = {
  47. // content:
  48. 8, // revision
  49. 0, // classname
  50. 0, 0, // classinfo
  51. 4, 14, // methods
  52. 0, 0, // properties
  53. 0, 0, // enums/sets
  54. 0, 0, // constructors
  55. 0, // flags
  56. 0, // signalCount
  57. // slots: name, argc, parameters, tag, flags
  58. 1, 0, 34, 2, 0x0a /* Public */,
  59. 3, 0, 35, 2, 0x0a /* Public */,
  60. 4, 0, 36, 2, 0x0a /* Public */,
  61. 5, 1, 37, 2, 0x0a /* Public */,
  62. // slots: parameters
  63. QMetaType::Void,
  64. QMetaType::Void,
  65. QMetaType::Void,
  66. QMetaType::Void, QMetaType::Int, 6,
  67. 0 // eod
  68. };
  69. void QtInputView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  70. {
  71. if (_c == QMetaObject::InvokeMetaMethod) {
  72. auto *_t = static_cast<QtInputView *>(_o);
  73. (void)_t;
  74. switch (_id) {
  75. case 0: _t->updateGeometry(); break;
  76. case 1: _t->updateInitialState(); break;
  77. case 2: _t->updateSource(); break;
  78. case 3: _t->setTime((*reinterpret_cast< int(*)>(_a[1]))); break;
  79. default: ;
  80. }
  81. }
  82. }
  83. QT_INIT_METAOBJECT const QMetaObject QtInputView::staticMetaObject = { {
  84. QMetaObject::SuperData::link<QtView::staticMetaObject>(),
  85. qt_meta_stringdata_QtInputView.data,
  86. qt_meta_data_QtInputView,
  87. qt_static_metacall,
  88. nullptr,
  89. nullptr
  90. } };
  91. const QMetaObject *QtInputView::metaObject() const
  92. {
  93. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  94. }
  95. void *QtInputView::qt_metacast(const char *_clname)
  96. {
  97. if (!_clname) return nullptr;
  98. if (!strcmp(_clname, qt_meta_stringdata_QtInputView.stringdata0))
  99. return static_cast<void*>(this);
  100. return QtView::qt_metacast(_clname);
  101. }
  102. int QtInputView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  103. {
  104. _id = QtView::qt_metacall(_c, _id, _a);
  105. if (_id < 0)
  106. return _id;
  107. if (_c == QMetaObject::InvokeMetaMethod) {
  108. if (_id < 4)
  109. qt_static_metacall(this, _c, _id, _a);
  110. _id -= 4;
  111. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  112. if (_id < 4)
  113. *reinterpret_cast<int*>(_a[0]) = -1;
  114. _id -= 4;
  115. }
  116. return _id;
  117. }
  118. QT_WARNING_POP
  119. QT_END_MOC_NAMESPACE