umbrello 26.04.3
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.11.1)
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.11.1. 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 "QPoint",
49 "p",
50 "slotMenuSelection",
51 "QAction*",
52 "action"
53 };
54
55 QtMocHelpers::UintData qt_methods {
56 // Slot 'slotClick'
57 QtMocHelpers::SlotData<void(QListWidgetItem *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
58 { 0x80000000 | 3, 4 },
59 }}),
60 // Slot 'slotDoubleClick'
61 QtMocHelpers::SlotData<void(QListWidgetItem *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
62 { 0x80000000 | 3, 4 },
63 }}),
64 // Slot 'slotRightButtonPressed'
65 QtMocHelpers::SlotData<void(const QPoint &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
66 { 0x80000000 | 7, 8 },
67 }}),
68 // Slot 'slotMenuSelection'
69 QtMocHelpers::SlotData<void(QAction *)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
70 { 0x80000000 | 10, 11 },
71 }}),
72 };
73 QtMocHelpers::UintData qt_properties {
74 };
75 QtMocHelpers::UintData qt_enums {
76 };
77 return QtMocHelpers::metaObjectData<ClassAssociationsPage, qt_meta_tag_ZN21ClassAssociationsPageE_t>(QMC::MetaObjectFlag{}, qt_stringData,
78 qt_methods, qt_properties, qt_enums);
79}
80Q_CONSTINIT const QMetaObject ClassAssociationsPage::staticMetaObject = { {
81 QMetaObject::SuperData::link<DialogPageBase::staticMetaObject>(),
82 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21ClassAssociationsPageE_t>.stringdata,
83 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21ClassAssociationsPageE_t>.data,
84 qt_static_metacall,
85 nullptr,
86 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN21ClassAssociationsPageE_t>.metaTypes,
87 nullptr
88} };
89
90void ClassAssociationsPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
91{
92 auto *_t = static_cast<ClassAssociationsPage *>(_o);
93 if (_c == QMetaObject::InvokeMetaMethod) {
94 switch (_id) {
95 case 0: _t->slotClick((*reinterpret_cast<std::add_pointer_t<QListWidgetItem*>>(_a[1]))); break;
96 case 1: _t->slotDoubleClick((*reinterpret_cast<std::add_pointer_t<QListWidgetItem*>>(_a[1]))); break;
97 case 2: _t->slotRightButtonPressed((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
98 case 3: _t->slotMenuSelection((*reinterpret_cast<std::add_pointer_t<QAction*>>(_a[1]))); break;
99 default: ;
100 }
101 }
102 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
103 switch (_id) {
104 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
105 case 3:
106 switch (*reinterpret_cast<int*>(_a[1])) {
107 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
108 case 0:
109 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
110 }
111 break;
112 }
113 }
114}
115
116const QMetaObject *ClassAssociationsPage::metaObject() const
117{
118 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
119}
120
121void *ClassAssociationsPage::qt_metacast(const char *_clname)
122{
123 if (!_clname) return nullptr;
124 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21ClassAssociationsPageE_t>.strings))
125 return static_cast<void*>(this);
126 return DialogPageBase::qt_metacast(_clname);
127}
128
129int ClassAssociationsPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
130{
131 _id = DialogPageBase::qt_metacall(_c, _id, _a);
132 if (_id < 0)
133 return _id;
134 if (_c == QMetaObject::InvokeMetaMethod) {
135 if (_id < 4)
136 qt_static_metacall(this, _c, _id, _a);
137 _id -= 4;
138 }
139 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
140 if (_id < 4)
141 qt_static_metacall(this, _c, _id, _a);
142 _id -= 4;
143 }
144 return _id;
145}
146QT_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