umbrello 25.11.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_umlwidget.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'umlwidget.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 'umlwidget.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_ZN9UMLWidgetE = QtMocHelpers::stringData(
40 "UMLWidget",
41 "sigWidgetMoved",
42 "",
43 "Uml::ID::Type",
44 "id",
45 "updateWidget",
46 "slotMenuSelection",
47 "QAction*",
48 "action",
49 "slotWidgetMoved",
50 "slotFillColorChanged",
51 "viewID",
52 "slotLineColorChanged",
53 "slotTextColorChanged",
54 "slotLineWidthChanged",
55 "slotSnapToGrid"
56);
57#else // !QT_MOC_HAS_STRINGDATA
58#error "qtmochelpers.h not found or too old."
59#endif // !QT_MOC_HAS_STRINGDATA
60
62
63 // content:
64 12, // revision
65 0, // classname
66 0, 0, // classinfo
67 9, 14, // methods
68 0, 0, // properties
69 0, 0, // enums/sets
70 0, 0, // constructors
71 0, // flags
72 1, // signalCount
73
74 // signals: name, argc, parameters, tag, flags, initial metatype offsets
75 1, 1, 68, 2, 0x06, 1 /* Public */,
76
77 // slots: name, argc, parameters, tag, flags, initial metatype offsets
78 5, 0, 71, 2, 0x0a, 3 /* Public */,
79 6, 1, 72, 2, 0x0a, 4 /* Public */,
80 9, 1, 75, 2, 0x0a, 6 /* Public */,
81 10, 1, 78, 2, 0x0a, 8 /* Public */,
82 12, 1, 81, 2, 0x0a, 10 /* Public */,
83 13, 1, 84, 2, 0x0a, 12 /* Public */,
84 14, 1, 87, 2, 0x0a, 14 /* Public */,
85 15, 0, 90, 2, 0x0a, 16 /* Public */,
86
87 // signals: parameters
88 QMetaType::Void, 0x80000000 | 3, 4,
89
90 // slots: parameters
91 QMetaType::Void,
92 QMetaType::Void, 0x80000000 | 7, 8,
93 QMetaType::Void, 0x80000000 | 3, 4,
94 QMetaType::Void, 0x80000000 | 3, 11,
95 QMetaType::Void, 0x80000000 | 3, 11,
96 QMetaType::Void, 0x80000000 | 3, 11,
97 QMetaType::Void, 0x80000000 | 3, 11,
98 QMetaType::Void,
99
100 0 // eod
101};
102
103Q_CONSTINIT const QMetaObject UMLWidget::staticMetaObject = { {
104 QMetaObject::SuperData::link<WidgetBase::staticMetaObject>(),
105 qt_meta_stringdata_ZN9UMLWidgetE.offsetsAndSizes,
107 qt_static_metacall,
108 nullptr,
109 qt_incomplete_metaTypeArray<qt_meta_tag_ZN9UMLWidgetE_t,
110 // Q_OBJECT / Q_GADGET
111 QtPrivate::TypeAndForceComplete<UMLWidget, std::true_type>,
112 // method 'sigWidgetMoved'
113 QtPrivate::TypeAndForceComplete<void, std::false_type>,
114 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
115 // method 'updateWidget'
116 QtPrivate::TypeAndForceComplete<void, std::false_type>,
117 // method 'slotMenuSelection'
118 QtPrivate::TypeAndForceComplete<void, std::false_type>,
119 QtPrivate::TypeAndForceComplete<QAction *, std::false_type>,
120 // method 'slotWidgetMoved'
121 QtPrivate::TypeAndForceComplete<void, std::false_type>,
122 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
123 // method 'slotFillColorChanged'
124 QtPrivate::TypeAndForceComplete<void, std::false_type>,
125 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
126 // method 'slotLineColorChanged'
127 QtPrivate::TypeAndForceComplete<void, std::false_type>,
128 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
129 // method 'slotTextColorChanged'
130 QtPrivate::TypeAndForceComplete<void, std::false_type>,
131 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
132 // method 'slotLineWidthChanged'
133 QtPrivate::TypeAndForceComplete<void, std::false_type>,
134 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>,
135 // method 'slotSnapToGrid'
136 QtPrivate::TypeAndForceComplete<void, std::false_type>
137 >,
138 nullptr
139} };
140
141void UMLWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
142{
143 auto *_t = static_cast<UMLWidget *>(_o);
144 if (_c == QMetaObject::InvokeMetaMethod) {
145 switch (_id) {
146 case 0: _t->sigWidgetMoved((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
147 case 1: _t->updateWidget(); break;
148 case 2: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
149 case 3: _t->slotWidgetMoved((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
150 case 4: _t->slotFillColorChanged((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
151 case 5: _t->slotLineColorChanged((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
152 case 6: _t->slotTextColorChanged((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
153 case 7: _t->slotLineWidthChanged((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
154 case 8: _t->slotSnapToGrid(); break;
155 default: ;
156 }
157 }
158 if (_c == QMetaObject::IndexOfMethod) {
159 int *result = reinterpret_cast<int *>(_a[0]);
160 {
161 using _q_method_type = void (UMLWidget::*)(Uml::ID::Type );
162 if (_q_method_type _q_method = &UMLWidget::sigWidgetMoved; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
163 *result = 0;
164 return;
165 }
166 }
167 }
168}
169
170const QMetaObject *UMLWidget::metaObject() const
171{
172 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
173}
174
175void *UMLWidget::qt_metacast(const char *_clname)
176{
177 if (!_clname) return nullptr;
178 if (!strcmp(_clname, qt_meta_stringdata_ZN9UMLWidgetE.stringdata0))
179 return static_cast<void*>(this);
180 if (!strcmp(_clname, "DiagramProxyWidget"))
181 return static_cast< DiagramProxyWidget*>(this);
182 return WidgetBase::qt_metacast(_clname);
183}
184
185int UMLWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
186{
187 _id = WidgetBase::qt_metacall(_c, _id, _a);
188 if (_id < 0)
189 return _id;
190 if (_c == QMetaObject::InvokeMetaMethod) {
191 if (_id < 9)
192 qt_static_metacall(this, _c, _id, _a);
193 _id -= 9;
194 }
195 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
196 if (_id < 9)
197 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
198 _id -= 9;
199 }
200 return _id;
201}
202
203// SIGNAL 0
205{
206 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
207 QMetaObject::activate(this, &staticMetaObject, 0, _a);
208}
209QT_WARNING_POP
DiagramProxyWidget(UMLWidget *widget, qreal borderWidth=5)
Definition diagramproxywidget.cpp:27
UMLWidget(UMLScene *scene, WidgetType type=wt_UMLWidget, UMLObject *o=nullptr)
Definition umlwidget.cpp:85
void sigWidgetMoved(Uml::ID::Type id)
Definition moc_umlwidget.cpp:204
#define Q_CONSTINIT
Definition moc_parser.cpp:27
static Q_CONSTINIT const uint qt_meta_data_ZN9UMLWidgetE[]
Definition moc_umlwidget.cpp:61
Definition moc_parser.cpp:33
std::string Type
Definition basictypes.h:371