umbrello 25.11.70
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 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 'classifierwidget.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_ZN16ClassifierWidgetE = QtMocHelpers::stringData(
40 "ClassifierWidget",
41 "slotMenuSelection",
42 "",
43 "QAction*",
44 "action",
45 "slotShowAttributes",
46 "state",
47 "slotShowOperations",
48 "VisualProperty",
49 "ShowStereotype",
50 "ShowOperations",
51 "ShowPublicOnly",
52 "ShowVisibility",
53 "ShowPackage",
54 "ShowAttributes",
55 "DrawAsCircle",
56 "ShowOperationSignature",
57 "ShowAttributeSignature",
58 "DrawAsPackage",
59 "ShowDocumentation"
60);
61#else // !QT_MOC_HAS_STRINGDATA
62#error "qtmochelpers.h not found or too old."
63#endif // !QT_MOC_HAS_STRINGDATA
64
66
67 // content:
68 12, // revision
69 0, // classname
70 0, 0, // classinfo
71 3, 14, // methods
72 0, 0, // properties
73 1, 41, // enums/sets
74 0, 0, // constructors
75 0, // flags
76 0, // signalCount
77
78 // slots: name, argc, parameters, tag, flags, initial metatype offsets
79 1, 1, 32, 2, 0x0a, 2 /* Public */,
80 5, 1, 35, 2, 0x08, 4 /* Private */,
81 7, 1, 38, 2, 0x08, 6 /* Private */,
82
83 // slots: parameters
84 QMetaType::Void, 0x80000000 | 3, 4,
85 QMetaType::Void, QMetaType::Bool, 6,
86 QMetaType::Void, QMetaType::Bool, 6,
87
88 // enums: name, alias, flags, count, data
89 8, 8, 0x0, 11, 46,
90
91 // enum data: key, value
103
104 0 // eod
105};
106
107Q_CONSTINIT const QMetaObject ClassifierWidget::staticMetaObject = { {
108 QMetaObject::SuperData::link<UMLWidget::staticMetaObject>(),
109 qt_meta_stringdata_ZN16ClassifierWidgetE.offsetsAndSizes,
111 qt_static_metacall,
112 nullptr,
113 qt_incomplete_metaTypeArray<qt_meta_tag_ZN16ClassifierWidgetE_t,
114 // enum 'VisualProperty'
115 QtPrivate::TypeAndForceComplete<ClassifierWidget::VisualProperty, std::true_type>,
116 // Q_OBJECT / Q_GADGET
117 QtPrivate::TypeAndForceComplete<ClassifierWidget, std::true_type>,
118 // method 'slotMenuSelection'
119 QtPrivate::TypeAndForceComplete<void, std::false_type>,
120 QtPrivate::TypeAndForceComplete<QAction *, std::false_type>,
121 // method 'slotShowAttributes'
122 QtPrivate::TypeAndForceComplete<void, std::false_type>,
123 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
124 // method 'slotShowOperations'
125 QtPrivate::TypeAndForceComplete<void, std::false_type>,
126 QtPrivate::TypeAndForceComplete<bool, std::false_type>
127 >,
128 nullptr
129} };
130
131void ClassifierWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
132{
133 auto *_t = static_cast<ClassifierWidget *>(_o);
134 if (_c == QMetaObject::InvokeMetaMethod) {
135 switch (_id) {
136 case 0: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
137 case 1: _t->slotShowAttributes((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
138 case 2: _t->slotShowOperations((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
139 default: ;
140 }
141 }
142}
143
144const QMetaObject *ClassifierWidget::metaObject() const
145{
146 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
147}
148
149void *ClassifierWidget::qt_metacast(const char *_clname)
150{
151 if (!_clname) return nullptr;
152 if (!strcmp(_clname, qt_meta_stringdata_ZN16ClassifierWidgetE.stringdata0))
153 return static_cast<void*>(this);
154 return UMLWidget::qt_metacast(_clname);
155}
156
157int ClassifierWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
158{
159 _id = UMLWidget::qt_metacall(_c, _id, _a);
160 if (_id < 0)
161 return _id;
162 if (_c == QMetaObject::InvokeMetaMethod) {
163 if (_id < 3)
164 qt_static_metacall(this, _c, _id, _a);
165 _id -= 3;
166 }
167 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
168 if (_id < 3)
169 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
170 _id -= 3;
171 }
172 return _id;
173}
174QT_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
static Q_CONSTINIT const uint qt_meta_data_ZN16ClassifierWidgetE[]
Definition moc_classifierwidget.cpp:65
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33