moc_ccPropertiesTreeDelegate.cpp 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'ccPropertiesTreeDelegate.h'
  3. **
  4. ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.10)
  5. **
  6. ** WARNING! All changes made in this file will be lost!
  7. *****************************************************************************/
  8. #include <memory>
  9. #include "../../../../qCC/db_tree/ccPropertiesTreeDelegate.h"
  10. #include <QtCore/qbytearray.h>
  11. #include <QtCore/qmetatype.h>
  12. #if !defined(Q_MOC_OUTPUT_REVISION)
  13. #error "The header file 'ccPropertiesTreeDelegate.h' doesn't include <QObject>."
  14. #elif Q_MOC_OUTPUT_REVISION != 67
  15. #error "This file was generated using the moc from 5.15.10. 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_ccPropertiesTreeDelegate_t {
  23. QByteArrayData data[7];
  24. char stringdata0[134];
  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_ccPropertiesTreeDelegate_t, stringdata0) + ofs \
  29. - idx * sizeof(QByteArrayData)) \
  30. )
  31. static const qt_meta_stringdata_ccPropertiesTreeDelegate_t qt_meta_stringdata_ccPropertiesTreeDelegate = {
  32. {
  33. QT_MOC_LITERAL(0, 0, 24), // "ccPropertiesTreeDelegate"
  34. QT_MOC_LITERAL(1, 25, 25), // "ccObjectPropertiesChanged"
  35. QT_MOC_LITERAL(2, 51, 0), // ""
  36. QT_MOC_LITERAL(3, 52, 10), // "ccHObject*"
  37. QT_MOC_LITERAL(4, 63, 7), // "hObject"
  38. QT_MOC_LITERAL(5, 71, 25), // "ccObjectAppearanceChanged"
  39. QT_MOC_LITERAL(6, 97, 36) // "ccObjectAndChildrenAppearance..."
  40. },
  41. "ccPropertiesTreeDelegate\0"
  42. "ccObjectPropertiesChanged\0\0ccHObject*\0"
  43. "hObject\0ccObjectAppearanceChanged\0"
  44. "ccObjectAndChildrenAppearanceChanged"
  45. };
  46. #undef QT_MOC_LITERAL
  47. static const uint qt_meta_data_ccPropertiesTreeDelegate[] = {
  48. // content:
  49. 8, // revision
  50. 0, // classname
  51. 0, 0, // classinfo
  52. 3, 14, // methods
  53. 0, 0, // properties
  54. 0, 0, // enums/sets
  55. 0, 0, // constructors
  56. 0, // flags
  57. 3, // signalCount
  58. // signals: name, argc, parameters, tag, flags
  59. 1, 1, 29, 2, 0x06 /* Public */,
  60. 5, 1, 32, 2, 0x06 /* Public */,
  61. 6, 1, 35, 2, 0x06 /* Public */,
  62. // signals: parameters
  63. QMetaType::Void, 0x80000000 | 3, 4,
  64. QMetaType::Void, 0x80000000 | 3, 4,
  65. QMetaType::Void, 0x80000000 | 3, 4,
  66. 0 // eod
  67. };
  68. void ccPropertiesTreeDelegate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  69. {
  70. if (_c == QMetaObject::InvokeMetaMethod) {
  71. auto *_t = static_cast<ccPropertiesTreeDelegate *>(_o);
  72. (void)_t;
  73. switch (_id) {
  74. case 0: _t->ccObjectPropertiesChanged((*reinterpret_cast< ccHObject*(*)>(_a[1]))); break;
  75. case 1: _t->ccObjectAppearanceChanged((*reinterpret_cast< ccHObject*(*)>(_a[1]))); break;
  76. case 2: _t->ccObjectAndChildrenAppearanceChanged((*reinterpret_cast< ccHObject*(*)>(_a[1]))); break;
  77. default: ;
  78. }
  79. } else if (_c == QMetaObject::IndexOfMethod) {
  80. int *result = reinterpret_cast<int *>(_a[0]);
  81. {
  82. using _t = void (ccPropertiesTreeDelegate::*)(ccHObject * ) const;
  83. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ccPropertiesTreeDelegate::ccObjectPropertiesChanged)) {
  84. *result = 0;
  85. return;
  86. }
  87. }
  88. {
  89. using _t = void (ccPropertiesTreeDelegate::*)(ccHObject * ) const;
  90. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ccPropertiesTreeDelegate::ccObjectAppearanceChanged)) {
  91. *result = 1;
  92. return;
  93. }
  94. }
  95. {
  96. using _t = void (ccPropertiesTreeDelegate::*)(ccHObject * ) const;
  97. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ccPropertiesTreeDelegate::ccObjectAndChildrenAppearanceChanged)) {
  98. *result = 2;
  99. return;
  100. }
  101. }
  102. }
  103. }
  104. QT_INIT_METAOBJECT const QMetaObject ccPropertiesTreeDelegate::staticMetaObject = { {
  105. QMetaObject::SuperData::link<QStyledItemDelegate::staticMetaObject>(),
  106. qt_meta_stringdata_ccPropertiesTreeDelegate.data,
  107. qt_meta_data_ccPropertiesTreeDelegate,
  108. qt_static_metacall,
  109. nullptr,
  110. nullptr
  111. } };
  112. const QMetaObject *ccPropertiesTreeDelegate::metaObject() const
  113. {
  114. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  115. }
  116. void *ccPropertiesTreeDelegate::qt_metacast(const char *_clname)
  117. {
  118. if (!_clname) return nullptr;
  119. if (!strcmp(_clname, qt_meta_stringdata_ccPropertiesTreeDelegate.stringdata0))
  120. return static_cast<void*>(this);
  121. return QStyledItemDelegate::qt_metacast(_clname);
  122. }
  123. int ccPropertiesTreeDelegate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  124. {
  125. _id = QStyledItemDelegate::qt_metacall(_c, _id, _a);
  126. if (_id < 0)
  127. return _id;
  128. if (_c == QMetaObject::InvokeMetaMethod) {
  129. if (_id < 3)
  130. qt_static_metacall(this, _c, _id, _a);
  131. _id -= 3;
  132. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  133. if (_id < 3)
  134. *reinterpret_cast<int*>(_a[0]) = -1;
  135. _id -= 3;
  136. }
  137. return _id;
  138. }
  139. // SIGNAL 0
  140. void ccPropertiesTreeDelegate::ccObjectPropertiesChanged(ccHObject * _t1)const
  141. {
  142. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  143. QMetaObject::activate(const_cast< ccPropertiesTreeDelegate *>(this), &staticMetaObject, 0, _a);
  144. }
  145. // SIGNAL 1
  146. void ccPropertiesTreeDelegate::ccObjectAppearanceChanged(ccHObject * _t1)const
  147. {
  148. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  149. QMetaObject::activate(const_cast< ccPropertiesTreeDelegate *>(this), &staticMetaObject, 1, _a);
  150. }
  151. // SIGNAL 2
  152. void ccPropertiesTreeDelegate::ccObjectAndChildrenAppearanceChanged(ccHObject * _t1)const
  153. {
  154. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  155. QMetaObject::activate(const_cast< ccPropertiesTreeDelegate *>(this), &staticMetaObject, 2, _a);
  156. }
  157. QT_WARNING_POP
  158. QT_END_MOC_NAMESPACE