moc_loadertest.cpp 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'loadertest.h'
  3. **
  4. ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.0)
  5. **
  6. ** WARNING! All changes made in this file will be lost!
  7. *****************************************************************************/
  8. #include "../../tests/loadertest.h"
  9. #include <QtCore/qbytearray.h>
  10. #include <QtCore/qmetatype.h>
  11. #if !defined(Q_MOC_OUTPUT_REVISION)
  12. #error "The header file 'loadertest.h' doesn't include <QObject>."
  13. #elif Q_MOC_OUTPUT_REVISION != 67
  14. #error "This file was generated using the moc from 5.5.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. struct qt_meta_stringdata_LoaderTest_t {
  20. QByteArrayData data[10];
  21. char stringdata0[144];
  22. };
  23. #define QT_MOC_LITERAL(idx, ofs, len) \
  24. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  25. qptrdiff(offsetof(qt_meta_stringdata_LoaderTest_t, stringdata0) + ofs \
  26. - idx * sizeof(QByteArrayData)) \
  27. )
  28. static const qt_meta_stringdata_LoaderTest_t qt_meta_stringdata_LoaderTest = {
  29. {
  30. QT_MOC_LITERAL(0, 0, 10), // "LoaderTest"
  31. QT_MOC_LITERAL(1, 11, 12), // "initTestCase"
  32. QT_MOC_LITERAL(2, 24, 0), // ""
  33. QT_MOC_LITERAL(3, 25, 15), // "cleanupTestCase"
  34. QT_MOC_LITERAL(4, 41, 4), // "init"
  35. QT_MOC_LITERAL(5, 46, 7), // "cleanup"
  36. QT_MOC_LITERAL(6, 54, 19), // "getEntryNumbersTest"
  37. QT_MOC_LITERAL(7, 74, 24), // "getEntryNumbersTest_data"
  38. QT_MOC_LITERAL(8, 99, 19), // "parseConfigLineTest"
  39. QT_MOC_LITERAL(9, 119, 24) // "parseConfigLineTest_data"
  40. },
  41. "LoaderTest\0initTestCase\0\0cleanupTestCase\0"
  42. "init\0cleanup\0getEntryNumbersTest\0"
  43. "getEntryNumbersTest_data\0parseConfigLineTest\0"
  44. "parseConfigLineTest_data"
  45. };
  46. #undef QT_MOC_LITERAL
  47. static const uint qt_meta_data_LoaderTest[] = {
  48. // content:
  49. 7, // revision
  50. 0, // classname
  51. 0, 0, // classinfo
  52. 8, 14, // methods
  53. 0, 0, // properties
  54. 0, 0, // enums/sets
  55. 0, 0, // constructors
  56. 0, // flags
  57. 0, // signalCount
  58. // slots: name, argc, parameters, tag, flags
  59. 1, 0, 54, 2, 0x08 /* Private */,
  60. 3, 0, 55, 2, 0x08 /* Private */,
  61. 4, 0, 56, 2, 0x08 /* Private */,
  62. 5, 0, 57, 2, 0x08 /* Private */,
  63. 6, 0, 58, 2, 0x08 /* Private */,
  64. 7, 0, 59, 2, 0x08 /* Private */,
  65. 8, 0, 60, 2, 0x08 /* Private */,
  66. 9, 0, 61, 2, 0x08 /* Private */,
  67. // slots: parameters
  68. QMetaType::Void,
  69. QMetaType::Void,
  70. QMetaType::Void,
  71. QMetaType::Void,
  72. QMetaType::Void,
  73. QMetaType::Void,
  74. QMetaType::Void,
  75. QMetaType::Void,
  76. 0 // eod
  77. };
  78. void LoaderTest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  79. {
  80. if (_c == QMetaObject::InvokeMetaMethod) {
  81. LoaderTest *_t = static_cast<LoaderTest *>(_o);
  82. Q_UNUSED(_t)
  83. switch (_id) {
  84. case 0: _t->initTestCase(); break;
  85. case 1: _t->cleanupTestCase(); break;
  86. case 2: _t->init(); break;
  87. case 3: _t->cleanup(); break;
  88. case 4: _t->getEntryNumbersTest(); break;
  89. case 5: _t->getEntryNumbersTest_data(); break;
  90. case 6: _t->parseConfigLineTest(); break;
  91. case 7: _t->parseConfigLineTest_data(); break;
  92. default: ;
  93. }
  94. }
  95. Q_UNUSED(_a);
  96. }
  97. const QMetaObject LoaderTest::staticMetaObject = {
  98. { &QObject::staticMetaObject, qt_meta_stringdata_LoaderTest.data,
  99. qt_meta_data_LoaderTest, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
  100. };
  101. const QMetaObject *LoaderTest::metaObject() const
  102. {
  103. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  104. }
  105. void *LoaderTest::qt_metacast(const char *_clname)
  106. {
  107. if (!_clname) return Q_NULLPTR;
  108. if (!strcmp(_clname, qt_meta_stringdata_LoaderTest.stringdata0))
  109. return static_cast<void*>(const_cast< LoaderTest*>(this));
  110. return QObject::qt_metacast(_clname);
  111. }
  112. int LoaderTest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  113. {
  114. _id = QObject::qt_metacall(_c, _id, _a);
  115. if (_id < 0)
  116. return _id;
  117. if (_c == QMetaObject::InvokeMetaMethod) {
  118. if (_id < 8)
  119. qt_static_metacall(this, _c, _id, _a);
  120. _id -= 8;
  121. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  122. if (_id < 8)
  123. *reinterpret_cast<int*>(_a[0]) = -1;
  124. _id -= 8;
  125. }
  126. return _id;
  127. }
  128. QT_END_MOC_NAMESPACE