umbrello 25.11.70
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 68 (Qt 6.8.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 != 68
21#error "This file was generated using the moc from 6.8.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
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN11UMLListViewE = QtMocHelpers::stringData(
40 "UMLListView",
41 "slotDiagramCreated",
42 "",
43 "Uml::ID::Type",
44 "id",
45 "slotDiagramRenamed",
46 "slotDiagramRemoved",
47 "slotObjectCreated",
48 "UMLObject*",
49 "object",
50 "slotObjectRemoved",
51 "connectNewObjectsSlots",
52 "childObjectAdded",
53 "UMLClassifierListItem*",
54 "obj",
55 "childObjectRemoved",
56 "slotObjectChanged",
57 "slotMenuSelection",
58 "QAction*",
59 "action",
60 "position",
61 "slotDropped",
62 "QDropEvent*",
63 "de",
64 "UMLListViewItem*",
65 "target",
66 "expandAll",
67 "item",
68 "collapseAll",
69 "slotCutSuccessful",
70 "slotDeleteSelectedItems",
71 "slotItemSelectionChanged",
72 "slotExpanded",
73 "QTreeWidgetItem*",
74 "slotCollapsed"
75);
76#else // !QT_MOC_HAS_STRINGDATA
77#error "qtmochelpers.h not found or too old."
78#endif // !QT_MOC_HAS_STRINGDATA
79
81
82 // content:
83 12, // revision
84 0, // classname
85 0, 0, // classinfo
86 19, 14, // methods
87 0, 0, // properties
88 0, 0, // enums/sets
89 0, 0, // constructors
90 0, // flags
91 0, // signalCount
92
93 // slots: name, argc, parameters, tag, flags, initial metatype offsets
94 1, 1, 128, 2, 0x0a, 1 /* Public */,
95 5, 1, 131, 2, 0x0a, 3 /* Public */,
96 6, 1, 134, 2, 0x0a, 5 /* Public */,
97 7, 1, 137, 2, 0x0a, 7 /* Public */,
98 10, 1, 140, 2, 0x0a, 9 /* Public */,
99 11, 1, 143, 2, 0x0a, 11 /* Public */,
100 12, 1, 146, 2, 0x0a, 13 /* Public */,
101 15, 1, 149, 2, 0x0a, 15 /* Public */,
102 16, 0, 152, 2, 0x0a, 17 /* Public */,
103 17, 2, 153, 2, 0x0a, 18 /* Public */,
104 17, 1, 158, 2, 0x2a, 21 /* Public | MethodCloned */,
105 21, 2, 161, 2, 0x0a, 23 /* Public */,
106 26, 1, 166, 2, 0x0a, 26 /* Public */,
107 28, 1, 169, 2, 0x0a, 28 /* Public */,
108 29, 0, 172, 2, 0x0a, 30 /* Public */,
109 30, 0, 173, 2, 0x0a, 31 /* Public */,
110 31, 0, 174, 2, 0x09, 32 /* Protected */,
111 32, 1, 175, 2, 0x09, 33 /* Protected */,
112 34, 1, 178, 2, 0x09, 35 /* Protected */,
113
114 // slots: parameters
115 QMetaType::Void, 0x80000000 | 3, 4,
116 QMetaType::Void, 0x80000000 | 3, 4,
117 QMetaType::Void, 0x80000000 | 3, 4,
118 QMetaType::Void, 0x80000000 | 8, 9,
119 QMetaType::Void, 0x80000000 | 8, 9,
120 QMetaType::Void, 0x80000000 | 8, 9,
121 QMetaType::Void, 0x80000000 | 13, 14,
122 QMetaType::Void, 0x80000000 | 13, 14,
123 QMetaType::Void,
124 QMetaType::Void, 0x80000000 | 18, QMetaType::QPoint, 19, 20,
125 QMetaType::Void, 0x80000000 | 18, 19,
126 QMetaType::Void, 0x80000000 | 22, 0x80000000 | 24, 23, 25,
127 QMetaType::Void, 0x80000000 | 24, 27,
128 QMetaType::Void, 0x80000000 | 24, 27,
129 QMetaType::Void,
130 QMetaType::Void,
131 QMetaType::Void,
132 QMetaType::Void, 0x80000000 | 33, 27,
133 QMetaType::Void, 0x80000000 | 33, 27,
134
135 0 // eod
136};
137
138Q_CONSTINIT const QMetaObject UMLListView::staticMetaObject = { {
139 QMetaObject::SuperData::link<QTreeWidget::staticMetaObject>(),
140 qt_meta_stringdata_ZN11UMLListViewE.offsetsAndSizes,
142 qt_static_metacall,
143 nullptr,
144 qt_incomplete_metaTypeArray<qt_meta_tag_ZN11UMLListViewE_t,
145 // Q_OBJECT / Q_GADGET
146 QtPrivate::TypeAndForceComplete<UMLListView, std::true_type>,
147 // method 'slotDiagramCreated'
148 QtPrivate::TypeAndForceComplete<void, std::false_type>,
149 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
150 // method 'slotDiagramRenamed'
151 QtPrivate::TypeAndForceComplete<void, std::false_type>,
152 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
153 // method 'slotDiagramRemoved'
154 QtPrivate::TypeAndForceComplete<void, std::false_type>,
155 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
156 // method 'slotObjectCreated'
157 QtPrivate::TypeAndForceComplete<void, std::false_type>,
158 QtPrivate::TypeAndForceComplete<UMLObject *, std::false_type>,
159 // method 'slotObjectRemoved'
160 QtPrivate::TypeAndForceComplete<void, std::false_type>,
161 QtPrivate::TypeAndForceComplete<UMLObject *, std::false_type>,
162 // method 'connectNewObjectsSlots'
163 QtPrivate::TypeAndForceComplete<void, std::false_type>,
164 QtPrivate::TypeAndForceComplete<UMLObject *, std::false_type>,
165 // method 'childObjectAdded'
166 QtPrivate::TypeAndForceComplete<void, std::false_type>,
167 QtPrivate::TypeAndForceComplete<UMLClassifierListItem *, std::false_type>,
168 // method 'childObjectRemoved'
169 QtPrivate::TypeAndForceComplete<void, std::false_type>,
170 QtPrivate::TypeAndForceComplete<UMLClassifierListItem *, std::false_type>,
171 // method 'slotObjectChanged'
172 QtPrivate::TypeAndForceComplete<void, std::false_type>,
173 // method 'slotMenuSelection'
174 QtPrivate::TypeAndForceComplete<void, std::false_type>,
175 QtPrivate::TypeAndForceComplete<QAction *, std::false_type>,
176 QtPrivate::TypeAndForceComplete<const QPoint &, std::false_type>,
177 // method 'slotMenuSelection'
178 QtPrivate::TypeAndForceComplete<void, std::false_type>,
179 QtPrivate::TypeAndForceComplete<QAction *, std::false_type>,
180 // method 'slotDropped'
181 QtPrivate::TypeAndForceComplete<void, std::false_type>,
182 QtPrivate::TypeAndForceComplete<QDropEvent *, std::false_type>,
183 QtPrivate::TypeAndForceComplete<UMLListViewItem *, std::false_type>,
184 // method 'expandAll'
185 QtPrivate::TypeAndForceComplete<void, std::false_type>,
186 QtPrivate::TypeAndForceComplete<UMLListViewItem *, std::false_type>,
187 // method 'collapseAll'
188 QtPrivate::TypeAndForceComplete<void, std::false_type>,
189 QtPrivate::TypeAndForceComplete<UMLListViewItem *, std::false_type>,
190 // method 'slotCutSuccessful'
191 QtPrivate::TypeAndForceComplete<void, std::false_type>,
192 // method 'slotDeleteSelectedItems'
193 QtPrivate::TypeAndForceComplete<void, std::false_type>,
194 // method 'slotItemSelectionChanged'
195 QtPrivate::TypeAndForceComplete<void, std::false_type>,
196 // method 'slotExpanded'
197 QtPrivate::TypeAndForceComplete<void, std::false_type>,
198 QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>,
199 // method 'slotCollapsed'
200 QtPrivate::TypeAndForceComplete<void, std::false_type>,
201 QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>
202 >,
203 nullptr
204} };
205
206void UMLListView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
207{
208 auto *_t = static_cast<UMLListView *>(_o);
209 if (_c == QMetaObject::InvokeMetaMethod) {
210 switch (_id) {
211 case 0: _t->slotDiagramCreated((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
212 case 1: _t->slotDiagramRenamed((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
213 case 2: _t->slotDiagramRemoved((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
214 case 3: _t->slotObjectCreated((*reinterpret_cast< std::add_pointer_t<UMLObject*>>(_a[1]))); break;
215 case 4: _t->slotObjectRemoved((*reinterpret_cast< std::add_pointer_t<UMLObject*>>(_a[1]))); break;
216 case 5: _t->connectNewObjectsSlots((*reinterpret_cast< std::add_pointer_t<UMLObject*>>(_a[1]))); break;
217 case 6: _t->childObjectAdded((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
218 case 7: _t->childObjectRemoved((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
219 case 8: _t->slotObjectChanged(); break;
220 case 9: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QPoint>>(_a[2]))); break;
221 case 10: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
222 case 11: _t->slotDropped((*reinterpret_cast< std::add_pointer_t<QDropEvent*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<UMLListViewItem*>>(_a[2]))); break;
223 case 12: _t->expandAll((*reinterpret_cast< std::add_pointer_t<UMLListViewItem*>>(_a[1]))); break;
224 case 13: _t->collapseAll((*reinterpret_cast< std::add_pointer_t<UMLListViewItem*>>(_a[1]))); break;
225 case 14: _t->slotCutSuccessful(); break;
226 case 15: _t->slotDeleteSelectedItems(); break;
227 case 16: _t->slotItemSelectionChanged(); break;
228 case 17: _t->slotExpanded((*reinterpret_cast< std::add_pointer_t<QTreeWidgetItem*>>(_a[1]))); break;
229 case 18: _t->slotCollapsed((*reinterpret_cast< std::add_pointer_t<QTreeWidgetItem*>>(_a[1]))); break;
230 default: ;
231 }
232 }
233 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
234 switch (_id) {
235 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
236 case 3:
237 switch (*reinterpret_cast<int*>(_a[1])) {
238 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
239 case 0:
240 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLObject* >(); break;
241 }
242 break;
243 case 4:
244 switch (*reinterpret_cast<int*>(_a[1])) {
245 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
246 case 0:
247 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLObject* >(); break;
248 }
249 break;
250 case 5:
251 switch (*reinterpret_cast<int*>(_a[1])) {
252 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
253 case 0:
254 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< UMLObject* >(); break;
255 }
256 break;
257 case 9:
258 switch (*reinterpret_cast<int*>(_a[1])) {
259 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
260 case 0:
261 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
262 }
263 break;
264 case 10:
265 switch (*reinterpret_cast<int*>(_a[1])) {
266 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
267 case 0:
268 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
269 }
270 break;
271 }
272 }
273}
274
275const QMetaObject *UMLListView::metaObject() const
276{
277 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
278}
279
280void *UMLListView::qt_metacast(const char *_clname)
281{
282 if (!_clname) return nullptr;
283 if (!strcmp(_clname, qt_meta_stringdata_ZN11UMLListViewE.stringdata0))
284 return static_cast<void*>(this);
285 return QTreeWidget::qt_metacast(_clname);
286}
287
288int UMLListView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
289{
290 _id = QTreeWidget::qt_metacall(_c, _id, _a);
291 if (_id < 0)
292 return _id;
293 if (_c == QMetaObject::InvokeMetaMethod) {
294 if (_id < 19)
295 qt_static_metacall(this, _c, _id, _a);
296 _id -= 19;
297 }
298 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
299 if (_id < 19)
300 qt_static_metacall(this, _c, _id, _a);
301 _id -= 19;
302 }
303 return _id;
304}
305QT_WARNING_POP
UMLListView(QWidget *parent=nullptr)
Definition umllistview.cpp:89
#define Q_CONSTINIT
Definition moc_parser.cpp:27
static Q_CONSTINIT const uint qt_meta_data_ZN11UMLListViewE[]
Definition moc_umllistview.cpp:80
Definition moc_parser.cpp:33