umbrello 25.12.2
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.9.3)
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.9.3. 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 "position",
62 "slotDropped",
63 "QDropEvent*",
64 "de",
65 "UMLListViewItem*",
66 "target",
67 "expandAll",
68 "item",
69 "collapseAll",
70 "slotCutSuccessful",
71 "slotDeleteSelectedItems",
72 "slotItemSelectionChanged",
73 "slotExpanded",
74 "QTreeWidgetItem*",
75 "slotCollapsed"
76 };
77
78 QtMocHelpers::UintData qt_methods {
79 // Slot 'slotDiagramCreated'
80 QtMocHelpers::SlotData<void(Uml::ID::Type)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
81 { 0x80000000 | 3, 4 },
82 }}),
83 // Slot 'slotDiagramRenamed'
84 QtMocHelpers::SlotData<void(Uml::ID::Type)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
85 { 0x80000000 | 3, 4 },
86 }}),
87 // Slot 'slotDiagramRemoved'
88 QtMocHelpers::SlotData<void(Uml::ID::Type)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
89 { 0x80000000 | 3, 4 },
90 }}),
91 // Slot 'slotObjectCreated'
92 QtMocHelpers::SlotData<void(UMLObject *)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
93 { 0x80000000 | 8, 9 },
94 }}),
95 // Slot 'slotObjectRemoved'
96 QtMocHelpers::SlotData<void(UMLObject *)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
97 { 0x80000000 | 8, 9 },
98 }}),
99 // Slot 'connectNewObjectsSlots'
100 QtMocHelpers::SlotData<void(UMLObject *)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
101 { 0x80000000 | 8, 9 },
102 }}),
103 // Slot 'childObjectAdded'
104 QtMocHelpers::SlotData<void(UMLClassifierListItem *)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
105 { 0x80000000 | 13, 14 },
106 }}),
107 // Slot 'childObjectRemoved'
108 QtMocHelpers::SlotData<void(UMLClassifierListItem *)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
109 { 0x80000000 | 13, 14 },
110 }}),
111 // Slot 'slotObjectChanged'
112 QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
113 // Slot 'slotMenuSelection'
114 QtMocHelpers::SlotData<void(QAction *, const QPoint &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
115 { 0x80000000 | 18, 19 }, { QMetaType::QPoint, 20 },
116 }}),
117 // Slot 'slotMenuSelection'
118 QtMocHelpers::SlotData<void(QAction *)>(17, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
119 { 0x80000000 | 18, 19 },
120 }}),
121 // Slot 'slotDropped'
122 QtMocHelpers::SlotData<void(QDropEvent *, UMLListViewItem *)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
123 { 0x80000000 | 22, 23 }, { 0x80000000 | 24, 25 },
124 }}),
125 // Slot 'expandAll'
126 QtMocHelpers::SlotData<void(UMLListViewItem *)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
127 { 0x80000000 | 24, 27 },
128 }}),
129 // Slot 'collapseAll'
130 QtMocHelpers::SlotData<void(UMLListViewItem *)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
131 { 0x80000000 | 24, 27 },
132 }}),
133 // Slot 'slotCutSuccessful'
134 QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
135 // Slot 'slotDeleteSelectedItems'
136 QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
137 // Slot 'slotItemSelectionChanged'
138 QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessProtected, QMetaType::Void),
139 // Slot 'slotExpanded'
140 QtMocHelpers::SlotData<void(QTreeWidgetItem *)>(32, 2, QMC::AccessProtected, QMetaType::Void, {{
141 { 0x80000000 | 33, 27 },
142 }}),
143 // Slot 'slotCollapsed'
144 QtMocHelpers::SlotData<void(QTreeWidgetItem *)>(34, 2, QMC::AccessProtected, QMetaType::Void, {{
145 { 0x80000000 | 33, 27 },
146 }}),
147 };
148 QtMocHelpers::UintData qt_properties {
149 };
150 QtMocHelpers::UintData qt_enums {
151 };
152 return QtMocHelpers::metaObjectData<UMLListView, qt_meta_tag_ZN11UMLListViewE_t>(QMC::MetaObjectFlag{}, qt_stringData,
153 qt_methods, qt_properties, qt_enums);
154}
155Q_CONSTINIT const QMetaObject UMLListView::staticMetaObject = { {
156 QMetaObject::SuperData::link<QTreeWidget::staticMetaObject>(),
157 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11UMLListViewE_t>.stringdata,
158 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11UMLListViewE_t>.data,
159 qt_static_metacall,
160 nullptr,
161 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11UMLListViewE_t>.metaTypes,
162 nullptr
163} };
164
165void UMLListView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
166{
167 auto *_t = static_cast<UMLListView *>(_o);
168 if (_c == QMetaObject::InvokeMetaMethod) {
169 switch (_id) {
170 case 0: _t->slotDiagramCreated((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
171 case 1: _t->slotDiagramRenamed((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
172 case 2: _t->slotDiagramRemoved((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
173 case 3: _t->slotObjectCreated((*reinterpret_cast< std::add_pointer_t<UMLObject*>>(_a[1]))); break;
174 case 4: _t->slotObjectRemoved((*reinterpret_cast< std::add_pointer_t<UMLObject*>>(_a[1]))); break;
175 case 5: _t->connectNewObjectsSlots((*reinterpret_cast< std::add_pointer_t<UMLObject*>>(_a[1]))); break;
176 case 6: _t->childObjectAdded((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
177 case 7: _t->childObjectRemoved((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
178 case 8: _t->slotObjectChanged(); break;
179 case 9: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QPoint>>(_a[2]))); break;
180 case 10: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
181 case 11: _t->slotDropped((*reinterpret_cast< std::add_pointer_t<QDropEvent*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<UMLListViewItem*>>(_a[2]))); break;
182 case 12: _t->expandAll((*reinterpret_cast< std::add_pointer_t<UMLListViewItem*>>(_a[1]))); break;
183 case 13: _t->collapseAll((*reinterpret_cast< std::add_pointer_t<UMLListViewItem*>>(_a[1]))); break;
184 case 14: _t->slotCutSuccessful(); break;
185 case 15: _t->slotDeleteSelectedItems(); break;
186 case 16: _t->slotItemSelectionChanged(); break;
187 case 17: _t->slotExpanded((*reinterpret_cast< std::add_pointer_t<QTreeWidgetItem*>>(_a[1]))); break;
188 case 18: _t->slotCollapsed((*reinterpret_cast< std::add_pointer_t<QTreeWidgetItem*>>(_a[1]))); break;
189 default: ;
190 }
191 }
192 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
193 switch (_id) {
194 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
195 case 3:
196 switch (*reinterpret_cast<int*>(_a[1])) {
197 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
198 case 0:
199 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLObject* >(); break;
200 }
201 break;
202 case 4:
203 switch (*reinterpret_cast<int*>(_a[1])) {
204 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
205 case 0:
206 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLObject* >(); break;
207 }
208 break;
209 case 5:
210 switch (*reinterpret_cast<int*>(_a[1])) {
211 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
212 case 0:
213 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLObject* >(); break;
214 }
215 break;
216 case 9:
217 switch (*reinterpret_cast<int*>(_a[1])) {
218 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
219 case 0:
220 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
221 }
222 break;
223 case 10:
224 switch (*reinterpret_cast<int*>(_a[1])) {
225 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
226 case 0:
227 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
228 }
229 break;
230 }
231 }
232}
233
234const QMetaObject *UMLListView::metaObject() const
235{
236 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
237}
238
239void *UMLListView::qt_metacast(const char *_clname)
240{
241 if (!_clname) return nullptr;
242 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11UMLListViewE_t>.strings))
243 return static_cast<void*>(this);
244 return QTreeWidget::qt_metacast(_clname);
245}
246
247int UMLListView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
248{
249 _id = QTreeWidget::qt_metacall(_c, _id, _a);
250 if (_id < 0)
251 return _id;
252 if (_c == QMetaObject::InvokeMetaMethod) {
253 if (_id < 19)
254 qt_static_metacall(this, _c, _id, _a);
255 _id -= 19;
256 }
257 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
258 if (_id < 19)
259 qt_static_metacall(this, _c, _id, _a);
260 _id -= 19;
261 }
262 return _id;
263}
264QT_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