umbrello 25.12.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_classassociationspage.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'classassociationspage.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 'classassociationspage.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 ClassAssociationsPage::qt_create_metaobjectdata<qt_meta_tag_ZN21ClassAssociationsPageE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "ClassAssociationsPage",
42 "slotClick",
43 "",
44 "QListWidgetItem*",
45 "item",
46 "slotDoubleClick",
47 "slotRightButtonPressed",
48 "p",
49 "slotMenuSelection",
50 "QAction*",
51 "action"
52 };
53
54 QtMocHelpers::UintData qt_methods {
55 // Slot 'slotClick'
56 QtMocHelpers::SlotData<void(QListWidgetItem *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
57 { 0x80000000 | 3, 4 },
58 }}),
59 // Slot 'slotDoubleClick'
60 QtMocHelpers::SlotData<void(QListWidgetItem *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
61 { 0x80000000 | 3, 4 },
62 }}),
63 // Slot 'slotRightButtonPressed'
64 QtMocHelpers::SlotData<void(const QPoint &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
65 { QMetaType::QPoint, 7 },
66 }}),
67 // Slot 'slotMenuSelection'
68 QtMocHelpers::SlotData<void(QAction *)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
69 { 0x80000000 | 9, 10 },
70 }}),
71 };
72 QtMocHelpers::UintData qt_properties {
73 };
74 QtMocHelpers::UintData qt_enums {
75 };
76 return QtMocHelpers::metaObjectData<ClassAssociationsPage, qt_meta_tag_ZN21ClassAssociationsPageE_t>(QMC::MetaObjectFlag{}, qt_stringData,
77 qt_methods, qt_properties, qt_enums);
78}
79Q_CONSTINIT const QMetaObject ClassAssociationsPage::staticMetaObject = { {
80 QMetaObject::SuperData::link<DialogPageBase::staticMetaObject>(),
81 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21ClassAssociationsPageE_t>.stringdata,
82 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21ClassAssociationsPageE_t>.data,
83 qt_static_metacall,
84 nullptr,
85 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN21ClassAssociationsPageE_t>.metaTypes,
86 nullptr
87} };
88
89void ClassAssociationsPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
90{
91 auto *_t = static_cast<ClassAssociationsPage *>(_o);
92 if (_c == QMetaObject::InvokeMetaMethod) {
93 switch (_id) {
94 case 0: _t->slotClick((*reinterpret_cast< std::add_pointer_t<QListWidgetItem*>>(_a[1]))); break;
95 case 1: _t->slotDoubleClick((*reinterpret_cast< std::add_pointer_t<QListWidgetItem*>>(_a[1]))); break;
96 case 2: _t->slotRightButtonPressed((*reinterpret_cast< std::add_pointer_t<QPoint>>(_a[1]))); break;
97 case 3: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
98 default: ;
99 }
100 }
101 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
102 switch (_id) {
103 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
104 case 3:
105 switch (*reinterpret_cast<int*>(_a[1])) {
106 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
107 case 0:
108 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
109 }
110 break;
111 }
112 }
113}
114
115const QMetaObject *ClassAssociationsPage::metaObject() const
116{
117 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
118}
119
120void *ClassAssociationsPage::qt_metacast(const char *_clname)
121{
122 if (!_clname) return nullptr;
123 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21ClassAssociationsPageE_t>.strings))
124 return static_cast<void*>(this);
125 return DialogPageBase::qt_metacast(_clname);
126}
127
128int ClassAssociationsPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
129{
130 _id = DialogPageBase::qt_metacall(_c, _id, _a);
131 if (_id < 0)
132 return _id;
133 if (_c == QMetaObject::InvokeMetaMethod) {
134 if (_id < 4)
135 qt_static_metacall(this, _c, _id, _a);
136 _id -= 4;
137 }
138 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
139 if (_id < 4)
140 qt_static_metacall(this, _c, _id, _a);
141 _id -= 4;
142 }
143 return _id;
144}
145QT_WARNING_POP
ClassAssociationsPage(QWidget *parent, UMLScene *scene, UMLObject *o)
Definition classassociationspage.cpp:32
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33