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