umbrello 25.04.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_activitywidget.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'activitywidget.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/activitywidget.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'activitywidget.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[131];
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_ActivityWidget_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 14), // "ActivityWidget"
36QT_MOC_LITERAL(1, 15, 11), // "sigActMoved"
37QT_MOC_LITERAL(2, 27, 0), // ""
38QT_MOC_LITERAL(3, 28, 5), // "diffX"
39QT_MOC_LITERAL(4, 34, 5), // "diffY"
40QT_MOC_LITERAL(5, 40, 17), // "slotMenuSelection"
41QT_MOC_LITERAL(6, 58, 8), // "QAction*"
42QT_MOC_LITERAL(7, 67, 6), // "action"
43QT_MOC_LITERAL(8, 74, 12), // "ActivityType"
44QT_MOC_LITERAL(9, 87, 7), // "Initial"
45QT_MOC_LITERAL(10, 95, 6), // "Normal"
46QT_MOC_LITERAL(11, 102, 3), // "End"
47QT_MOC_LITERAL(12, 106, 5), // "Final"
48QT_MOC_LITERAL(13, 112, 6), // "Branch"
49QT_MOC_LITERAL(14, 119, 5), // "Invok"
50QT_MOC_LITERAL(15, 125, 5) // "Param"
51
52 },
53 "ActivityWidget\0sigActMoved\0\0diffX\0"
54 "diffY\0slotMenuSelection\0QAction*\0"
55 "action\0ActivityType\0Initial\0Normal\0"
56 "End\0Final\0Branch\0Invok\0Param"
57};
58#undef QT_MOC_LITERAL
59
60static const uint qt_meta_data_ActivityWidget[] = {
61
62 // content:
63 8, // revision
64 0, // classname
65 0, 0, // classinfo
66 2, 14, // methods
67 0, 0, // properties
68 1, 32, // enums/sets
69 0, 0, // constructors
70 0, // flags
71 1, // signalCount
72
73 // signals: name, argc, parameters, tag, flags
74 1, 2, 24, 2, 0x06 /* Public */,
75
76 // slots: name, argc, parameters, tag, flags
77 5, 1, 29, 2, 0x0a /* Public */,
78
79 // signals: parameters
80 QMetaType::Void, QMetaType::QReal, QMetaType::QReal, 3, 4,
81
82 // slots: parameters
83 QMetaType::Void, 0x80000000 | 6, 7,
84
85 // enums: name, alias, flags, count, data
86 8, 8, 0x0, 7, 37,
87
88 // enum data: key, value
90 10, uint(ActivityWidget::Normal),
91 11, uint(ActivityWidget::End),
92 12, uint(ActivityWidget::Final),
93 13, uint(ActivityWidget::Branch),
94 14, uint(ActivityWidget::Invok),
95 15, uint(ActivityWidget::Param),
96
97 0 // eod
98};
99
100void ActivityWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
101{
102 if (_c == QMetaObject::InvokeMetaMethod) {
103 auto *_t = static_cast<ActivityWidget *>(_o);
104 (void)_t;
105 switch (_id) {
106 case 0: _t->sigActMoved((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
107 case 1: _t->slotMenuSelection((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
108 default: ;
109 }
110 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
111 switch (_id) {
112 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
113 case 1:
114 switch (*reinterpret_cast<int*>(_a[1])) {
115 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
116 case 0:
117 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
118 }
119 break;
120 }
121 } else if (_c == QMetaObject::IndexOfMethod) {
122 int *result = reinterpret_cast<int *>(_a[0]);
123 {
124 using _t = void (ActivityWidget::*)(qreal , qreal );
125 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ActivityWidget::sigActMoved)) {
126 *result = 0;
127 return;
128 }
129 }
130 }
131}
132
133QT_INIT_METAOBJECT const QMetaObject ActivityWidget::staticMetaObject = { {
134 QMetaObject::SuperData::link<UMLWidget::staticMetaObject>(),
137 qt_static_metacall,
138 nullptr,
139 nullptr
140} };
141
142
143const QMetaObject *ActivityWidget::metaObject() const
144{
145 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
146}
147
148void *ActivityWidget::qt_metacast(const char *_clname)
149{
150 if (!_clname) return nullptr;
152 return static_cast<void*>(this);
153 return UMLWidget::qt_metacast(_clname);
154}
155
156int ActivityWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
157{
158 _id = UMLWidget::qt_metacall(_c, _id, _a);
159 if (_id < 0)
160 return _id;
161 if (_c == QMetaObject::InvokeMetaMethod) {
162 if (_id < 2)
163 qt_static_metacall(this, _c, _id, _a);
164 _id -= 2;
165 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
166 if (_id < 2)
167 qt_static_metacall(this, _c, _id, _a);
168 _id -= 2;
169 }
170 return _id;
171}
172
173// SIGNAL 0
174void ActivityWidget::sigActMoved(qreal _t1, qreal _t2)
175{
176 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
177 QMetaObject::activate(this, &staticMetaObject, 0, _a);
178}
179QT_WARNING_POP
180QT_END_MOC_NAMESPACE
A graphical version of a UML Activity.
Definition activitywidget.h:29
@ Branch
Definition activitywidget.h:39
@ Param
Definition activitywidget.h:41
@ End
Definition activitywidget.h:37
@ Initial
Definition activitywidget.h:35
@ Final
Definition activitywidget.h:38
@ Invok
Definition activitywidget.h:40
@ Normal
Definition activitywidget.h:36
void sigActMoved(qreal diffX, qreal diffY)
Definition moc_activitywidget.cpp:174
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_activitywidget.cpp:28
static const uint qt_meta_data_ActivityWidget[]
Definition moc_activitywidget.cpp:60
static const qt_meta_stringdata_ActivityWidget_t qt_meta_stringdata_ActivityWidget
Definition moc_activitywidget.cpp:33
Definition moc_activitywidget.cpp:24
char stringdata0[131]
Definition moc_activitywidget.cpp:26
QByteArrayData data[16]
Definition moc_activitywidget.cpp:25