umbrello 25.11.70
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 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 'activitywidget.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_ZN14ActivityWidgetE = QtMocHelpers::stringData(
40 "ActivityWidget",
41 "sigActMoved",
42 "",
43 "diffX",
44 "diffY",
45 "slotMenuSelection",
46 "QAction*",
47 "action",
48 "ActivityType",
49 "Initial",
50 "Normal",
51 "End",
52 "Final",
53 "Branch",
54 "Invok",
55 "Param"
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 2, 14, // methods
68 0, 0, // properties
69 1, 34, // enums/sets
70 0, 0, // constructors
71 0, // flags
72 1, // signalCount
73
74 // signals: name, argc, parameters, tag, flags, initial metatype offsets
75 1, 2, 26, 2, 0x06, 2 /* Public */,
76
77 // slots: name, argc, parameters, tag, flags, initial metatype offsets
78 5, 1, 31, 2, 0x0a, 5 /* Public */,
79
80 // signals: parameters
81 QMetaType::Void, QMetaType::QReal, QMetaType::QReal, 3, 4,
82
83 // slots: parameters
84 QMetaType::Void, 0x80000000 | 6, 7,
85
86 // enums: name, alias, flags, count, data
87 8, 8, 0x0, 7, 39,
88
89 // enum data: key, value
91 10, uint(ActivityWidget::Normal),
92 11, uint(ActivityWidget::End),
93 12, uint(ActivityWidget::Final),
94 13, uint(ActivityWidget::Branch),
95 14, uint(ActivityWidget::Invok),
96 15, uint(ActivityWidget::Param),
97
98 0 // eod
99};
100
101Q_CONSTINIT const QMetaObject ActivityWidget::staticMetaObject = { {
102 QMetaObject::SuperData::link<UMLWidget::staticMetaObject>(),
103 qt_meta_stringdata_ZN14ActivityWidgetE.offsetsAndSizes,
105 qt_static_metacall,
106 nullptr,
107 qt_incomplete_metaTypeArray<qt_meta_tag_ZN14ActivityWidgetE_t,
108 // enum 'ActivityType'
109 QtPrivate::TypeAndForceComplete<ActivityWidget::ActivityType, std::true_type>,
110 // Q_OBJECT / Q_GADGET
111 QtPrivate::TypeAndForceComplete<ActivityWidget, std::true_type>,
112 // method 'sigActMoved'
113 QtPrivate::TypeAndForceComplete<void, std::false_type>,
114 QtPrivate::TypeAndForceComplete<qreal, std::false_type>,
115 QtPrivate::TypeAndForceComplete<qreal, std::false_type>,
116 // method 'slotMenuSelection'
117 QtPrivate::TypeAndForceComplete<void, std::false_type>,
118 QtPrivate::TypeAndForceComplete<QAction *, std::false_type>
119 >,
120 nullptr
121} };
122
123void ActivityWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
124{
125 auto *_t = static_cast<ActivityWidget *>(_o);
126 if (_c == QMetaObject::InvokeMetaMethod) {
127 switch (_id) {
128 case 0: _t->sigActMoved((*reinterpret_cast< std::add_pointer_t<qreal>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<qreal>>(_a[2]))); break;
129 case 1: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
130 default: ;
131 }
132 }
133 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
134 switch (_id) {
135 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
136 case 1:
137 switch (*reinterpret_cast<int*>(_a[1])) {
138 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
139 case 0:
140 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
141 }
142 break;
143 }
144 }
145 if (_c == QMetaObject::IndexOfMethod) {
146 int *result = reinterpret_cast<int *>(_a[0]);
147 {
148 using _q_method_type = void (ActivityWidget::*)(qreal , qreal );
149 if (_q_method_type _q_method = &ActivityWidget::sigActMoved; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
150 *result = 0;
151 return;
152 }
153 }
154 }
155}
156
157const QMetaObject *ActivityWidget::metaObject() const
158{
159 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
160}
161
162void *ActivityWidget::qt_metacast(const char *_clname)
163{
164 if (!_clname) return nullptr;
165 if (!strcmp(_clname, qt_meta_stringdata_ZN14ActivityWidgetE.stringdata0))
166 return static_cast<void*>(this);
167 return UMLWidget::qt_metacast(_clname);
168}
169
170int ActivityWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
171{
172 _id = UMLWidget::qt_metacall(_c, _id, _a);
173 if (_id < 0)
174 return _id;
175 if (_c == QMetaObject::InvokeMetaMethod) {
176 if (_id < 2)
177 qt_static_metacall(this, _c, _id, _a);
178 _id -= 2;
179 }
180 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
181 if (_id < 2)
182 qt_static_metacall(this, _c, _id, _a);
183 _id -= 2;
184 }
185 return _id;
186}
187
188// SIGNAL 0
189void ActivityWidget::sigActMoved(qreal _t1, qreal _t2)
190{
191 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
192 QMetaObject::activate(this, &staticMetaObject, 0, _a);
193}
194QT_WARNING_POP
@ 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
ActivityWidget(UMLScene *scene, ActivityType activityType=Normal, Uml::ID::Type id=Uml::ID::None)
Definition activitywidget.cpp:37
void sigActMoved(qreal diffX, qreal diffY)
Definition moc_activitywidget.cpp:189
static Q_CONSTINIT const uint qt_meta_data_ZN14ActivityWidgetE[]
Definition moc_activitywidget.cpp:61
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33