umbrello 25.11.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_componentwidget.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'componentwidget.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 'componentwidget.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_ZN15ComponentWidgetE = QtMocHelpers::stringData(
40 "ComponentWidget",
41 "sigCompMoved",
42 "",
43 "diffX",
44 "diffY"
45);
46#else // !QT_MOC_HAS_STRINGDATA
47#error "qtmochelpers.h not found or too old."
48#endif // !QT_MOC_HAS_STRINGDATA
49
51
52 // content:
53 12, // revision
54 0, // classname
55 0, 0, // classinfo
56 1, 14, // methods
57 0, 0, // properties
58 0, 0, // enums/sets
59 0, 0, // constructors
60 0, // flags
61 1, // signalCount
62
63 // signals: name, argc, parameters, tag, flags, initial metatype offsets
64 1, 2, 20, 2, 0x06, 1 /* Public */,
65
66 // signals: parameters
67 QMetaType::Void, QMetaType::QReal, QMetaType::QReal, 3, 4,
68
69 0 // eod
70};
71
72Q_CONSTINIT const QMetaObject ComponentWidget::staticMetaObject = { {
73 QMetaObject::SuperData::link<UMLWidget::staticMetaObject>(),
74 qt_meta_stringdata_ZN15ComponentWidgetE.offsetsAndSizes,
76 qt_static_metacall,
77 nullptr,
78 qt_incomplete_metaTypeArray<qt_meta_tag_ZN15ComponentWidgetE_t,
79 // Q_OBJECT / Q_GADGET
80 QtPrivate::TypeAndForceComplete<ComponentWidget, std::true_type>,
81 // method 'sigCompMoved'
82 QtPrivate::TypeAndForceComplete<void, std::false_type>,
83 QtPrivate::TypeAndForceComplete<qreal, std::false_type>,
84 QtPrivate::TypeAndForceComplete<qreal, std::false_type>
85 >,
86 nullptr
87} };
88
89void ComponentWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
90{
91 auto *_t = static_cast<ComponentWidget *>(_o);
92 if (_c == QMetaObject::InvokeMetaMethod) {
93 switch (_id) {
94 case 0: _t->sigCompMoved((*reinterpret_cast< std::add_pointer_t<qreal>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<qreal>>(_a[2]))); break;
95 default: ;
96 }
97 }
98 if (_c == QMetaObject::IndexOfMethod) {
99 int *result = reinterpret_cast<int *>(_a[0]);
100 {
101 using _q_method_type = void (ComponentWidget::*)(qreal , qreal );
102 if (_q_method_type _q_method = &ComponentWidget::sigCompMoved; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
103 *result = 0;
104 return;
105 }
106 }
107 }
108}
109
110const QMetaObject *ComponentWidget::metaObject() const
111{
112 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
113}
114
115void *ComponentWidget::qt_metacast(const char *_clname)
116{
117 if (!_clname) return nullptr;
118 if (!strcmp(_clname, qt_meta_stringdata_ZN15ComponentWidgetE.stringdata0))
119 return static_cast<void*>(this);
120 return UMLWidget::qt_metacast(_clname);
121}
122
123int ComponentWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
124{
125 _id = UMLWidget::qt_metacall(_c, _id, _a);
126 if (_id < 0)
127 return _id;
128 if (_c == QMetaObject::InvokeMetaMethod) {
129 if (_id < 1)
130 qt_static_metacall(this, _c, _id, _a);
131 _id -= 1;
132 }
133 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
134 if (_id < 1)
135 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
136 _id -= 1;
137 }
138 return _id;
139}
140
141// SIGNAL 0
142void ComponentWidget::sigCompMoved(qreal _t1, qreal _t2)
143{
144 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
145 QMetaObject::activate(this, &staticMetaObject, 0, _a);
146}
147QT_WARNING_POP
void sigCompMoved(qreal diffX, qreal diffY)
Definition moc_componentwidget.cpp:142
ComponentWidget(UMLScene *scene, UMLComponent *c)
Definition componentwidget.cpp:30
static Q_CONSTINIT const uint qt_meta_data_ZN15ComponentWidgetE[]
Definition moc_componentwidget.cpp:50
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33