moc_ImageProvider.cpp 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'ImageProvider.h'
  3. **
  4. ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.2.4)
  5. **
  6. ** WARNING! All changes made in this file will be lost!
  7. *****************************************************************************/
  8. #include <memory>
  9. #include "../../Qt/ImageProvider.h"
  10. #include <QtCore/qbytearray.h>
  11. #include <QtCore/qmetatype.h>
  12. #if !defined(Q_MOC_OUTPUT_REVISION)
  13. #error "The header file 'ImageProvider.h' doesn't include <QObject>."
  14. #elif Q_MOC_OUTPUT_REVISION != 68
  15. #error "This file was generated using the moc from 6.2.4. 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_ShowImage_t {
  23. const uint offsetsAndSize[30];
  24. char stringdata0[257];
  25. };
  26. #define QT_MOC_LITERAL(ofs, len) \
  27. uint(offsetof(qt_meta_stringdata_ShowImage_t, stringdata0) + ofs), len
  28. static const qt_meta_stringdata_ShowImage_t qt_meta_stringdata_ShowImage = {
  29. {
  30. QT_MOC_LITERAL(0, 9), // "ShowImage"
  31. QT_MOC_LITERAL(10, 21), // "callQmlRefeshFrontImg"
  32. QT_MOC_LITERAL(32, 0), // ""
  33. QT_MOC_LITERAL(33, 20), // "callQmlRefeshBackImg"
  34. QT_MOC_LITERAL(54, 21), // "callQmlRefeshRightImg"
  35. QT_MOC_LITERAL(76, 20), // "callQmlRefeshLeftImg"
  36. QT_MOC_LITERAL(97, 23), // "callQmlRefeshLeftAnchor"
  37. QT_MOC_LITERAL(121, 24), // "callQmlRefeshRightAnchor"
  38. QT_MOC_LITERAL(146, 21), // "callQmlRefeshPanelImg"
  39. QT_MOC_LITERAL(168, 14), // "sendFrontImage"
  40. QT_MOC_LITERAL(183, 13), // "sendBackImage"
  41. QT_MOC_LITERAL(197, 13), // "sendLeftImage"
  42. QT_MOC_LITERAL(211, 14), // "sendRightImage"
  43. QT_MOC_LITERAL(226, 14), // "sendLeftAnchor"
  44. QT_MOC_LITERAL(241, 15) // "sendRightAnchor"
  45. },
  46. "ShowImage\0callQmlRefeshFrontImg\0\0"
  47. "callQmlRefeshBackImg\0callQmlRefeshRightImg\0"
  48. "callQmlRefeshLeftImg\0callQmlRefeshLeftAnchor\0"
  49. "callQmlRefeshRightAnchor\0callQmlRefeshPanelImg\0"
  50. "sendFrontImage\0sendBackImage\0sendLeftImage\0"
  51. "sendRightImage\0sendLeftAnchor\0"
  52. "sendRightAnchor"
  53. };
  54. #undef QT_MOC_LITERAL
  55. static const uint qt_meta_data_ShowImage[] = {
  56. // content:
  57. 10, // revision
  58. 0, // classname
  59. 0, 0, // classinfo
  60. 13, 14, // methods
  61. 0, 0, // properties
  62. 0, 0, // enums/sets
  63. 0, 0, // constructors
  64. 0, // flags
  65. 7, // signalCount
  66. // signals: name, argc, parameters, tag, flags, initial metatype offsets
  67. 1, 0, 92, 2, 0x06, 1 /* Public */,
  68. 3, 0, 93, 2, 0x06, 2 /* Public */,
  69. 4, 0, 94, 2, 0x06, 3 /* Public */,
  70. 5, 0, 95, 2, 0x06, 4 /* Public */,
  71. 6, 0, 96, 2, 0x06, 5 /* Public */,
  72. 7, 0, 97, 2, 0x06, 6 /* Public */,
  73. 8, 0, 98, 2, 0x06, 7 /* Public */,
  74. // slots: name, argc, parameters, tag, flags, initial metatype offsets
  75. 9, 0, 99, 2, 0x0a, 8 /* Public */,
  76. 10, 0, 100, 2, 0x0a, 9 /* Public */,
  77. 11, 0, 101, 2, 0x0a, 10 /* Public */,
  78. 12, 0, 102, 2, 0x0a, 11 /* Public */,
  79. 13, 0, 103, 2, 0x0a, 12 /* Public */,
  80. 14, 0, 104, 2, 0x0a, 13 /* Public */,
  81. // signals: parameters
  82. QMetaType::Void,
  83. QMetaType::Void,
  84. QMetaType::Void,
  85. QMetaType::Void,
  86. QMetaType::Void,
  87. QMetaType::Void,
  88. QMetaType::Void,
  89. // slots: parameters
  90. QMetaType::Void,
  91. QMetaType::Void,
  92. QMetaType::Void,
  93. QMetaType::Void,
  94. QMetaType::Void,
  95. QMetaType::Void,
  96. 0 // eod
  97. };
  98. void ShowImage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  99. {
  100. if (_c == QMetaObject::InvokeMetaMethod) {
  101. auto *_t = static_cast<ShowImage *>(_o);
  102. (void)_t;
  103. switch (_id) {
  104. case 0: _t->callQmlRefeshFrontImg(); break;
  105. case 1: _t->callQmlRefeshBackImg(); break;
  106. case 2: _t->callQmlRefeshRightImg(); break;
  107. case 3: _t->callQmlRefeshLeftImg(); break;
  108. case 4: _t->callQmlRefeshLeftAnchor(); break;
  109. case 5: _t->callQmlRefeshRightAnchor(); break;
  110. case 6: _t->callQmlRefeshPanelImg(); break;
  111. case 7: _t->sendFrontImage(); break;
  112. case 8: _t->sendBackImage(); break;
  113. case 9: _t->sendLeftImage(); break;
  114. case 10: _t->sendRightImage(); break;
  115. case 11: _t->sendLeftAnchor(); break;
  116. case 12: _t->sendRightAnchor(); break;
  117. default: ;
  118. }
  119. } else if (_c == QMetaObject::IndexOfMethod) {
  120. int *result = reinterpret_cast<int *>(_a[0]);
  121. {
  122. using _t = void (ShowImage::*)();
  123. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ShowImage::callQmlRefeshFrontImg)) {
  124. *result = 0;
  125. return;
  126. }
  127. }
  128. {
  129. using _t = void (ShowImage::*)();
  130. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ShowImage::callQmlRefeshBackImg)) {
  131. *result = 1;
  132. return;
  133. }
  134. }
  135. {
  136. using _t = void (ShowImage::*)();
  137. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ShowImage::callQmlRefeshRightImg)) {
  138. *result = 2;
  139. return;
  140. }
  141. }
  142. {
  143. using _t = void (ShowImage::*)();
  144. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ShowImage::callQmlRefeshLeftImg)) {
  145. *result = 3;
  146. return;
  147. }
  148. }
  149. {
  150. using _t = void (ShowImage::*)();
  151. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ShowImage::callQmlRefeshLeftAnchor)) {
  152. *result = 4;
  153. return;
  154. }
  155. }
  156. {
  157. using _t = void (ShowImage::*)();
  158. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ShowImage::callQmlRefeshRightAnchor)) {
  159. *result = 5;
  160. return;
  161. }
  162. }
  163. {
  164. using _t = void (ShowImage::*)();
  165. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ShowImage::callQmlRefeshPanelImg)) {
  166. *result = 6;
  167. return;
  168. }
  169. }
  170. }
  171. (void)_a;
  172. }
  173. const QMetaObject ShowImage::staticMetaObject = { {
  174. QMetaObject::SuperData::link<QObject::staticMetaObject>(),
  175. qt_meta_stringdata_ShowImage.offsetsAndSize,
  176. qt_meta_data_ShowImage,
  177. qt_static_metacall,
  178. nullptr,
  179. qt_incomplete_metaTypeArray<qt_meta_stringdata_ShowImage_t
  180. , QtPrivate::TypeAndForceComplete<ShowImage, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
  181. , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
  182. >,
  183. nullptr
  184. } };
  185. const QMetaObject *ShowImage::metaObject() const
  186. {
  187. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  188. }
  189. void *ShowImage::qt_metacast(const char *_clname)
  190. {
  191. if (!_clname) return nullptr;
  192. if (!strcmp(_clname, qt_meta_stringdata_ShowImage.stringdata0))
  193. return static_cast<void*>(this);
  194. if (!strcmp(_clname, "IRender"))
  195. return static_cast< IRender*>(this);
  196. return QObject::qt_metacast(_clname);
  197. }
  198. int ShowImage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  199. {
  200. _id = QObject::qt_metacall(_c, _id, _a);
  201. if (_id < 0)
  202. return _id;
  203. if (_c == QMetaObject::InvokeMetaMethod) {
  204. if (_id < 13)
  205. qt_static_metacall(this, _c, _id, _a);
  206. _id -= 13;
  207. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  208. if (_id < 13)
  209. *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
  210. _id -= 13;
  211. }
  212. return _id;
  213. }
  214. // SIGNAL 0
  215. void ShowImage::callQmlRefeshFrontImg()
  216. {
  217. QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
  218. }
  219. // SIGNAL 1
  220. void ShowImage::callQmlRefeshBackImg()
  221. {
  222. QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
  223. }
  224. // SIGNAL 2
  225. void ShowImage::callQmlRefeshRightImg()
  226. {
  227. QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
  228. }
  229. // SIGNAL 3
  230. void ShowImage::callQmlRefeshLeftImg()
  231. {
  232. QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
  233. }
  234. // SIGNAL 4
  235. void ShowImage::callQmlRefeshLeftAnchor()
  236. {
  237. QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
  238. }
  239. // SIGNAL 5
  240. void ShowImage::callQmlRefeshRightAnchor()
  241. {
  242. QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
  243. }
  244. // SIGNAL 6
  245. void ShowImage::callQmlRefeshPanelImg()
  246. {
  247. QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
  248. }
  249. QT_WARNING_POP
  250. QT_END_MOC_NAMESPACE