umbrello 26.04.3
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_umllistview.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'umllistview.h'
3**
4** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.1)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
10#include <QtCore/qmetatype.h>
11
12#include <QtCore/qtmochelpers.h>
13
14#include <memory>
15
16
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'umllistview.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 69
21#error "This file was generated using the moc from 6.11.1. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
24#endif
25
26#ifndef Q_CONSTINIT
27#define Q_CONSTINIT
28#endif
29
30QT_WARNING_PUSH
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
35} // unnamed namespace
36
37template <> constexpr inline auto UMLListView::qt_create_metaobjectdata<qt_meta_tag_ZN11UMLListViewE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "UMLListView",
42 "slotDiagramCreated",
43 "",
44 "Uml::ID::Type",
45 "id",
46 "slotDiagramRenamed",
47 "slotDiagramRemoved",
48 "slotObjectCreated",
49 "UMLObject*",
50 "object",
51 "slotObjectRemoved",
52 "connectNewObjectsSlots",
53 "childObjectAdded",
54 "UMLClassifierListItem*",
55 "obj",
56 "childObjectRemoved",
57 "slotObjectChanged",
58 "slotMenuSelection",
59 "QAction*",
60 "action",
61 "QPoint",
62 "position",
63 "slotDropped",
64 "QDropEvent*",
65 "de",
66 "UMLListViewItem*",
67 "target",
68 "expandAll",
69 "item",
70 "collapseAll",
71 "slotCutSuccessful",
72 "slotDeleteSelectedItems",
73 "slotItemSelectionChanged",
74 "slotExpanded",
75 "QTreeWidgetItem*",
76 "slotCollapsed"
77 };
78
79 QtMocHelpers::UintData qt_methods {
80 // Slot 'slotDiagramCreated'
81 QtMocHelpers::SlotData<void(Uml::ID::Type)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
82 { 0x80000000 | 3, 4 },
83 }}),
84 // Slot 'slotDiagramRenamed'
85 QtMocHelpers::SlotData<void(Uml::ID::Type)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
86 { 0x80000000 | 3, 4 },
87 }}),
88 // Slot 'slotDiagramRemoved'
89 QtMocHelpers::SlotData<void(Uml::ID::Type)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
90 { 0x80000000 | 3, 4 },
91 }}),
92 // Slot 'slotObjectCreated'
93 QtMocHelpers::SlotData<void(UMLObject *)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
94 { 0x80000000 | 8, 9 },
95 }}),
96 // Slot 'slotObjectRemoved'
97 QtMocHelpers::SlotData<void(UMLObject *)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
98 { 0x80000000 | 8, 9 },
99 }}),
100 // Slot 'connectNewObjectsSlots'
101 QtMocHelpers::SlotData<void(UMLObject *)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
102 { 0x80000000 | 8, 9 },
103 }}),
104 // Slot 'childObjectAdded'
105 QtMocHelpers::SlotData<void(UMLClassifierListItem *)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
106 { 0x80000000 | 13, 14 },
107 }}),
108 // Slot 'childObjectRemoved'
109 QtMocHelpers::SlotData<void(UMLClassifierListItem *)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
110 { 0x80000000 | 13, 14 },
111 }}),
112 // Slot 'slotObjectChanged'
113 QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
114 // Slot 'slotMenuSelection'
115 QtMocHelpers::SlotData<void(QAction *, const QPoint &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
116 { 0x80000000 | 18, 19 }, { 0x80000000 | 20, 21 },
117 }}),
118 // Slot 'slotMenuSelection'
119 QtMocHelpers::SlotData<void(QAction *)>(17, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
120 { 0x80000000 | 18, 19 },
121 }}),
122 // Slot 'slotDropped'
123 QtMocHelpers::SlotData<void(QDropEvent *, UMLListViewItem *)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
124 { 0x80000000 | 23, 24 }, { 0x80000000 | 25, 26 },
125 }}),
126 // Slot 'expandAll'
127 QtMocHelpers::SlotData<void(UMLListViewItem *)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
128 { 0x80000000 | 25, 28 },
129 }}),
130 // Slot 'collapseAll'
131 QtMocHelpers::SlotData<void(UMLListViewItem *)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
132 { 0x80000000 | 25, 28 },
133 }}),
134 // Slot 'slotCutSuccessful'
135 QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
136 // Slot 'slotDeleteSelectedItems'
137 QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPublic, QMetaType::Void),
138 // Slot 'slotItemSelectionChanged'
139 QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessProtected, QMetaType::Void),
140 // Slot 'slotExpanded'
141 QtMocHelpers::SlotData<void(QTreeWidgetItem *)>(33, 2, QMC::AccessProtected, QMetaType::Void, {{
142 { 0x80000000 | 34, 28 },
143 }}),
144 // Slot 'slotCollapsed'
145 QtMocHelpers::SlotData<void(QTreeWidgetItem *)>(35, 2, QMC::AccessProtected, QMetaType::Void, {{
146 { 0x80000000 | 34, 28 },
147 }}),
148 };
149 QtMocHelpers::UintData qt_properties {
150 };
151 QtMocHelpers::UintData qt_enums {
152 };
153 return QtMocHelpers::metaObjectData<UMLListView, qt_meta_tag_ZN11UMLListViewE_t>(QMC::MetaObjectFlag{}, qt_stringData,
154 qt_methods, qt_properties, qt_enums);
155}
156Q_CONSTINIT const QMetaObject UMLListView::staticMetaObject = { {
157 QMetaObject::SuperData::link<QTreeWidget::staticMetaObject>(),
158 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11UMLListViewE_t>.stringdata,
159 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11UMLListViewE_t>.data,
160 qt_static_metacall,
161 nullptr,
162 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11UMLListViewE_t>.metaTypes,
163 nullptr
164} };
165
166void UMLListView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
167{
168 auto *_t = static_cast<UMLListView *>(_o);
169 if (_c == QMetaObject::InvokeMetaMethod) {
170 switch (_id) {
171 case 0: _t->slotDiagramCreated((*reinterpret_cast<std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
172 case 1: _t->slotDiagramRenamed((*reinterpret_cast<std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
173 case 2: _t->slotDiagramRemoved((*reinterpret_cast<std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
174 case 3: _t->slotObjectCreated((*reinterpret_cast<std::add_pointer_t<UMLObject*>>(_a[1]))); break;
175 case 4: _t->slotObjectRemoved((*reinterpret_cast<std::add_pointer_t<UMLObject*>>(_a[1]))); break;
176 case 5: _t->connectNewObjectsSlots((*reinterpret_cast<std::add_pointer_t<UMLObject*>>(_a[1]))); break;
177 case 6: _t->childObjectAdded((*reinterpret_cast<std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
178 case 7: _t->childObjectRemoved((*reinterpret_cast<std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
179 case 8: _t->slotObjectChanged(); break;
180 case 9: _t->slotMenuSelection((*reinterpret_cast<std::add_pointer_t<QAction*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[2]))); break;
181 case 10: _t->slotMenuSelection((*reinterpret_cast<std::add_pointer_t<QAction*>>(_a[1]))); break;
182 case 11: _t->slotDropped((*reinterpret_cast<std::add_pointer_t<QDropEvent*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<UMLListViewItem*>>(_a[2]))); break;
183 case 12: _t->expandAll((*reinterpret_cast<std::add_pointer_t<UMLListViewItem*>>(_a[1]))); break;
184 case 13: _t->collapseAll((*reinterpret_cast<std::add_pointer_t<UMLListViewItem*>>(_a[1]))); break;
185 case 14: _t->slotCutSuccessful(); break;
186 case 15: _t->slotDeleteSelectedItems(); break;
187 case 16: _t->slotItemSelectionChanged(); break;
188 case 17: _t->slotExpanded((*reinterpret_cast<std::add_pointer_t<QTreeWidgetItem*>>(_a[1]))); break;
189 case 18: _t->slotCollapsed((*reinterpret_cast<std::add_pointer_t<QTreeWidgetItem*>>(_a[1]))); break;
190 default: ;
191 }
192 }
193 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
194 switch (_id) {
195 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
196 case 3:
197 switch (*reinterpret_cast<int*>(_a[1])) {
198 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
199 case 0:
200 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLObject* >(); break;
201 }
202 break;
203 case 4:
204 switch (*reinterpret_cast<int*>(_a[1])) {
205 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
206 case 0:
207 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLObject* >(); break;
208 }
209 break;
210 case 5:
211 switch (*reinterpret_cast<int*>(_a[1])) {
212 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
213 case 0:
214 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLObject* >(); break;
215 }
216 break;
217 case 9:
218 switch (*reinterpret_cast<int*>(_a[1])) {
219 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
220 case 0:
221 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
222 }
223 break;
224 case 10:
225 switch (*reinterpret_cast<int*>(_a[1])) {
226 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
227 case 0:
228 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
229 }
230 break;
231 }
232 }
233}
234
235const QMetaObject *UMLListView::metaObject() const
236{
237 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
238}
239
240void *UMLListView::qt_metacast(const char *_clname)
241{
242 if (!_clname) return nullptr;
243 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11UMLListViewE_t>.strings))
244 return static_cast<void*>(this);
245 return QTreeWidget::qt_metacast(_clname);
246}
247
248int UMLListView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
249{
250 _id = QTreeWidget::qt_metacall(_c, _id, _a);
251 if (_id < 0)
252 return _id;
253 if (_c == QMetaObject::InvokeMetaMethod) {
254 if (_id < 19)
255 qt_static_metacall(this, _c, _id, _a);
256 _id -= 19;
257 }
258 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
259 if (_id < 19)
260 qt_static_metacall(this, _c, _id, _a);
261 _id -= 19;
262 }
263 return _id;
264}
265QT_WARNING_POP
UMLListView(QWidget *parent=nullptr)
Definition umllistview.cpp:89
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33
std::string Type
Definition basictypes.h:371