umbrello 25.11.70
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 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 'preconditionwidget.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_ZN18PreconditionWidgetE = QtMocHelpers::stringData(
40 "PreconditionWidget",
41 "slotMenuSelection",
42 "",
43 "QAction*",
44 "action",
45 "slotWidgetMoved",
46 "Uml::ID::Type",
47 "id"
48);
49#else // !QT_MOC_HAS_STRINGDATA
50#error "qtmochelpers.h not found or too old."
51#endif // !QT_MOC_HAS_STRINGDATA
52
54
55 // content:
56 12, // revision
57 0, // classname
58 0, 0, // classinfo
59 2, 14, // methods
60 0, 0, // properties
61 0, 0, // enums/sets
62 0, 0, // constructors
63 0, // flags
64 0, // signalCount
65
66 // slots: name, argc, parameters, tag, flags, initial metatype offsets
67 1, 1, 26, 2, 0x0a, 1 /* Public */,
68 5, 1, 29, 2, 0x0a, 3 /* Public */,
69
70 // slots: parameters
71 QMetaType::Void, 0x80000000 | 3, 4,
72 QMetaType::Void, 0x80000000 | 6, 7,
73
74 0 // eod
75};
76
77Q_CONSTINIT const QMetaObject PreconditionWidget::staticMetaObject = { {
78 QMetaObject::SuperData::link<UMLWidget::staticMetaObject>(),
79 qt_meta_stringdata_ZN18PreconditionWidgetE.offsetsAndSizes,
81 qt_static_metacall,
82 nullptr,
83 qt_incomplete_metaTypeArray<qt_meta_tag_ZN18PreconditionWidgetE_t,
84 // Q_OBJECT / Q_GADGET
85 QtPrivate::TypeAndForceComplete<PreconditionWidget, std::true_type>,
86 // method 'slotMenuSelection'
87 QtPrivate::TypeAndForceComplete<void, std::false_type>,
88 QtPrivate::TypeAndForceComplete<QAction *, std::false_type>,
89 // method 'slotWidgetMoved'
90 QtPrivate::TypeAndForceComplete<void, std::false_type>,
91 QtPrivate::TypeAndForceComplete<Uml::ID::Type, std::false_type>
92 >,
93 nullptr
94} };
95
96void PreconditionWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
97{
98 auto *_t = static_cast<PreconditionWidget *>(_o);
99 if (_c == QMetaObject::InvokeMetaMethod) {
100 switch (_id) {
101 case 0: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
102 case 1: _t->slotWidgetMoved((*reinterpret_cast< std::add_pointer_t<Uml::ID::Type>>(_a[1]))); break;
103 default: ;
104 }
105 }
106}
107
108const QMetaObject *PreconditionWidget::metaObject() const
109{
110 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
111}
112
113void *PreconditionWidget::qt_metacast(const char *_clname)
114{
115 if (!_clname) return nullptr;
116 if (!strcmp(_clname, qt_meta_stringdata_ZN18PreconditionWidgetE.stringdata0))
117 return static_cast<void*>(this);
118 return UMLWidget::qt_metacast(_clname);
119}
120
121int PreconditionWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
122{
123 _id = UMLWidget::qt_metacall(_c, _id, _a);
124 if (_id < 0)
125 return _id;
126 if (_c == QMetaObject::InvokeMetaMethod) {
127 if (_id < 2)
128 qt_static_metacall(this, _c, _id, _a);
129 _id -= 2;
130 }
131 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
132 if (_id < 2)
133 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
134 _id -= 2;
135 }
136 return _id;
137}
138QT_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
static Q_CONSTINIT const uint qt_meta_data_ZN18PreconditionWidgetE[]
Definition moc_preconditionwidget.cpp:53
Definition moc_parser.cpp:33