umbrello 25.11.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_pinportbase.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'pinportbase.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 'pinportbase.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_ZN11PinPortBaseE = QtMocHelpers::stringData(
40 "PinPortBase",
41 "slotMenuSelection",
42 "",
43 "QAction*",
44 "action"
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 0, // signalCount
62
63 // slots: name, argc, parameters, tag, flags, initial metatype offsets
64 1, 1, 20, 2, 0x0a, 1 /* Public */,
65
66 // slots: parameters
67 QMetaType::Void, 0x80000000 | 3, 4,
68
69 0 // eod
70};
71
72Q_CONSTINIT const QMetaObject PinPortBase::staticMetaObject = { {
73 QMetaObject::SuperData::link<UMLWidget::staticMetaObject>(),
74 qt_meta_stringdata_ZN11PinPortBaseE.offsetsAndSizes,
76 qt_static_metacall,
77 nullptr,
78 qt_incomplete_metaTypeArray<qt_meta_tag_ZN11PinPortBaseE_t,
79 // Q_OBJECT / Q_GADGET
80 QtPrivate::TypeAndForceComplete<PinPortBase, std::true_type>,
81 // method 'slotMenuSelection'
82 QtPrivate::TypeAndForceComplete<void, std::false_type>,
83 QtPrivate::TypeAndForceComplete<QAction *, std::false_type>
84 >,
85 nullptr
86} };
87
88void PinPortBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
89{
90 auto *_t = static_cast<PinPortBase *>(_o);
91 if (_c == QMetaObject::InvokeMetaMethod) {
92 switch (_id) {
93 case 0: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
94 default: ;
95 }
96 }
97}
98
99const QMetaObject *PinPortBase::metaObject() const
100{
101 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
102}
103
104void *PinPortBase::qt_metacast(const char *_clname)
105{
106 if (!_clname) return nullptr;
107 if (!strcmp(_clname, qt_meta_stringdata_ZN11PinPortBaseE.stringdata0))
108 return static_cast<void*>(this);
109 return UMLWidget::qt_metacast(_clname);
110}
111
112int PinPortBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
113{
114 _id = UMLWidget::qt_metacall(_c, _id, _a);
115 if (_id < 0)
116 return _id;
117 if (_c == QMetaObject::InvokeMetaMethod) {
118 if (_id < 1)
119 qt_static_metacall(this, _c, _id, _a);
120 _id -= 1;
121 }
122 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
123 if (_id < 1)
124 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
125 _id -= 1;
126 }
127 return _id;
128}
129QT_WARNING_POP
PinPortBase(UMLScene *scene, WidgetType type, UMLWidget *owner, UMLObject *o)
Definition pinportbase.cpp:32
#define Q_CONSTINIT
Definition moc_parser.cpp:27
static Q_CONSTINIT const uint qt_meta_data_ZN11PinPortBaseE[]
Definition moc_pinportbase.cpp:50
Definition moc_parser.cpp:33