umbrello 25.12.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_classifierwidget.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'classifierwidget.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 'classifierwidget.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 ClassifierWidget::qt_create_metaobjectdata<qt_meta_tag_ZN16ClassifierWidgetE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "ClassifierWidget",
42 "slotMenuSelection",
43 "",
44 "QAction*",
45 "action",
46 "slotShowAttributes",
47 "state",
48 "slotShowOperations",
49 "VisualProperty",
50 "ShowStereotype",
51 "ShowOperations",
52 "ShowPublicOnly",
53 "ShowVisibility",
54 "ShowPackage",
55 "ShowAttributes",
56 "DrawAsCircle",
57 "ShowOperationSignature",
58 "ShowAttributeSignature",
59 "DrawAsPackage",
60 "ShowDocumentation"
61 };
62
63 QtMocHelpers::UintData qt_methods {
64 // Slot 'slotMenuSelection'
65 QtMocHelpers::SlotData<void(QAction *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
66 { 0x80000000 | 3, 4 },
67 }}),
68 // Slot 'slotShowAttributes'
69 QtMocHelpers::SlotData<void(bool)>(5, 2, QMC::AccessPrivate, QMetaType::Void, {{
70 { QMetaType::Bool, 6 },
71 }}),
72 // Slot 'slotShowOperations'
73 QtMocHelpers::SlotData<void(bool)>(7, 2, QMC::AccessPrivate, QMetaType::Void, {{
74 { QMetaType::Bool, 6 },
75 }}),
76 };
77 QtMocHelpers::UintData qt_properties {
78 };
79 QtMocHelpers::UintData qt_enums {
80 // enum 'VisualProperty'
81 QtMocHelpers::EnumData<enum VisualProperty>(8, 8, QMC::EnumFlags{}).add({
93 }),
94 };
95 return QtMocHelpers::metaObjectData<ClassifierWidget, qt_meta_tag_ZN16ClassifierWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
96 qt_methods, qt_properties, qt_enums);
97}
98Q_CONSTINIT const QMetaObject ClassifierWidget::staticMetaObject = { {
99 QMetaObject::SuperData::link<UMLWidget::staticMetaObject>(),
100 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16ClassifierWidgetE_t>.stringdata,
101 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16ClassifierWidgetE_t>.data,
102 qt_static_metacall,
103 nullptr,
104 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16ClassifierWidgetE_t>.metaTypes,
105 nullptr
106} };
107
108void ClassifierWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
109{
110 auto *_t = static_cast<ClassifierWidget *>(_o);
111 if (_c == QMetaObject::InvokeMetaMethod) {
112 switch (_id) {
113 case 0: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
114 case 1: _t->slotShowAttributes((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
115 case 2: _t->slotShowOperations((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
116 default: ;
117 }
118 }
119}
120
121const QMetaObject *ClassifierWidget::metaObject() const
122{
123 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
124}
125
126void *ClassifierWidget::qt_metacast(const char *_clname)
127{
128 if (!_clname) return nullptr;
129 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16ClassifierWidgetE_t>.strings))
130 return static_cast<void*>(this);
131 return UMLWidget::qt_metacast(_clname);
132}
133
134int ClassifierWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
135{
136 _id = UMLWidget::qt_metacall(_c, _id, _a);
137 if (_id < 0)
138 return _id;
139 if (_c == QMetaObject::InvokeMetaMethod) {
140 if (_id < 3)
141 qt_static_metacall(this, _c, _id, _a);
142 _id -= 3;
143 }
144 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
145 if (_id < 3)
146 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
147 _id -= 3;
148 }
149 return _id;
150}
151QT_WARNING_POP
@ ShowPackage
Definition classifierwidget.h:44
@ ShowDocumentation
Definition classifierwidget.h:50
@ ShowPublicOnly
Definition classifierwidget.h:42
@ ShowOperations
Definition classifierwidget.h:41
@ ShowOperationSignature
only in setter
Definition classifierwidget.h:47
@ ShowStereotype
Definition classifierwidget.h:38
@ DrawAsCircle
Definition classifierwidget.h:46
@ ShowAttributeSignature
only in setter
Definition classifierwidget.h:48
@ DrawAsPackage
Definition classifierwidget.h:49
@ ShowAttributes
Definition classifierwidget.h:45
@ ShowVisibility
Definition classifierwidget.h:43
ClassifierWidget(UMLScene *scene, UMLClassifier *umlc)
Definition classifierwidget.cpp:44
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33