moc_launchpage.cpp 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'launchpage.h'
  3. **
  4. ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.0)
  5. **
  6. ** WARNING! All changes made in this file will be lost!
  7. *****************************************************************************/
  8. #include "../launchpage.h"
  9. #include <QtCore/qbytearray.h>
  10. #include <QtCore/qmetatype.h>
  11. #if !defined(Q_MOC_OUTPUT_REVISION)
  12. #error "The header file 'launchpage.h' doesn't include <QObject>."
  13. #elif Q_MOC_OUTPUT_REVISION != 67
  14. #error "This file was generated using the moc from 5.9.0. It"
  15. #error "cannot be used with the include files from this version of Qt."
  16. #error "(The moc has changed too much.)"
  17. #endif
  18. QT_BEGIN_MOC_NAMESPACE
  19. QT_WARNING_PUSH
  20. QT_WARNING_DISABLE_DEPRECATED
  21. struct qt_meta_stringdata_LaunchPage_t {
  22. QByteArrayData data[7];
  23. char stringdata0[117];
  24. };
  25. #define QT_MOC_LITERAL(idx, ofs, len) \
  26. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  27. qptrdiff(offsetof(qt_meta_stringdata_LaunchPage_t, stringdata0) + ofs \
  28. - idx * sizeof(QByteArrayData)) \
  29. )
  30. static const qt_meta_stringdata_LaunchPage_t qt_meta_stringdata_LaunchPage = {
  31. {
  32. QT_MOC_LITERAL(0, 0, 10), // "LaunchPage"
  33. QT_MOC_LITERAL(1, 11, 24), // "on_confirmButton_clicked"
  34. QT_MOC_LITERAL(2, 36, 0), // ""
  35. QT_MOC_LITERAL(3, 37, 22), // "on_openExample_toggled"
  36. QT_MOC_LITERAL(4, 60, 7), // "checked"
  37. QT_MOC_LITERAL(5, 68, 23), // "on_browseButton_clicked"
  38. QT_MOC_LITERAL(6, 92, 24) // "on_createExample_toggled"
  39. },
  40. "LaunchPage\0on_confirmButton_clicked\0"
  41. "\0on_openExample_toggled\0checked\0"
  42. "on_browseButton_clicked\0"
  43. "on_createExample_toggled"
  44. };
  45. #undef QT_MOC_LITERAL
  46. static const uint qt_meta_data_LaunchPage[] = {
  47. // content:
  48. 7, // 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, 0x08 /* Private */,
  59. 3, 1, 35, 2, 0x08 /* Private */,
  60. 5, 0, 38, 2, 0x08 /* Private */,
  61. 6, 1, 39, 2, 0x08 /* Private */,
  62. // slots: parameters
  63. QMetaType::Void,
  64. QMetaType::Void, QMetaType::Bool, 4,
  65. QMetaType::Void,
  66. QMetaType::Void, QMetaType::Bool, 4,
  67. 0 // eod
  68. };
  69. void LaunchPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  70. {
  71. if (_c == QMetaObject::InvokeMetaMethod) {
  72. LaunchPage *_t = static_cast<LaunchPage *>(_o);
  73. Q_UNUSED(_t)
  74. switch (_id) {
  75. case 0: _t->on_confirmButton_clicked(); break;
  76. case 1: _t->on_openExample_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
  77. case 2: _t->on_browseButton_clicked(); break;
  78. case 3: _t->on_createExample_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
  79. default: ;
  80. }
  81. }
  82. }
  83. const QMetaObject LaunchPage::staticMetaObject = {
  84. { &QMainWindow::staticMetaObject, qt_meta_stringdata_LaunchPage.data,
  85. qt_meta_data_LaunchPage, qt_static_metacall, nullptr, nullptr}
  86. };
  87. const QMetaObject *LaunchPage::metaObject() const
  88. {
  89. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  90. }
  91. void *LaunchPage::qt_metacast(const char *_clname)
  92. {
  93. if (!_clname) return nullptr;
  94. if (!strcmp(_clname, qt_meta_stringdata_LaunchPage.stringdata0))
  95. return static_cast<void*>(const_cast< LaunchPage*>(this));
  96. return QMainWindow::qt_metacast(_clname);
  97. }
  98. int LaunchPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  99. {
  100. _id = QMainWindow::qt_metacall(_c, _id, _a);
  101. if (_id < 0)
  102. return _id;
  103. if (_c == QMetaObject::InvokeMetaMethod) {
  104. if (_id < 4)
  105. qt_static_metacall(this, _c, _id, _a);
  106. _id -= 4;
  107. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  108. if (_id < 4)
  109. *reinterpret_cast<int*>(_a[0]) = -1;
  110. _id -= 4;
  111. }
  112. return _id;
  113. }
  114. QT_WARNING_POP
  115. QT_END_MOC_NAMESPACE