umbrello 25.12.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_preconditionwidget.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'preconditionwidget.h'
3**
4** Created by: The Qt Meta Object Compiler version 69 (Qt 6.9.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 'preconditionwidget.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 69
21#error "This file was generated using the moc from 6.9.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
37template <> constexpr inline auto PreconditionWidget::qt_create_metaobjectdata<qt_meta_tag_ZN18PreconditionWidgetE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "PreconditionWidget",
42 "slotMenuSelection",
43 "",
44 "QAction*",
45 "action",
46 "slotWidgetMoved",
47 "Uml::ID::Type",
48 "id"
49 };
50
51 QtMocHelpers::UintData qt_methods {
52 // Slot 'slotMenuSelection'
53 QtMocHelpers::SlotData<void(QAction *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
54 { 0x80000000 | 3, 4 },
55 }}),
56 // Slot 'slotWidgetMoved'
57 QtMocHelpers::SlotData<void(Uml::ID::Type)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
58 { 0x80000000 | 6, 7 },
59 }}),
60 };
61 QtMocHelpers::UintData qt_properties {
62 };
63 QtMocHelpers::UintData qt_enums {
64 };
65 return QtMocHelpers::metaObjectData<PreconditionWidget, qt_meta_tag_ZN18PreconditionWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
66 qt_methods, qt_properties, qt_enums);
67}
68Q_CONSTINIT const QMetaObject PreconditionWidget::staticMetaObject = { {
69 QMetaObject::SuperData::link<UMLWidget::staticMetaObject>(),
70 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18PreconditionWidgetE_t>.stringdata,
71 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18PreconditionWidgetE_t>.data,
72 qt_static_metacall,
73 nullptr,
74 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN18PreconditionWidgetE_t>.metaTypes,
75 nullptr
76} };
77
78void PreconditionWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
79{
80 auto *_t = static_cast<PreconditionWidget *>(_o);
81 if (_c == QMetaObject::InvokeMetaMethod) {
82 switch (_id) {
83 case 0: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
84 case 1: _t->slotWidgetMoved((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
85 default: ;
86 }
87 }
88}
89
90const QMetaObject *PreconditionWidget::metaObject() const
91{
92 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
93}
94
95void *PreconditionWidget::qt_metacast(const char *_clname)
96{
97 if (!_clname) return nullptr;
98 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18PreconditionWidgetE_t>.strings))
99 return static_cast<void*>(this);
100 return UMLWidget::qt_metacast(_clname);
101}
102
103int PreconditionWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
104{
105 _id = UMLWidget::qt_metacall(_c, _id, _a);
106 if (_id < 0)
107 return _id;
108 if (_c == QMetaObject::InvokeMetaMethod) {
109 if (_id < 2)
110 qt_static_metacall(this, _c, _id, _a);
111 _id -= 2;
112 }
113 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
114 if (_id < 2)
115 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
116 _id -= 2;
117 }
118 return _id;
119}
120QT_WARNING_POP
PreconditionWidget(UMLScene *scene, ObjectWidget *a, Uml::ID::Type id=Uml::ID::None)
Definition preconditionwidget.cpp:39
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33
std::string Type
Definition basictypes.h:371