umbrello 25.04.1
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 67 (Qt 5.15.13)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "../../../../umbrello/umllistview.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'umllistview.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 67
16#error "This file was generated using the moc from 5.15.13. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
19#endif
20
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
25 QByteArrayData data[35];
26 char stringdata0[477];
27};
28#define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_UMLListView_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 11), // "UMLListView"
36QT_MOC_LITERAL(1, 12, 18), // "slotDiagramCreated"
37QT_MOC_LITERAL(2, 31, 0), // ""
38QT_MOC_LITERAL(3, 32, 13), // "Uml::ID::Type"
39QT_MOC_LITERAL(4, 46, 2), // "id"
40QT_MOC_LITERAL(5, 49, 18), // "slotDiagramRenamed"
41QT_MOC_LITERAL(6, 68, 18), // "slotDiagramRemoved"
42QT_MOC_LITERAL(7, 87, 17), // "slotObjectCreated"
43QT_MOC_LITERAL(8, 105, 10), // "UMLObject*"
44QT_MOC_LITERAL(9, 116, 6), // "object"
45QT_MOC_LITERAL(10, 123, 17), // "slotObjectRemoved"
46QT_MOC_LITERAL(11, 141, 22), // "connectNewObjectsSlots"
47QT_MOC_LITERAL(12, 164, 16), // "childObjectAdded"
48QT_MOC_LITERAL(13, 181, 22), // "UMLClassifierListItem*"
49QT_MOC_LITERAL(14, 204, 3), // "obj"
50QT_MOC_LITERAL(15, 208, 18), // "childObjectRemoved"
51QT_MOC_LITERAL(16, 227, 17), // "slotObjectChanged"
52QT_MOC_LITERAL(17, 245, 17), // "slotMenuSelection"
53QT_MOC_LITERAL(18, 263, 8), // "QAction*"
54QT_MOC_LITERAL(19, 272, 6), // "action"
55QT_MOC_LITERAL(20, 279, 8), // "position"
56QT_MOC_LITERAL(21, 288, 11), // "slotDropped"
57QT_MOC_LITERAL(22, 300, 11), // "QDropEvent*"
58QT_MOC_LITERAL(23, 312, 2), // "de"
59QT_MOC_LITERAL(24, 315, 16), // "UMLListViewItem*"
60QT_MOC_LITERAL(25, 332, 6), // "target"
61QT_MOC_LITERAL(26, 339, 9), // "expandAll"
62QT_MOC_LITERAL(27, 349, 4), // "item"
63QT_MOC_LITERAL(28, 354, 11), // "collapseAll"
64QT_MOC_LITERAL(29, 366, 17), // "slotCutSuccessful"
65QT_MOC_LITERAL(30, 384, 23), // "slotDeleteSelectedItems"
66QT_MOC_LITERAL(31, 408, 24), // "slotItemSelectionChanged"
67QT_MOC_LITERAL(32, 433, 12), // "slotExpanded"
68QT_MOC_LITERAL(33, 446, 16), // "QTreeWidgetItem*"
69QT_MOC_LITERAL(34, 463, 13) // "slotCollapsed"
70
71 },
72 "UMLListView\0slotDiagramCreated\0\0"
73 "Uml::ID::Type\0id\0slotDiagramRenamed\0"
74 "slotDiagramRemoved\0slotObjectCreated\0"
75 "UMLObject*\0object\0slotObjectRemoved\0"
76 "connectNewObjectsSlots\0childObjectAdded\0"
77 "UMLClassifierListItem*\0obj\0"
78 "childObjectRemoved\0slotObjectChanged\0"
79 "slotMenuSelection\0QAction*\0action\0"
80 "position\0slotDropped\0QDropEvent*\0de\0"
81 "UMLListViewItem*\0target\0expandAll\0"
82 "item\0collapseAll\0slotCutSuccessful\0"
83 "slotDeleteSelectedItems\0"
84 "slotItemSelectionChanged\0slotExpanded\0"
85 "QTreeWidgetItem*\0slotCollapsed"
86};
87#undef QT_MOC_LITERAL
88
89static const uint qt_meta_data_UMLListView[] = {
90
91 // content:
92 8, // revision
93 0, // classname
94 0, 0, // classinfo
95 19, 14, // methods
96 0, 0, // properties
97 0, 0, // enums/sets
98 0, 0, // constructors
99 0, // flags
100 0, // signalCount
101
102 // slots: name, argc, parameters, tag, flags
103 1, 1, 109, 2, 0x0a /* Public */,
104 5, 1, 112, 2, 0x0a /* Public */,
105 6, 1, 115, 2, 0x0a /* Public */,
106 7, 1, 118, 2, 0x0a /* Public */,
107 10, 1, 121, 2, 0x0a /* Public */,
108 11, 1, 124, 2, 0x0a /* Public */,
109 12, 1, 127, 2, 0x0a /* Public */,
110 15, 1, 130, 2, 0x0a /* Public */,
111 16, 0, 133, 2, 0x0a /* Public */,
112 17, 2, 134, 2, 0x0a /* Public */,
113 17, 1, 139, 2, 0x2a /* Public | MethodCloned */,
114 21, 2, 142, 2, 0x0a /* Public */,
115 26, 1, 147, 2, 0x0a /* Public */,
116 28, 1, 150, 2, 0x0a /* Public */,
117 29, 0, 153, 2, 0x0a /* Public */,
118 30, 0, 154, 2, 0x0a /* Public */,
119 31, 0, 155, 2, 0x09 /* Protected */,
120 32, 1, 156, 2, 0x09 /* Protected */,
121 34, 1, 159, 2, 0x09 /* Protected */,
122
123 // slots: parameters
124 QMetaType::Void, 0x80000000 | 3, 4,
125 QMetaType::Void, 0x80000000 | 3, 4,
126 QMetaType::Void, 0x80000000 | 3, 4,
127 QMetaType::Void, 0x80000000 | 8, 9,
128 QMetaType::Void, 0x80000000 | 8, 9,
129 QMetaType::Void, 0x80000000 | 8, 9,
130 QMetaType::Void, 0x80000000 | 13, 14,
131 QMetaType::Void, 0x80000000 | 13, 14,
132 QMetaType::Void,
133 QMetaType::Void, 0x80000000 | 18, QMetaType::QPoint, 19, 20,
134 QMetaType::Void, 0x80000000 | 18, 19,
135 QMetaType::Void, 0x80000000 | 22, 0x80000000 | 24, 23, 25,
136 QMetaType::Void, 0x80000000 | 24, 27,
137 QMetaType::Void, 0x80000000 | 24, 27,
138 QMetaType::Void,
139 QMetaType::Void,
140 QMetaType::Void,
141 QMetaType::Void, 0x80000000 | 33, 27,
142 QMetaType::Void, 0x80000000 | 33, 27,
143
144 0 // eod
145};
146
147void UMLListView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
148{
149 if (_c == QMetaObject::InvokeMetaMethod) {
150 auto *_t = static_cast<UMLListView *>(_o);
151 (void)_t;
152 switch (_id) {
153 case 0: _t->slotDiagramCreated((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
154 case 1: _t->slotDiagramRenamed((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
155 case 2: _t->slotDiagramRemoved((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
156 case 3: _t->slotObjectCreated((*reinterpret_cast< UMLObject*(*)>(_a[1]))); break;
157 case 4: _t->slotObjectRemoved((*reinterpret_cast< UMLObject*(*)>(_a[1]))); break;
158 case 5: _t->connectNewObjectsSlots((*reinterpret_cast< UMLObject*(*)>(_a[1]))); break;
159 case 6: _t->childObjectAdded((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1]))); break;
160 case 7: _t->childObjectRemoved((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1]))); break;
161 case 8: _t->slotObjectChanged(); break;
162 case 9: _t->slotMenuSelection((*reinterpret_cast< QAction*(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
163 case 10: _t->slotMenuSelection((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
164 case 11: _t->slotDropped((*reinterpret_cast< QDropEvent*(*)>(_a[1])),(*reinterpret_cast< UMLListViewItem*(*)>(_a[2]))); break;
165 case 12: _t->expandAll((*reinterpret_cast< UMLListViewItem*(*)>(_a[1]))); break;
166 case 13: _t->collapseAll((*reinterpret_cast< UMLListViewItem*(*)>(_a[1]))); break;
167 case 14: _t->slotCutSuccessful(); break;
168 case 15: _t->slotDeleteSelectedItems(); break;
169 case 16: _t->slotItemSelectionChanged(); break;
170 case 17: _t->slotExpanded((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
171 case 18: _t->slotCollapsed((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
172 default: ;
173 }
174 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
175 switch (_id) {
176 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
177 case 3:
178 switch (*reinterpret_cast<int*>(_a[1])) {
179 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
180 case 0:
181 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLObject* >(); break;
182 }
183 break;
184 case 4:
185 switch (*reinterpret_cast<int*>(_a[1])) {
186 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
187 case 0:
188 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLObject* >(); break;
189 }
190 break;
191 case 5:
192 switch (*reinterpret_cast<int*>(_a[1])) {
193 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
194 case 0:
195 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UMLObject* >(); break;
196 }
197 break;
198 }
199 }
200}
201
202QT_INIT_METAOBJECT const QMetaObject UMLListView::staticMetaObject = { {
203 QMetaObject::SuperData::link<QTreeWidget::staticMetaObject>(),
206 qt_static_metacall,
207 nullptr,
208 nullptr
209} };
210
211
212const QMetaObject *UMLListView::metaObject() const
213{
214 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
215}
216
217void *UMLListView::qt_metacast(const char *_clname)
218{
219 if (!_clname) return nullptr;
220 if (!strcmp(_clname, qt_meta_stringdata_UMLListView.stringdata0))
221 return static_cast<void*>(this);
222 return QTreeWidget::qt_metacast(_clname);
223}
224
225int UMLListView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
226{
227 _id = QTreeWidget::qt_metacall(_c, _id, _a);
228 if (_id < 0)
229 return _id;
230 if (_c == QMetaObject::InvokeMetaMethod) {
231 if (_id < 19)
232 qt_static_metacall(this, _c, _id, _a);
233 _id -= 19;
234 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
235 if (_id < 19)
236 qt_static_metacall(this, _c, _id, _a);
237 _id -= 19;
238 }
239 return _id;
240}
241QT_WARNING_POP
242QT_END_MOC_NAMESPACE
A base class for classifier list items (e.g. attributes)
Definition classifierlistitem.h:25
Items used by UMLListView.
Definition umllistviewitem.h:36
Displays the list view for the program.
Definition umllistview.h:43
void slotDiagramCreated(Uml::ID::Type id)
Definition umllistview.cpp:827
The base class for UML objects.
Definition umlobject.h:70
static const uint qt_meta_data_UMLListView[]
Definition moc_umllistview.cpp:89
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_umllistview.cpp:28
static const qt_meta_stringdata_UMLListView_t qt_meta_stringdata_UMLListView
Definition moc_umllistview.cpp:33
std::string Type
Definition basictypes.h:371
Definition moc_umllistview.cpp:24
char stringdata0[477]
Definition moc_umllistview.cpp:26
QByteArrayData data[35]
Definition moc_umllistview.cpp:25