umbrello 25.11.70
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 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 'umldatatypewidget.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_ZN17UMLDatatypeWidgetE = QtMocHelpers::stringData(
40 "UMLDatatypeWidget",
41 "editTextChanged",
42 ""
43);
44#else // !QT_MOC_HAS_STRINGDATA
45#error "qtmochelpers.h not found or too old."
46#endif // !QT_MOC_HAS_STRINGDATA
47
49
50 // content:
51 12, // revision
52 0, // classname
53 0, 0, // classinfo
54 1, 14, // methods
55 0, 0, // properties
56 0, 0, // enums/sets
57 0, 0, // constructors
58 0, // flags
59 1, // signalCount
60
61 // signals: name, argc, parameters, tag, flags, initial metatype offsets
62 1, 1, 20, 2, 0x06, 1 /* Public */,
63
64 // signals: parameters
65 QMetaType::Void, QMetaType::QString, 2,
66
67 0 // eod
68};
69
70Q_CONSTINIT const QMetaObject UMLDatatypeWidget::staticMetaObject = { {
71 QMetaObject::SuperData::link<ComboBoxWidgetBase::staticMetaObject>(),
72 qt_meta_stringdata_ZN17UMLDatatypeWidgetE.offsetsAndSizes,
74 qt_static_metacall,
75 nullptr,
76 qt_incomplete_metaTypeArray<qt_meta_tag_ZN17UMLDatatypeWidgetE_t,
77 // Q_OBJECT / Q_GADGET
78 QtPrivate::TypeAndForceComplete<UMLDatatypeWidget, std::true_type>,
79 // method 'editTextChanged'
80 QtPrivate::TypeAndForceComplete<void, std::false_type>,
81 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
82 >,
83 nullptr
84} };
85
86void UMLDatatypeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
87{
88 auto *_t = static_cast<UMLDatatypeWidget *>(_o);
89 if (_c == QMetaObject::InvokeMetaMethod) {
90 switch (_id) {
91 case 0: _t->editTextChanged((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
92 default: ;
93 }
94 }
95 if (_c == QMetaObject::IndexOfMethod) {
96 int *result = reinterpret_cast<int *>(_a[0]);
97 {
98 using _q_method_type = void (UMLDatatypeWidget::*)(const QString & );
99 if (_q_method_type _q_method = &UMLDatatypeWidget::editTextChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
100 *result = 0;
101 return;
102 }
103 }
104 }
105}
106
107const QMetaObject *UMLDatatypeWidget::metaObject() const
108{
109 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
110}
111
112void *UMLDatatypeWidget::qt_metacast(const char *_clname)
113{
114 if (!_clname) return nullptr;
115 if (!strcmp(_clname, qt_meta_stringdata_ZN17UMLDatatypeWidgetE.stringdata0))
116 return static_cast<void*>(this);
117 return ComboBoxWidgetBase::qt_metacast(_clname);
118}
119
120int UMLDatatypeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
121{
122 _id = ComboBoxWidgetBase::qt_metacall(_c, _id, _a);
123 if (_id < 0)
124 return _id;
125 if (_c == QMetaObject::InvokeMetaMethod) {
126 if (_id < 1)
127 qt_static_metacall(this, _c, _id, _a);
128 _id -= 1;
129 }
130 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
131 if (_id < 1)
132 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
133 _id -= 1;
134 }
135 return _id;
136}
137
138// SIGNAL 0
139void UMLDatatypeWidget::editTextChanged(const QString & _t1)
140{
141 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
142 QMetaObject::activate(this, &staticMetaObject, 0, _a);
143}
144QT_WARNING_POP
void editTextChanged(const QString &)
Definition moc_umldatatypewidget.cpp:139
UMLDatatypeWidget(UMLAttribute *attribute, QWidget *parent=nullptr)
Definition umldatatypewidget.cpp:31
#define Q_CONSTINIT
Definition moc_parser.cpp:27
static Q_CONSTINIT const uint qt_meta_data_ZN17UMLDatatypeWidgetE[]
Definition moc_umldatatypewidget.cpp:48
Definition moc_parser.cpp:33