umbrello 25.11.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_codegenerator.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'codegenerator.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 'codegenerator.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_ZN13CodeGeneratorE = QtMocHelpers::stringData(
40 "CodeGenerator",
41 "codeGenerated",
42 "",
43 "UMLClassifier*",
44 "classifier",
45 "generated",
46 "CodeGenerator::GenerationState",
47 "result",
48 "showGeneratedFile",
49 "filename",
50 "syncCodeToDocument"
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 3, // signalCount
68
69 // signals: name, argc, parameters, tag, flags, initial metatype offsets
70 1, 2, 38, 2, 0x06, 1 /* Public */,
71 1, 2, 43, 2, 0x06, 4 /* Public */,
72 8, 1, 48, 2, 0x06, 7 /* Public */,
73
74 // slots: name, argc, parameters, tag, flags, initial metatype offsets
75 10, 0, 51, 2, 0x0a, 9 /* Public */,
76
77 // signals: parameters
78 QMetaType::Void, 0x80000000 | 3, QMetaType::Bool, 4, 5,
79 QMetaType::Void, 0x80000000 | 3, 0x80000000 | 6, 4, 7,
80 QMetaType::Void, QMetaType::QString, 9,
81
82 // slots: parameters
83 QMetaType::Void,
84
85 0 // eod
86};
87
88Q_CONSTINIT const QMetaObject CodeGenerator::staticMetaObject = { {
89 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
90 qt_meta_stringdata_ZN13CodeGeneratorE.offsetsAndSizes,
92 qt_static_metacall,
93 nullptr,
94 qt_incomplete_metaTypeArray<qt_meta_tag_ZN13CodeGeneratorE_t,
95 // Q_OBJECT / Q_GADGET
96 QtPrivate::TypeAndForceComplete<CodeGenerator, std::true_type>,
97 // method 'codeGenerated'
98 QtPrivate::TypeAndForceComplete<void, std::false_type>,
99 QtPrivate::TypeAndForceComplete<UMLClassifier *, std::false_type>,
100 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
101 // method 'codeGenerated'
102 QtPrivate::TypeAndForceComplete<void, std::false_type>,
103 QtPrivate::TypeAndForceComplete<UMLClassifier *, std::false_type>,
104 QtPrivate::TypeAndForceComplete<CodeGenerator::GenerationState, std::false_type>,
105 // method 'showGeneratedFile'
106 QtPrivate::TypeAndForceComplete<void, std::false_type>,
107 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
108 // method 'syncCodeToDocument'
109 QtPrivate::TypeAndForceComplete<void, std::false_type>
110 >,
111 nullptr
112} };
113
114void CodeGenerator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
115{
116 auto *_t = static_cast<CodeGenerator *>(_o);
117 if (_c == QMetaObject::InvokeMetaMethod) {
118 switch (_id) {
119 case 0: _t->codeGenerated((*reinterpret_cast< std::add_pointer_t<UMLClassifier*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
120 case 1: _t->codeGenerated((*reinterpret_cast< std::add_pointer_t<UMLClassifier*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<CodeGenerator::GenerationState>>(_a[2]))); break;
121 case 2: _t->showGeneratedFile((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
122 case 3: _t->syncCodeToDocument(); break;
123 default: ;
124 }
125 }
126 if (_c == QMetaObject::IndexOfMethod) {
127 int *result = reinterpret_cast<int *>(_a[0]);
128 {
129 using _q_method_type = void (CodeGenerator::*)(UMLClassifier * , bool );
130 if (_q_method_type _q_method = &CodeGenerator::codeGenerated; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
131 *result = 0;
132 return;
133 }
134 }
135 {
136 using _q_method_type = void (CodeGenerator::*)(UMLClassifier * , CodeGenerator::GenerationState );
137 if (_q_method_type _q_method = &CodeGenerator::codeGenerated; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
138 *result = 1;
139 return;
140 }
141 }
142 {
143 using _q_method_type = void (CodeGenerator::*)(const QString & );
144 if (_q_method_type _q_method = &CodeGenerator::showGeneratedFile; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
145 *result = 2;
146 return;
147 }
148 }
149 }
150}
151
152const QMetaObject *CodeGenerator::metaObject() const
153{
154 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
155}
156
157void *CodeGenerator::qt_metacast(const char *_clname)
158{
159 if (!_clname) return nullptr;
160 if (!strcmp(_clname, qt_meta_stringdata_ZN13CodeGeneratorE.stringdata0))
161 return static_cast<void*>(this);
162 return QObject::qt_metacast(_clname);
163}
164
165int CodeGenerator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
166{
167 _id = QObject::qt_metacall(_c, _id, _a);
168 if (_id < 0)
169 return _id;
170 if (_c == QMetaObject::InvokeMetaMethod) {
171 if (_id < 4)
172 qt_static_metacall(this, _c, _id, _a);
173 _id -= 4;
174 }
175 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
176 if (_id < 4)
177 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
178 _id -= 4;
179 }
180 return _id;
181}
182
183// SIGNAL 0
185{
186 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
187 QMetaObject::activate(this, &staticMetaObject, 0, _a);
188}
189
190// SIGNAL 1
192{
193 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
194 QMetaObject::activate(this, &staticMetaObject, 1, _a);
195}
196
197// SIGNAL 2
198void CodeGenerator::showGeneratedFile(const QString & _t1)
199{
200 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
201 QMetaObject::activate(this, &staticMetaObject, 2, _a);
202}
203QT_WARNING_POP
GenerationState
Definition codegenerator.h:57
CodeGenerator()
Definition codegenerator.cpp:51
void codeGenerated(UMLClassifier *classifier, bool generated)
Definition moc_codegenerator.cpp:184
void showGeneratedFile(const QString &filename)
Definition moc_codegenerator.cpp:198
Information for a non-graphical Concept/Class.
Definition classifier.h:35
static Q_CONSTINIT const uint qt_meta_data_ZN13CodeGeneratorE[]
Definition moc_codegenerator.cpp:56
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33