umbrello 25.11.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_objectnodewidget.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'objectnodewidget.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 'objectnodewidget.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_ZN16ObjectNodeWidgetE = QtMocHelpers::stringData(
40 "ObjectNodeWidget",
41 "slotMenuSelection",
42 "",
43 "QAction*",
44 "action",
45 "slotOk"
46);
47#else // !QT_MOC_HAS_STRINGDATA
48#error "qtmochelpers.h not found or too old."
49#endif // !QT_MOC_HAS_STRINGDATA
50
52
53 // content:
54 12, // revision
55 0, // classname
56 0, 0, // classinfo
57 2, 14, // methods
58 0, 0, // properties
59 0, 0, // enums/sets
60 0, 0, // constructors
61 0, // flags
62 0, // signalCount
63
64 // slots: name, argc, parameters, tag, flags, initial metatype offsets
65 1, 1, 26, 2, 0x0a, 1 /* Public */,
66 5, 0, 29, 2, 0x0a, 3 /* Public */,
67
68 // slots: parameters
69 QMetaType::Void, 0x80000000 | 3, 4,
70 QMetaType::Void,
71
72 0 // eod
73};
74
75Q_CONSTINIT const QMetaObject ObjectNodeWidget::staticMetaObject = { {
76 QMetaObject::SuperData::link<UMLWidget::staticMetaObject>(),
77 qt_meta_stringdata_ZN16ObjectNodeWidgetE.offsetsAndSizes,
79 qt_static_metacall,
80 nullptr,
81 qt_incomplete_metaTypeArray<qt_meta_tag_ZN16ObjectNodeWidgetE_t,
82 // Q_OBJECT / Q_GADGET
83 QtPrivate::TypeAndForceComplete<ObjectNodeWidget, std::true_type>,
84 // method 'slotMenuSelection'
85 QtPrivate::TypeAndForceComplete<void, std::false_type>,
86 QtPrivate::TypeAndForceComplete<QAction *, std::false_type>,
87 // method 'slotOk'
88 QtPrivate::TypeAndForceComplete<void, std::false_type>
89 >,
90 nullptr
91} };
92
93void ObjectNodeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
94{
95 auto *_t = static_cast<ObjectNodeWidget *>(_o);
96 if (_c == QMetaObject::InvokeMetaMethod) {
97 switch (_id) {
98 case 0: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
99 case 1: _t->slotOk(); break;
100 default: ;
101 }
102 }
103}
104
105const QMetaObject *ObjectNodeWidget::metaObject() const
106{
107 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
108}
109
110void *ObjectNodeWidget::qt_metacast(const char *_clname)
111{
112 if (!_clname) return nullptr;
113 if (!strcmp(_clname, qt_meta_stringdata_ZN16ObjectNodeWidgetE.stringdata0))
114 return static_cast<void*>(this);
115 return UMLWidget::qt_metacast(_clname);
116}
117
118int ObjectNodeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
119{
120 _id = UMLWidget::qt_metacall(_c, _id, _a);
121 if (_id < 0)
122 return _id;
123 if (_c == QMetaObject::InvokeMetaMethod) {
124 if (_id < 2)
125 qt_static_metacall(this, _c, _id, _a);
126 _id -= 2;
127 }
128 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
129 if (_id < 2)
130 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
131 _id -= 2;
132 }
133 return _id;
134}
135QT_WARNING_POP
ObjectNodeWidget(UMLScene *scene, ObjectNodeType objectNodeType=Normal, Uml::ID::Type id=Uml::ID::None)
Definition objectnodewidget.cpp:42
static Q_CONSTINIT const uint qt_meta_data_ZN16ObjectNodeWidgetE[]
Definition moc_objectnodewidget.cpp:51
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33