umbrello 25.11.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_toolbarstate.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'toolbarstate.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 'toolbarstate.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_ZN12ToolBarStateE = QtMocHelpers::stringData(
40 "ToolBarState",
41 "finished",
42 "",
43 "slotAssociationRemoved",
44 "AssociationWidget*",
45 "association",
46 "slotWidgetRemoved",
47 "UMLWidget*",
48 "widget"
49);
50#else // !QT_MOC_HAS_STRINGDATA
51#error "qtmochelpers.h not found or too old."
52#endif // !QT_MOC_HAS_STRINGDATA
53
55
56 // content:
57 12, // revision
58 0, // classname
59 0, 0, // classinfo
60 3, 14, // methods
61 0, 0, // properties
62 0, 0, // enums/sets
63 0, 0, // constructors
64 0, // flags
65 1, // signalCount
66
67 // signals: name, argc, parameters, tag, flags, initial metatype offsets
68 1, 0, 32, 2, 0x06, 1 /* Public */,
69
70 // slots: name, argc, parameters, tag, flags, initial metatype offsets
71 3, 1, 33, 2, 0x0a, 2 /* Public */,
72 6, 1, 36, 2, 0x0a, 4 /* Public */,
73
74 // signals: parameters
75 QMetaType::Void,
76
77 // slots: parameters
78 QMetaType::Void, 0x80000000 | 4, 5,
79 QMetaType::Void, 0x80000000 | 7, 8,
80
81 0 // eod
82};
83
84Q_CONSTINIT const QMetaObject ToolBarState::staticMetaObject = { {
85 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
86 qt_meta_stringdata_ZN12ToolBarStateE.offsetsAndSizes,
88 qt_static_metacall,
89 nullptr,
90 qt_incomplete_metaTypeArray<qt_meta_tag_ZN12ToolBarStateE_t,
91 // Q_OBJECT / Q_GADGET
92 QtPrivate::TypeAndForceComplete<ToolBarState, std::true_type>,
93 // method 'finished'
94 QtPrivate::TypeAndForceComplete<void, std::false_type>,
95 // method 'slotAssociationRemoved'
96 QtPrivate::TypeAndForceComplete<void, std::false_type>,
97 QtPrivate::TypeAndForceComplete<AssociationWidget *, std::false_type>,
98 // method 'slotWidgetRemoved'
99 QtPrivate::TypeAndForceComplete<void, std::false_type>,
100 QtPrivate::TypeAndForceComplete<UMLWidget *, std::false_type>
101 >,
102 nullptr
103} };
104
105void ToolBarState::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
106{
107 auto *_t = static_cast<ToolBarState *>(_o);
108 if (_c == QMetaObject::InvokeMetaMethod) {
109 switch (_id) {
110 case 0: _t->finished(); break;
111 case 1: _t->slotAssociationRemoved((*reinterpret_cast< std::add_pointer_t<AssociationWidget*>>(_a[1]))); break;
112 case 2: _t->slotWidgetRemoved((*reinterpret_cast< std::add_pointer_t<UMLWidget*>>(_a[1]))); break;
113 default: ;
114 }
115 }
116 if (_c == QMetaObject::IndexOfMethod) {
117 int *result = reinterpret_cast<int *>(_a[0]);
118 {
119 using _q_method_type = void (ToolBarState::*)();
120 if (_q_method_type _q_method = &ToolBarState::finished; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
121 *result = 0;
122 return;
123 }
124 }
125 }
126}
127
128const QMetaObject *ToolBarState::metaObject() const
129{
130 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
131}
132
133void *ToolBarState::qt_metacast(const char *_clname)
134{
135 if (!_clname) return nullptr;
136 if (!strcmp(_clname, qt_meta_stringdata_ZN12ToolBarStateE.stringdata0))
137 return static_cast<void*>(this);
138 return QObject::qt_metacast(_clname);
139}
140
141int ToolBarState::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
142{
143 _id = QObject::qt_metacall(_c, _id, _a);
144 if (_id < 0)
145 return _id;
146 if (_c == QMetaObject::InvokeMetaMethod) {
147 if (_id < 3)
148 qt_static_metacall(this, _c, _id, _a);
149 _id -= 3;
150 }
151 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
152 if (_id < 3)
153 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
154 _id -= 3;
155 }
156 return _id;
157}
158
159// SIGNAL 0
161{
162 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
163}
164QT_WARNING_POP
ToolBarState(UMLScene *umlScene)
Definition toolbarstate.cpp:260
void finished()
Definition moc_toolbarstate.cpp:160
#define Q_CONSTINIT
Definition moc_parser.cpp:27
static Q_CONSTINIT const uint qt_meta_data_ZN12ToolBarStateE[]
Definition moc_toolbarstate.cpp:54
Definition moc_parser.cpp:33