moc_mainwindow.cpp 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'mainwindow.h'
  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 "../XJKJ_QT/mainwindow/mainwindow.h"
  10. #include <QtCore/qbytearray.h>
  11. #include <QtCore/qmetatype.h>
  12. #include <QtCore/QVector>
  13. #if !defined(Q_MOC_OUTPUT_REVISION)
  14. #error "The header file 'mainwindow.h' doesn't include <QObject>."
  15. #elif Q_MOC_OUTPUT_REVISION != 67
  16. #error "This file was generated using the moc from 5.15.2. It"
  17. #error "cannot be used with the include files from this version of Qt."
  18. #error "(The moc has changed too much.)"
  19. #endif
  20. QT_BEGIN_MOC_NAMESPACE
  21. QT_WARNING_PUSH
  22. QT_WARNING_DISABLE_DEPRECATED
  23. struct qt_meta_stringdata_MainWindow_t {
  24. QByteArrayData data[15];
  25. char stringdata0[227];
  26. };
  27. #define QT_MOC_LITERAL(idx, ofs, len) \
  28. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  29. qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
  30. - idx * sizeof(QByteArrayData)) \
  31. )
  32. static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
  33. {
  34. QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
  35. QT_MOC_LITERAL(1, 11, 23), // "on_startTestBtn_clicked"
  36. QT_MOC_LITERAL(2, 35, 0), // ""
  37. QT_MOC_LITERAL(3, 36, 21), // "on_min_maxBtn_clicked"
  38. QT_MOC_LITERAL(4, 58, 19), // "on_closeBtn_clicked"
  39. QT_MOC_LITERAL(5, 78, 23), // "on_setConfigBtn_clicked"
  40. QT_MOC_LITERAL(6, 102, 23), // "OnTreeItemDoubleClicked"
  41. QT_MOC_LITERAL(7, 126, 16), // "QTreeWidgetItem*"
  42. QT_MOC_LITERAL(8, 143, 4), // "item"
  43. QT_MOC_LITERAL(9, 148, 6), // "column"
  44. QT_MOC_LITERAL(10, 155, 24), // "onTestPlanTreeItemRemove"
  45. QT_MOC_LITERAL(11, 180, 10), // "onNewTemps"
  46. QT_MOC_LITERAL(12, 191, 15), // "QVector<double>"
  47. QT_MOC_LITERAL(13, 207, 5), // "temps"
  48. QT_MOC_LITERAL(14, 213, 13) // "onLegendClick"
  49. },
  50. "MainWindow\0on_startTestBtn_clicked\0\0"
  51. "on_min_maxBtn_clicked\0on_closeBtn_clicked\0"
  52. "on_setConfigBtn_clicked\0OnTreeItemDoubleClicked\0"
  53. "QTreeWidgetItem*\0item\0column\0"
  54. "onTestPlanTreeItemRemove\0onNewTemps\0"
  55. "QVector<double>\0temps\0onLegendClick"
  56. };
  57. #undef QT_MOC_LITERAL
  58. static const uint qt_meta_data_MainWindow[] = {
  59. // content:
  60. 8, // revision
  61. 0, // classname
  62. 0, 0, // classinfo
  63. 8, 14, // methods
  64. 0, 0, // properties
  65. 0, 0, // enums/sets
  66. 0, 0, // constructors
  67. 0, // flags
  68. 0, // signalCount
  69. // slots: name, argc, parameters, tag, flags
  70. 1, 0, 54, 2, 0x08 /* Private */,
  71. 3, 0, 55, 2, 0x08 /* Private */,
  72. 4, 0, 56, 2, 0x08 /* Private */,
  73. 5, 0, 57, 2, 0x08 /* Private */,
  74. 6, 2, 58, 2, 0x08 /* Private */,
  75. 10, 2, 63, 2, 0x08 /* Private */,
  76. 11, 1, 68, 2, 0x08 /* Private */,
  77. 14, 0, 71, 2, 0x08 /* Private */,
  78. // slots: parameters
  79. QMetaType::Void,
  80. QMetaType::Void,
  81. QMetaType::Void,
  82. QMetaType::Void,
  83. QMetaType::Void, 0x80000000 | 7, QMetaType::Int, 8, 9,
  84. QMetaType::Void, 0x80000000 | 7, QMetaType::Int, 8, 9,
  85. QMetaType::Void, 0x80000000 | 12, 13,
  86. QMetaType::Void,
  87. 0 // eod
  88. };
  89. void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  90. {
  91. if (_c == QMetaObject::InvokeMetaMethod) {
  92. auto *_t = static_cast<MainWindow *>(_o);
  93. Q_UNUSED(_t)
  94. switch (_id) {
  95. case 0: _t->on_startTestBtn_clicked(); break;
  96. case 1: _t->on_min_maxBtn_clicked(); break;
  97. case 2: _t->on_closeBtn_clicked(); break;
  98. case 3: _t->on_setConfigBtn_clicked(); break;
  99. case 4: _t->OnTreeItemDoubleClicked((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
  100. case 5: _t->onTestPlanTreeItemRemove((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
  101. case 6: _t->onNewTemps((*reinterpret_cast< const QVector<double>(*)>(_a[1]))); break;
  102. case 7: _t->onLegendClick(); break;
  103. default: ;
  104. }
  105. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  106. switch (_id) {
  107. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  108. case 6:
  109. switch (*reinterpret_cast<int*>(_a[1])) {
  110. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  111. case 0:
  112. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<double> >(); break;
  113. }
  114. break;
  115. }
  116. }
  117. }
  118. QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
  119. QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
  120. qt_meta_stringdata_MainWindow.data,
  121. qt_meta_data_MainWindow,
  122. qt_static_metacall,
  123. nullptr,
  124. nullptr
  125. } };
  126. const QMetaObject *MainWindow::metaObject() const
  127. {
  128. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  129. }
  130. void *MainWindow::qt_metacast(const char *_clname)
  131. {
  132. if (!_clname) return nullptr;
  133. if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
  134. return static_cast<void*>(this);
  135. return QMainWindow::qt_metacast(_clname);
  136. }
  137. int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  138. {
  139. _id = QMainWindow::qt_metacall(_c, _id, _a);
  140. if (_id < 0)
  141. return _id;
  142. if (_c == QMetaObject::InvokeMetaMethod) {
  143. if (_id < 8)
  144. qt_static_metacall(this, _c, _id, _a);
  145. _id -= 8;
  146. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  147. if (_id < 8)
  148. qt_static_metacall(this, _c, _id, _a);
  149. _id -= 8;
  150. }
  151. return _id;
  152. }
  153. QT_WARNING_POP
  154. QT_END_MOC_NAMESPACE