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