umbrello 25.11.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_statewidget.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'statewidget.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 'statewidget.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_ZN11StateWidgetE = QtMocHelpers::stringData(
40 "StateWidget",
41 "slotMenuSelection",
42 "",
43 "QAction*",
44 "action",
45 "StateType",
46 "Initial",
47 "Normal",
48 "End",
49 "Fork",
50 "Join",
51 "Junction",
52 "DeepHistory",
53 "ShallowHistory",
54 "Choice",
55 "Combined"
56);
57#else // !QT_MOC_HAS_STRINGDATA
58#error "qtmochelpers.h not found or too old."
59#endif // !QT_MOC_HAS_STRINGDATA
60
62
63 // content:
64 12, // revision
65 0, // classname
66 0, 0, // classinfo
67 1, 14, // methods
68 0, 0, // properties
69 1, 23, // enums/sets
70 0, 0, // constructors
71 0, // flags
72 0, // signalCount
73
74 // slots: name, argc, parameters, tag, flags, initial metatype offsets
75 1, 1, 20, 2, 0x0a, 2 /* Public */,
76
77 // slots: parameters
78 QMetaType::Void, 0x80000000 | 3, 4,
79
80 // enums: name, alias, flags, count, data
81 5, 5, 0x0, 10, 28,
82
83 // enum data: key, value
84 6, uint(StateWidget::Initial),
85 7, uint(StateWidget::Normal),
86 8, uint(StateWidget::End),
87 9, uint(StateWidget::Fork),
88 10, uint(StateWidget::Join),
89 11, uint(StateWidget::Junction),
92 14, uint(StateWidget::Choice),
93 15, uint(StateWidget::Combined),
94
95 0 // eod
96};
97
98Q_CONSTINIT const QMetaObject StateWidget::staticMetaObject = { {
99 QMetaObject::SuperData::link<UMLWidget::staticMetaObject>(),
100 qt_meta_stringdata_ZN11StateWidgetE.offsetsAndSizes,
102 qt_static_metacall,
103 nullptr,
104 qt_incomplete_metaTypeArray<qt_meta_tag_ZN11StateWidgetE_t,
105 // enum 'StateType'
106 QtPrivate::TypeAndForceComplete<StateWidget::StateType, std::true_type>,
107 // Q_OBJECT / Q_GADGET
108 QtPrivate::TypeAndForceComplete<StateWidget, std::true_type>,
109 // method 'slotMenuSelection'
110 QtPrivate::TypeAndForceComplete<void, std::false_type>,
111 QtPrivate::TypeAndForceComplete<QAction *, std::false_type>
112 >,
113 nullptr
114} };
115
116void StateWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
117{
118 auto *_t = static_cast<StateWidget *>(_o);
119 if (_c == QMetaObject::InvokeMetaMethod) {
120 switch (_id) {
121 case 0: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
122 default: ;
123 }
124 }
125}
126
127const QMetaObject *StateWidget::metaObject() const
128{
129 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
130}
131
132void *StateWidget::qt_metacast(const char *_clname)
133{
134 if (!_clname) return nullptr;
135 if (!strcmp(_clname, qt_meta_stringdata_ZN11StateWidgetE.stringdata0))
136 return static_cast<void*>(this);
137 return UMLWidget::qt_metacast(_clname);
138}
139
140int StateWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
141{
142 _id = UMLWidget::qt_metacall(_c, _id, _a);
143 if (_id < 0)
144 return _id;
145 if (_c == QMetaObject::InvokeMetaMethod) {
146 if (_id < 1)
147 qt_static_metacall(this, _c, _id, _a);
148 _id -= 1;
149 }
150 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
151 if (_id < 1)
152 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
153 _id -= 1;
154 }
155 return _id;
156}
157QT_WARNING_POP
@ Junction
Definition statewidget.h:46
@ Fork
Definition statewidget.h:44
@ ShallowHistory
Definition statewidget.h:48
@ Join
Definition statewidget.h:45
@ DeepHistory
Definition statewidget.h:47
@ Combined
Definition statewidget.h:53
@ Choice
Definition statewidget.h:49
@ Initial
Definition statewidget.h:41
@ End
Definition statewidget.h:43
@ Normal
Definition statewidget.h:42
StateWidget(UMLScene *scene, StateType stateType=Normal, Uml::ID::Type id=Uml::ID::None)
Definition statewidget.cpp:39
#define Q_CONSTINIT
Definition moc_parser.cpp:27
static Q_CONSTINIT const uint qt_meta_data_ZN11StateWidgetE[]
Definition moc_statewidget.cpp:61
Definition moc_parser.cpp:33