umbrello 25.04.1
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 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/statewidget.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'statewidget.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[16];
26 char stringdata0[138];
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_StateWidget_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 11), // "StateWidget"
36QT_MOC_LITERAL(1, 12, 17), // "slotMenuSelection"
37QT_MOC_LITERAL(2, 30, 0), // ""
38QT_MOC_LITERAL(3, 31, 8), // "QAction*"
39QT_MOC_LITERAL(4, 40, 6), // "action"
40QT_MOC_LITERAL(5, 47, 9), // "StateType"
41QT_MOC_LITERAL(6, 57, 7), // "Initial"
42QT_MOC_LITERAL(7, 65, 6), // "Normal"
43QT_MOC_LITERAL(8, 72, 3), // "End"
44QT_MOC_LITERAL(9, 76, 4), // "Fork"
45QT_MOC_LITERAL(10, 81, 4), // "Join"
46QT_MOC_LITERAL(11, 86, 8), // "Junction"
47QT_MOC_LITERAL(12, 95, 11), // "DeepHistory"
48QT_MOC_LITERAL(13, 107, 14), // "ShallowHistory"
49QT_MOC_LITERAL(14, 122, 6), // "Choice"
50QT_MOC_LITERAL(15, 129, 8) // "Combined"
51
52 },
53 "StateWidget\0slotMenuSelection\0\0QAction*\0"
54 "action\0StateType\0Initial\0Normal\0End\0"
55 "Fork\0Join\0Junction\0DeepHistory\0"
56 "ShallowHistory\0Choice\0Combined"
57};
58#undef QT_MOC_LITERAL
59
60static const uint qt_meta_data_StateWidget[] = {
61
62 // content:
63 8, // revision
64 0, // classname
65 0, 0, // classinfo
66 1, 14, // methods
67 0, 0, // properties
68 1, 22, // enums/sets
69 0, 0, // constructors
70 0, // flags
71 0, // signalCount
72
73 // slots: name, argc, parameters, tag, flags
74 1, 1, 19, 2, 0x0a /* Public */,
75
76 // slots: parameters
77 QMetaType::Void, 0x80000000 | 3, 4,
78
79 // enums: name, alias, flags, count, data
80 5, 5, 0x0, 10, 27,
81
82 // enum data: key, value
83 6, uint(StateWidget::Initial),
84 7, uint(StateWidget::Normal),
85 8, uint(StateWidget::End),
86 9, uint(StateWidget::Fork),
87 10, uint(StateWidget::Join),
88 11, uint(StateWidget::Junction),
91 14, uint(StateWidget::Choice),
92 15, uint(StateWidget::Combined),
93
94 0 // eod
95};
96
97void StateWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
98{
99 if (_c == QMetaObject::InvokeMetaMethod) {
100 auto *_t = static_cast<StateWidget *>(_o);
101 (void)_t;
102 switch (_id) {
103 case 0: _t->slotMenuSelection((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
104 default: ;
105 }
106 }
107}
108
109QT_INIT_METAOBJECT const QMetaObject StateWidget::staticMetaObject = { {
110 QMetaObject::SuperData::link<UMLWidget::staticMetaObject>(),
113 qt_static_metacall,
114 nullptr,
115 nullptr
116} };
117
118
119const QMetaObject *StateWidget::metaObject() const
120{
121 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
122}
123
124void *StateWidget::qt_metacast(const char *_clname)
125{
126 if (!_clname) return nullptr;
127 if (!strcmp(_clname, qt_meta_stringdata_StateWidget.stringdata0))
128 return static_cast<void*>(this);
129 return UMLWidget::qt_metacast(_clname);
130}
131
132int StateWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
133{
134 _id = UMLWidget::qt_metacall(_c, _id, _a);
135 if (_id < 0)
136 return _id;
137 if (_c == QMetaObject::InvokeMetaMethod) {
138 if (_id < 1)
139 qt_static_metacall(this, _c, _id, _a);
140 _id -= 1;
141 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
142 if (_id < 1)
143 *reinterpret_cast<int*>(_a[0]) = -1;
144 _id -= 1;
145 }
146 return _id;
147}
148QT_WARNING_POP
149QT_END_MOC_NAMESPACE
A graphical version of a UML State.
Definition statewidget.h:34
@ 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
virtual void slotMenuSelection(QAction *action)
Definition statewidget.cpp:565
static const qt_meta_stringdata_StateWidget_t qt_meta_stringdata_StateWidget
Definition moc_statewidget.cpp:33
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_statewidget.cpp:28
static const uint qt_meta_data_StateWidget[]
Definition moc_statewidget.cpp:60
Definition moc_statewidget.cpp:24
QByteArrayData data[16]
Definition moc_statewidget.cpp:25
char stringdata0[138]
Definition moc_statewidget.cpp:26