umbrello 25.11.70
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 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 'widgetbase.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_ZN10WidgetBaseE = QtMocHelpers::stringData(
40 "WidgetBase",
41 "slotMenuSelection",
42 "",
43 "QAction*",
44 "trigger",
45 "WidgetType",
46 "wt_Min",
47 "wt_UMLWidget",
48 "wt_Actor",
49 "wt_UseCase",
50 "wt_Class",
51 "wt_Interface",
52 "wt_Datatype",
53 "wt_Enum",
54 "wt_Entity",
55 "wt_Package",
56 "wt_Object",
57 "wt_Note",
58 "wt_Box",
59 "wt_Message",
60 "wt_Text",
61 "wt_State",
62 "wt_Activity",
63 "wt_Component",
64 "wt_Artifact",
65 "wt_Node",
66 "wt_Association",
67 "wt_ForkJoin",
68 "wt_Precondition",
69 "wt_CombinedFragment",
70 "wt_FloatingDashLine",
71 "wt_Signal",
72 "wt_Pin",
73 "wt_ObjectNode",
74 "wt_Region",
75 "wt_Category",
76 "wt_Port",
77 "wt_Instance",
78 "wt_Max"
79);
80#else // !QT_MOC_HAS_STRINGDATA
81#error "qtmochelpers.h not found or too old."
82#endif // !QT_MOC_HAS_STRINGDATA
83
85
86 // content:
87 12, // revision
88 0, // classname
89 0, 0, // classinfo
90 1, 14, // methods
91 0, 0, // properties
92 1, 23, // enums/sets
93 0, 0, // constructors
94 0, // flags
95 0, // signalCount
96
97 // slots: name, argc, parameters, tag, flags, initial metatype offsets
98 1, 1, 20, 2, 0x0a, 2 /* Public */,
99
100 // slots: parameters
101 QMetaType::Void, 0x80000000 | 3, 4,
102
103 // enums: name, alias, flags, count, data
104 5, 5, 0x0, 33, 28,
105
106 // enum data: key, value
107 6, uint(WidgetBase::wt_Min),
109 8, uint(WidgetBase::wt_Actor),
110 9, uint(WidgetBase::wt_UseCase),
111 10, uint(WidgetBase::wt_Class),
112 11, uint(WidgetBase::wt_Interface),
113 12, uint(WidgetBase::wt_Datatype),
114 13, uint(WidgetBase::wt_Enum),
115 14, uint(WidgetBase::wt_Entity),
116 15, uint(WidgetBase::wt_Package),
117 16, uint(WidgetBase::wt_Object),
118 17, uint(WidgetBase::wt_Note),
119 18, uint(WidgetBase::wt_Box),
120 19, uint(WidgetBase::wt_Message),
121 20, uint(WidgetBase::wt_Text),
122 21, uint(WidgetBase::wt_State),
123 22, uint(WidgetBase::wt_Activity),
124 23, uint(WidgetBase::wt_Component),
125 24, uint(WidgetBase::wt_Artifact),
126 25, uint(WidgetBase::wt_Node),
128 27, uint(WidgetBase::wt_ForkJoin),
132 31, uint(WidgetBase::wt_Signal),
133 32, uint(WidgetBase::wt_Pin),
135 34, uint(WidgetBase::wt_Region),
136 35, uint(WidgetBase::wt_Category),
137 36, uint(WidgetBase::wt_Port),
138 37, uint(WidgetBase::wt_Instance),
139 38, uint(WidgetBase::wt_Max),
140
141 0 // eod
142};
143
144Q_CONSTINIT const QMetaObject WidgetBase::staticMetaObject = { {
145 QMetaObject::SuperData::link<QGraphicsObjectWrapper::staticMetaObject>(),
146 qt_meta_stringdata_ZN10WidgetBaseE.offsetsAndSizes,
148 qt_static_metacall,
149 nullptr,
150 qt_incomplete_metaTypeArray<qt_meta_tag_ZN10WidgetBaseE_t,
151 // enum 'WidgetType'
152 QtPrivate::TypeAndForceComplete<WidgetBase::WidgetType, std::true_type>,
153 // Q_OBJECT / Q_GADGET
154 QtPrivate::TypeAndForceComplete<WidgetBase, std::true_type>,
155 // method 'slotMenuSelection'
156 QtPrivate::TypeAndForceComplete<void, std::false_type>,
157 QtPrivate::TypeAndForceComplete<QAction *, std::false_type>
158 >,
159 nullptr
160} };
161
162void WidgetBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
163{
164 auto *_t = static_cast<WidgetBase *>(_o);
165 if (_c == QMetaObject::InvokeMetaMethod) {
166 switch (_id) {
167 case 0: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
168 default: ;
169 }
170 }
171}
172
173const QMetaObject *WidgetBase::metaObject() const
174{
175 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
176}
177
178void *WidgetBase::qt_metacast(const char *_clname)
179{
180 if (!_clname) return nullptr;
181 if (!strcmp(_clname, qt_meta_stringdata_ZN10WidgetBaseE.stringdata0))
182 return static_cast<void*>(this);
183 return QGraphicsObjectWrapper::qt_metacast(_clname);
184}
185
186int WidgetBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
187{
188 _id = QGraphicsObjectWrapper::qt_metacall(_c, _id, _a);
189 if (_id < 0)
190 return _id;
191 if (_c == QMetaObject::InvokeMetaMethod) {
192 if (_id < 1)
193 qt_static_metacall(this, _c, _id, _a);
194 _id -= 1;
195 }
196 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
197 if (_id < 1)
198 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
199 _id -= 1;
200 }
201 return _id;
202}
203QT_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
static Q_CONSTINIT const uint qt_meta_data_ZN10WidgetBaseE[]
Definition moc_widgetbase.cpp:84
Definition moc_parser.cpp:33