umbrello 25.11.70
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 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 'docwindow.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_ZN9DocWindowE = QtMocHelpers::stringData(
40 "DocWindow",
41 "slotAssociationRemoved",
42 "",
43 "AssociationWidget*",
44 "association",
45 "slotWidgetRemoved",
46 "UMLWidget*",
47 "widget",
48 "slotTextChanged",
49 "slotFocusEnabledChanged",
50 "state"
51);
52#else // !QT_MOC_HAS_STRINGDATA
53#error "qtmochelpers.h not found or too old."
54#endif // !QT_MOC_HAS_STRINGDATA
55
57
58 // content:
59 12, // revision
60 0, // classname
61 0, 0, // classinfo
62 4, 14, // methods
63 0, 0, // properties
64 0, 0, // enums/sets
65 0, 0, // constructors
66 0, // flags
67 0, // signalCount
68
69 // slots: name, argc, parameters, tag, flags, initial metatype offsets
70 1, 1, 38, 2, 0x0a, 1 /* Public */,
71 5, 1, 41, 2, 0x0a, 3 /* Public */,
72 8, 0, 44, 2, 0x08, 5 /* Private */,
73 9, 1, 45, 2, 0x08, 6 /* Private */,
74
75 // slots: parameters
76 QMetaType::Void, 0x80000000 | 3, 4,
77 QMetaType::Void, 0x80000000 | 6, 7,
78 QMetaType::Void,
79 QMetaType::Void, QMetaType::Int, 10,
80
81 0 // eod
82};
83
84Q_CONSTINIT const QMetaObject DocWindow::staticMetaObject = { {
85 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
86 qt_meta_stringdata_ZN9DocWindowE.offsetsAndSizes,
88 qt_static_metacall,
89 nullptr,
90 qt_incomplete_metaTypeArray<qt_meta_tag_ZN9DocWindowE_t,
91 // Q_OBJECT / Q_GADGET
92 QtPrivate::TypeAndForceComplete<DocWindow, std::true_type>,
93 // method 'slotAssociationRemoved'
94 QtPrivate::TypeAndForceComplete<void, std::false_type>,
95 QtPrivate::TypeAndForceComplete<AssociationWidget *, std::false_type>,
96 // method 'slotWidgetRemoved'
97 QtPrivate::TypeAndForceComplete<void, std::false_type>,
98 QtPrivate::TypeAndForceComplete<UMLWidget *, std::false_type>,
99 // method 'slotTextChanged'
100 QtPrivate::TypeAndForceComplete<void, std::false_type>,
101 // method 'slotFocusEnabledChanged'
102 QtPrivate::TypeAndForceComplete<void, std::false_type>,
103 QtPrivate::TypeAndForceComplete<int, std::false_type>
104 >,
105 nullptr
106} };
107
108void DocWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
109{
110 auto *_t = static_cast<DocWindow *>(_o);
111 if (_c == QMetaObject::InvokeMetaMethod) {
112 switch (_id) {
113 case 0: _t->slotAssociationRemoved((*reinterpret_cast< std::add_pointer_t<AssociationWidget*>>(_a[1]))); break;
114 case 1: _t->slotWidgetRemoved((*reinterpret_cast< std::add_pointer_t<UMLWidget*>>(_a[1]))); break;
115 case 2: _t->slotTextChanged(); break;
116 case 3: _t->slotFocusEnabledChanged((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
117 default: ;
118 }
119 }
120}
121
122const QMetaObject *DocWindow::metaObject() const
123{
124 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
125}
126
127void *DocWindow::qt_metacast(const char *_clname)
128{
129 if (!_clname) return nullptr;
130 if (!strcmp(_clname, qt_meta_stringdata_ZN9DocWindowE.stringdata0))
131 return static_cast<void*>(this);
132 return QWidget::qt_metacast(_clname);
133}
134
135int DocWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
136{
137 _id = QWidget::qt_metacall(_c, _id, _a);
138 if (_id < 0)
139 return _id;
140 if (_c == QMetaObject::InvokeMetaMethod) {
141 if (_id < 4)
142 qt_static_metacall(this, _c, _id, _a);
143 _id -= 4;
144 }
145 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
146 if (_id < 4)
147 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
148 _id -= 4;
149 }
150 return _id;
151}
152QT_WARNING_POP
DocWindow(UMLDoc *doc, QWidget *parent=nullptr)
Definition docwindow.cpp:68
static Q_CONSTINIT const uint qt_meta_data_ZN9DocWindowE[]
Definition moc_docwindow.cpp:56
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33