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