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