view_solution.cpp 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'view_solution.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/view_solution.hpp"
  10. #include <QtCore/qbytearray.h>
  11. #include <QtCore/qmetatype.h>
  12. #if !defined(Q_MOC_OUTPUT_REVISION)
  13. #error "The header file 'view_solution.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_QtViewSolution_t {
  23. QByteArrayData data[3];
  24. char stringdata0[28];
  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_QtViewSolution_t, stringdata0) + ofs \
  29. - idx * sizeof(QByteArrayData)) \
  30. )
  31. static const qt_meta_stringdata_QtViewSolution_t qt_meta_stringdata_QtViewSolution = {
  32. {
  33. QT_MOC_LITERAL(0, 0, 14), // "QtViewSolution"
  34. QT_MOC_LITERAL(1, 15, 11), // "time_change"
  35. QT_MOC_LITERAL(2, 27, 0) // ""
  36. },
  37. "QtViewSolution\0time_change\0"
  38. };
  39. #undef QT_MOC_LITERAL
  40. static const uint qt_meta_data_QtViewSolution[] = {
  41. // content:
  42. 8, // revision
  43. 0, // classname
  44. 0, 0, // classinfo
  45. 1, 14, // methods
  46. 0, 0, // properties
  47. 0, 0, // enums/sets
  48. 0, 0, // constructors
  49. 0, // flags
  50. 0, // signalCount
  51. // slots: name, argc, parameters, tag, flags
  52. 1, 1, 19, 2, 0x08 /* Private */,
  53. // slots: parameters
  54. QMetaType::Void, QMetaType::Int, 2,
  55. 0 // eod
  56. };
  57. void QtViewSolution::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  58. {
  59. if (_c == QMetaObject::InvokeMetaMethod) {
  60. auto *_t = static_cast<QtViewSolution *>(_o);
  61. (void)_t;
  62. switch (_id) {
  63. case 0: _t->time_change((*reinterpret_cast< int(*)>(_a[1]))); break;
  64. default: ;
  65. }
  66. }
  67. }
  68. QT_INIT_METAOBJECT const QMetaObject QtViewSolution::staticMetaObject = { {
  69. QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
  70. qt_meta_stringdata_QtViewSolution.data,
  71. qt_meta_data_QtViewSolution,
  72. qt_static_metacall,
  73. nullptr,
  74. nullptr
  75. } };
  76. const QMetaObject *QtViewSolution::metaObject() const
  77. {
  78. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  79. }
  80. void *QtViewSolution::qt_metacast(const char *_clname)
  81. {
  82. if (!_clname) return nullptr;
  83. if (!strcmp(_clname, qt_meta_stringdata_QtViewSolution.stringdata0))
  84. return static_cast<void*>(this);
  85. return QWidget::qt_metacast(_clname);
  86. }
  87. int QtViewSolution::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  88. {
  89. _id = QWidget::qt_metacall(_c, _id, _a);
  90. if (_id < 0)
  91. return _id;
  92. if (_c == QMetaObject::InvokeMetaMethod) {
  93. if (_id < 1)
  94. qt_static_metacall(this, _c, _id, _a);
  95. _id -= 1;
  96. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  97. if (_id < 1)
  98. *reinterpret_cast<int*>(_a[0]) = -1;
  99. _id -= 1;
  100. }
  101. return _id;
  102. }
  103. QT_WARNING_POP
  104. QT_END_MOC_NAMESPACE