umbrello 25.11.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_associationwidget.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'associationwidget.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 'associationwidget.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_ZN17AssociationWidgetE = QtMocHelpers::stringData(
40 "AssociationWidget",
41 "slotMenuSelection",
42 "",
43 "QAction*",
44 "action",
45 "slotClassifierListItemRemoved",
46 "UMLClassifierListItem*",
47 "obj",
48 "slotAttributeChanged",
49 "syncToModel"
50);
51#else // !QT_MOC_HAS_STRINGDATA
52#error "qtmochelpers.h not found or too old."
53#endif // !QT_MOC_HAS_STRINGDATA
54
56
57 // content:
58 12, // revision
59 0, // classname
60 0, 0, // classinfo
61 4, 14, // methods
62 0, 0, // properties
63 0, 0, // enums/sets
64 0, 0, // constructors
65 0, // flags
66 0, // signalCount
67
68 // slots: name, argc, parameters, tag, flags, initial metatype offsets
69 1, 1, 38, 2, 0x0a, 1 /* Public */,
70 5, 1, 41, 2, 0x0a, 3 /* Public */,
71 8, 0, 44, 2, 0x0a, 5 /* Public */,
72 9, 0, 45, 2, 0x0a, 6 /* Public */,
73
74 // slots: parameters
75 QMetaType::Void, 0x80000000 | 3, 4,
76 QMetaType::Void, 0x80000000 | 6, 7,
77 QMetaType::Void,
78 QMetaType::Void,
79
80 0 // eod
81};
82
83Q_CONSTINIT const QMetaObject AssociationWidget::staticMetaObject = { {
84 QMetaObject::SuperData::link<WidgetBase::staticMetaObject>(),
85 qt_meta_stringdata_ZN17AssociationWidgetE.offsetsAndSizes,
87 qt_static_metacall,
88 nullptr,
89 qt_incomplete_metaTypeArray<qt_meta_tag_ZN17AssociationWidgetE_t,
90 // Q_OBJECT / Q_GADGET
91 QtPrivate::TypeAndForceComplete<AssociationWidget, std::true_type>,
92 // method 'slotMenuSelection'
93 QtPrivate::TypeAndForceComplete<void, std::false_type>,
94 QtPrivate::TypeAndForceComplete<QAction *, std::false_type>,
95 // method 'slotClassifierListItemRemoved'
96 QtPrivate::TypeAndForceComplete<void, std::false_type>,
97 QtPrivate::TypeAndForceComplete<UMLClassifierListItem *, std::false_type>,
98 // method 'slotAttributeChanged'
99 QtPrivate::TypeAndForceComplete<void, std::false_type>,
100 // method 'syncToModel'
101 QtPrivate::TypeAndForceComplete<void, std::false_type>
102 >,
103 nullptr
104} };
105
106void AssociationWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
107{
108 auto *_t = static_cast<AssociationWidget *>(_o);
109 if (_c == QMetaObject::InvokeMetaMethod) {
110 switch (_id) {
111 case 0: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
112 case 1: _t->slotClassifierListItemRemoved((*reinterpret_cast< std::add_pointer_t<UMLClassifierListItem*>>(_a[1]))); break;
113 case 2: _t->slotAttributeChanged(); break;
114 case 3: _t->syncToModel(); break;
115 default: ;
116 }
117 }
118 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
119 switch (_id) {
120 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
121 case 0:
122 switch (*reinterpret_cast<int*>(_a[1])) {
123 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
124 case 0:
125 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
126 }
127 break;
128 }
129 }
130}
131
132const QMetaObject *AssociationWidget::metaObject() const
133{
134 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
135}
136
137void *AssociationWidget::qt_metacast(const char *_clname)
138{
139 if (!_clname) return nullptr;
140 if (!strcmp(_clname, qt_meta_stringdata_ZN17AssociationWidgetE.stringdata0))
141 return static_cast<void*>(this);
142 if (!strcmp(_clname, "LinkWidget"))
143 return static_cast< LinkWidget*>(this);
144 return WidgetBase::qt_metacast(_clname);
145}
146
147int AssociationWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
148{
149 _id = WidgetBase::qt_metacall(_c, _id, _a);
150 if (_id < 0)
151 return _id;
152 if (_c == QMetaObject::InvokeMetaMethod) {
153 if (_id < 4)
154 qt_static_metacall(this, _c, _id, _a);
155 _id -= 4;
156 }
157 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
158 if (_id < 4)
159 qt_static_metacall(this, _c, _id, _a);
160 _id -= 4;
161 }
162 return _id;
163}
164QT_WARNING_POP
AssociationWidget(UMLScene *scene)
Definition associationwidget.cpp:69
LinkWidget()
Definition linkwidget.cpp:22
static Q_CONSTINIT const uint qt_meta_data_ZN17AssociationWidgetE[]
Definition moc_associationwidget.cpp:55
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33