umbrello 25.04.1
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 67 (Qt 5.15.13)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "../../../../umbrello/umlwidgets/widgetbase.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'widgetbase.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 67
16#error "This file was generated using the moc from 5.15.13. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
19#endif
20
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
25 QByteArrayData data[39];
26 char stringdata0[422];
27};
28#define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_WidgetBase_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 10), // "WidgetBase"
36QT_MOC_LITERAL(1, 11, 17), // "slotMenuSelection"
37QT_MOC_LITERAL(2, 29, 0), // ""
38QT_MOC_LITERAL(3, 30, 8), // "QAction*"
39QT_MOC_LITERAL(4, 39, 7), // "trigger"
40QT_MOC_LITERAL(5, 47, 10), // "WidgetType"
41QT_MOC_LITERAL(6, 58, 6), // "wt_Min"
42QT_MOC_LITERAL(7, 65, 12), // "wt_UMLWidget"
43QT_MOC_LITERAL(8, 78, 8), // "wt_Actor"
44QT_MOC_LITERAL(9, 87, 10), // "wt_UseCase"
45QT_MOC_LITERAL(10, 98, 8), // "wt_Class"
46QT_MOC_LITERAL(11, 107, 12), // "wt_Interface"
47QT_MOC_LITERAL(12, 120, 11), // "wt_Datatype"
48QT_MOC_LITERAL(13, 132, 7), // "wt_Enum"
49QT_MOC_LITERAL(14, 140, 9), // "wt_Entity"
50QT_MOC_LITERAL(15, 150, 10), // "wt_Package"
51QT_MOC_LITERAL(16, 161, 9), // "wt_Object"
52QT_MOC_LITERAL(17, 171, 7), // "wt_Note"
53QT_MOC_LITERAL(18, 179, 6), // "wt_Box"
54QT_MOC_LITERAL(19, 186, 10), // "wt_Message"
55QT_MOC_LITERAL(20, 197, 7), // "wt_Text"
56QT_MOC_LITERAL(21, 205, 8), // "wt_State"
57QT_MOC_LITERAL(22, 214, 11), // "wt_Activity"
58QT_MOC_LITERAL(23, 226, 12), // "wt_Component"
59QT_MOC_LITERAL(24, 239, 11), // "wt_Artifact"
60QT_MOC_LITERAL(25, 251, 7), // "wt_Node"
61QT_MOC_LITERAL(26, 259, 14), // "wt_Association"
62QT_MOC_LITERAL(27, 274, 11), // "wt_ForkJoin"
63QT_MOC_LITERAL(28, 286, 15), // "wt_Precondition"
64QT_MOC_LITERAL(29, 302, 19), // "wt_CombinedFragment"
65QT_MOC_LITERAL(30, 322, 19), // "wt_FloatingDashLine"
66QT_MOC_LITERAL(31, 342, 9), // "wt_Signal"
67QT_MOC_LITERAL(32, 352, 6), // "wt_Pin"
68QT_MOC_LITERAL(33, 359, 13), // "wt_ObjectNode"
69QT_MOC_LITERAL(34, 373, 9), // "wt_Region"
70QT_MOC_LITERAL(35, 383, 11), // "wt_Category"
71QT_MOC_LITERAL(36, 395, 7), // "wt_Port"
72QT_MOC_LITERAL(37, 403, 11), // "wt_Instance"
73QT_MOC_LITERAL(38, 415, 6) // "wt_Max"
74
75 },
76 "WidgetBase\0slotMenuSelection\0\0QAction*\0"
77 "trigger\0WidgetType\0wt_Min\0wt_UMLWidget\0"
78 "wt_Actor\0wt_UseCase\0wt_Class\0wt_Interface\0"
79 "wt_Datatype\0wt_Enum\0wt_Entity\0wt_Package\0"
80 "wt_Object\0wt_Note\0wt_Box\0wt_Message\0"
81 "wt_Text\0wt_State\0wt_Activity\0wt_Component\0"
82 "wt_Artifact\0wt_Node\0wt_Association\0"
83 "wt_ForkJoin\0wt_Precondition\0"
84 "wt_CombinedFragment\0wt_FloatingDashLine\0"
85 "wt_Signal\0wt_Pin\0wt_ObjectNode\0wt_Region\0"
86 "wt_Category\0wt_Port\0wt_Instance\0wt_Max"
87};
88#undef QT_MOC_LITERAL
89
90static const uint qt_meta_data_WidgetBase[] = {
91
92 // content:
93 8, // revision
94 0, // classname
95 0, 0, // classinfo
96 1, 14, // methods
97 0, 0, // properties
98 1, 22, // enums/sets
99 0, 0, // constructors
100 0, // flags
101 0, // signalCount
102
103 // slots: name, argc, parameters, tag, flags
104 1, 1, 19, 2, 0x0a /* Public */,
105
106 // slots: parameters
107 QMetaType::Void, 0x80000000 | 3, 4,
108
109 // enums: name, alias, flags, count, data
110 5, 5, 0x0, 33, 27,
111
112 // enum data: key, value
113 6, uint(WidgetBase::wt_Min),
115 8, uint(WidgetBase::wt_Actor),
116 9, uint(WidgetBase::wt_UseCase),
117 10, uint(WidgetBase::wt_Class),
118 11, uint(WidgetBase::wt_Interface),
119 12, uint(WidgetBase::wt_Datatype),
120 13, uint(WidgetBase::wt_Enum),
121 14, uint(WidgetBase::wt_Entity),
122 15, uint(WidgetBase::wt_Package),
123 16, uint(WidgetBase::wt_Object),
124 17, uint(WidgetBase::wt_Note),
125 18, uint(WidgetBase::wt_Box),
126 19, uint(WidgetBase::wt_Message),
127 20, uint(WidgetBase::wt_Text),
128 21, uint(WidgetBase::wt_State),
129 22, uint(WidgetBase::wt_Activity),
130 23, uint(WidgetBase::wt_Component),
131 24, uint(WidgetBase::wt_Artifact),
132 25, uint(WidgetBase::wt_Node),
134 27, uint(WidgetBase::wt_ForkJoin),
138 31, uint(WidgetBase::wt_Signal),
139 32, uint(WidgetBase::wt_Pin),
141 34, uint(WidgetBase::wt_Region),
142 35, uint(WidgetBase::wt_Category),
143 36, uint(WidgetBase::wt_Port),
144 37, uint(WidgetBase::wt_Instance),
145 38, uint(WidgetBase::wt_Max),
146
147 0 // eod
148};
149
150void WidgetBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
151{
152 if (_c == QMetaObject::InvokeMetaMethod) {
153 auto *_t = static_cast<WidgetBase *>(_o);
154 (void)_t;
155 switch (_id) {
156 case 0: _t->slotMenuSelection((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
157 default: ;
158 }
159 }
160}
161
162QT_INIT_METAOBJECT const QMetaObject WidgetBase::staticMetaObject = { {
163 QMetaObject::SuperData::link<QGraphicsObjectWrapper::staticMetaObject>(),
166 qt_static_metacall,
167 nullptr,
168 nullptr
169} };
170
171
172const QMetaObject *WidgetBase::metaObject() const
173{
174 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
175}
176
177void *WidgetBase::qt_metacast(const char *_clname)
178{
179 if (!_clname) return nullptr;
180 if (!strcmp(_clname, qt_meta_stringdata_WidgetBase.stringdata0))
181 return static_cast<void*>(this);
182 return QGraphicsObjectWrapper::qt_metacast(_clname);
183}
184
185int WidgetBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
186{
187 _id = QGraphicsObjectWrapper::qt_metacall(_c, _id, _a);
188 if (_id < 0)
189 return _id;
190 if (_c == QMetaObject::InvokeMetaMethod) {
191 if (_id < 1)
192 qt_static_metacall(this, _c, _id, _a);
193 _id -= 1;
194 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
195 if (_id < 1)
196 *reinterpret_cast<int*>(_a[0]) = -1;
197 _id -= 1;
198 }
199 return _id;
200}
201QT_WARNING_POP
202QT_END_MOC_NAMESPACE
Common base class for UMLWidget and AssociationWidget.
Definition widgetbase.h:101
virtual void slotMenuSelection(QAction *trigger)
Definition widgetbase.cpp:971
@ 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
static const uint qt_meta_data_WidgetBase[]
Definition moc_widgetbase.cpp:90
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_widgetbase.cpp:28
static const qt_meta_stringdata_WidgetBase_t qt_meta_stringdata_WidgetBase
Definition moc_widgetbase.cpp:33
Definition moc_widgetbase.cpp:24
char stringdata0[422]
Definition moc_widgetbase.cpp:26
QByteArrayData data[39]
Definition moc_widgetbase.cpp:25