umbrello 25.12.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_widgetbase.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'widgetbase.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 'widgetbase.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 WidgetBase::qt_create_metaobjectdata<qt_meta_tag_ZN10WidgetBaseE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "WidgetBase",
42 "slotMenuSelection",
43 "",
44 "QAction*",
45 "trigger",
46 "WidgetType",
47 "wt_Min",
48 "wt_UMLWidget",
49 "wt_Actor",
50 "wt_UseCase",
51 "wt_Class",
52 "wt_Interface",
53 "wt_Datatype",
54 "wt_Enum",
55 "wt_Entity",
56 "wt_Package",
57 "wt_Object",
58 "wt_Note",
59 "wt_Box",
60 "wt_Message",
61 "wt_Text",
62 "wt_State",
63 "wt_Activity",
64 "wt_Component",
65 "wt_Artifact",
66 "wt_Node",
67 "wt_Association",
68 "wt_ForkJoin",
69 "wt_Precondition",
70 "wt_CombinedFragment",
71 "wt_FloatingDashLine",
72 "wt_Signal",
73 "wt_Pin",
74 "wt_ObjectNode",
75 "wt_Region",
76 "wt_Category",
77 "wt_Port",
78 "wt_Instance",
79 "wt_Max"
80 };
81
82 QtMocHelpers::UintData qt_methods {
83 // Slot 'slotMenuSelection'
84 QtMocHelpers::SlotData<void(QAction *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
85 { 0x80000000 | 3, 4 },
86 }}),
87 };
88 QtMocHelpers::UintData qt_properties {
89 };
90 QtMocHelpers::UintData qt_enums {
91 // enum 'WidgetType'
92 QtMocHelpers::EnumData<enum WidgetType>(5, 5, QMC::EnumFlags{}).add({
93 { 6, WidgetType::wt_Min },
100 { 13, WidgetType::wt_Enum },
101 { 14, WidgetType::wt_Entity },
103 { 16, WidgetType::wt_Object },
104 { 17, WidgetType::wt_Note },
105 { 18, WidgetType::wt_Box },
107 { 20, WidgetType::wt_Text },
108 { 21, WidgetType::wt_State },
112 { 25, WidgetType::wt_Node },
118 { 31, WidgetType::wt_Signal },
119 { 32, WidgetType::wt_Pin },
121 { 34, WidgetType::wt_Region },
123 { 36, WidgetType::wt_Port },
125 { 38, WidgetType::wt_Max },
126 }),
127 };
128 return QtMocHelpers::metaObjectData<WidgetBase, qt_meta_tag_ZN10WidgetBaseE_t>(QMC::MetaObjectFlag{}, qt_stringData,
129 qt_methods, qt_properties, qt_enums);
130}
131Q_CONSTINIT const QMetaObject WidgetBase::staticMetaObject = { {
132 QMetaObject::SuperData::link<QGraphicsObjectWrapper::staticMetaObject>(),
133 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10WidgetBaseE_t>.stringdata,
134 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10WidgetBaseE_t>.data,
135 qt_static_metacall,
136 nullptr,
137 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10WidgetBaseE_t>.metaTypes,
138 nullptr
139} };
140
141void WidgetBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
142{
143 auto *_t = static_cast<WidgetBase *>(_o);
144 if (_c == QMetaObject::InvokeMetaMethod) {
145 switch (_id) {
146 case 0: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
147 default: ;
148 }
149 }
150}
151
152const QMetaObject *WidgetBase::metaObject() const
153{
154 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
155}
156
157void *WidgetBase::qt_metacast(const char *_clname)
158{
159 if (!_clname) return nullptr;
160 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10WidgetBaseE_t>.strings))
161 return static_cast<void*>(this);
162 return QGraphicsObjectWrapper::qt_metacast(_clname);
163}
164
165int WidgetBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
166{
167 _id = QGraphicsObjectWrapper::qt_metacall(_c, _id, _a);
168 if (_id < 0)
169 return _id;
170 if (_c == QMetaObject::InvokeMetaMethod) {
171 if (_id < 1)
172 qt_static_metacall(this, _c, _id, _a);
173 _id -= 1;
174 }
175 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
176 if (_id < 1)
177 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
178 _id -= 1;
179 }
180 return _id;
181}
182QT_WARNING_POP
WidgetBase(UMLScene *scene, WidgetType type=wt_UMLWidget, Uml::ID::Type id=Uml::ID::None)
Definition widgetbase.cpp:68
@ wt_Object
Definition widgetbase.h:118
@ wt_ForkJoin
Definition widgetbase.h:129
@ wt_Instance
Definition widgetbase.h:139
@ wt_Enum
Definition widgetbase.h:115
@ wt_Message
Definition widgetbase.h:121
@ wt_ObjectNode
Definition widgetbase.h:135
@ wt_Entity
Definition widgetbase.h:116
@ wt_Actor
Definition widgetbase.h:110
@ wt_Category
Definition widgetbase.h:137
@ wt_Package
Definition widgetbase.h:117
@ wt_Node
Definition widgetbase.h:127
@ wt_Region
Definition widgetbase.h:136
@ wt_Port
Definition widgetbase.h:138
@ wt_Artifact
Definition widgetbase.h:126
@ wt_Class
Definition widgetbase.h:112
@ wt_Pin
Definition widgetbase.h:134
@ wt_Interface
Definition widgetbase.h:113
@ wt_Activity
Definition widgetbase.h:124
@ wt_Text
Definition widgetbase.h:122
@ wt_UseCase
Definition widgetbase.h:111
@ wt_Max
Definition widgetbase.h:140
@ wt_State
Definition widgetbase.h:123
@ wt_Precondition
Definition widgetbase.h:130
@ wt_Min
Definition widgetbase.h:108
@ wt_Association
Definition widgetbase.h:128
@ wt_Datatype
Definition widgetbase.h:114
@ wt_Component
Definition widgetbase.h:125
@ wt_UMLWidget
Definition widgetbase.h:109
@ wt_CombinedFragment
Definition widgetbase.h:131
@ wt_Note
Definition widgetbase.h:119
@ wt_Box
Definition widgetbase.h:120
@ wt_FloatingDashLine
Definition widgetbase.h:132
@ wt_Signal
Definition widgetbase.h:133
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33