umbrello 25.12.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_testcppwriter.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'testcppwriter.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 <QtNetwork/QSslError>
11#include <QtCore/qmetatype.h>
12
13#include <QtCore/qtmochelpers.h>
14
15#include <memory>
16
17
18#include <QtCore/qxptype_traits.h>
19#if !defined(Q_MOC_OUTPUT_REVISION)
20#error "The header file 'testcppwriter.h' doesn't include <QObject>."
21#elif Q_MOC_OUTPUT_REVISION != 69
22#error "This file was generated using the moc from 6.9.3. It"
23#error "cannot be used with the include files from this version of Qt."
24#error "(The moc has changed too much.)"
25#endif
26
27#ifndef Q_CONSTINIT
28#define Q_CONSTINIT
29#endif
30
31QT_WARNING_PUSH
33QT_WARNING_DISABLE_GCC("-Wuseless-cast")
34namespace {
36} // unnamed namespace
37
38template <> constexpr inline auto TestCppWriter::qt_create_metaobjectdata<qt_meta_tag_ZN13TestCppWriterE_t>()
39{
40 namespace QMC = QtMocConstants;
41 QtMocHelpers::StringRefStorage qt_stringData {
42 "TestCppWriter",
43 "test_language",
44 "",
45 "test_writeClass",
46 "test_reservedKeywords",
47 "test_defaultDatatypes"
48 };
49
50 QtMocHelpers::UintData qt_methods {
51 // Slot 'test_language'
52 QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
53 // Slot 'test_writeClass'
54 QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPrivate, QMetaType::Void),
55 // Slot 'test_reservedKeywords'
56 QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPrivate, QMetaType::Void),
57 // Slot 'test_defaultDatatypes'
58 QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
59 };
60 QtMocHelpers::UintData qt_properties {
61 };
62 QtMocHelpers::UintData qt_enums {
63 };
64 return QtMocHelpers::metaObjectData<TestCppWriter, qt_meta_tag_ZN13TestCppWriterE_t>(QMC::MetaObjectFlag{}, qt_stringData,
65 qt_methods, qt_properties, qt_enums);
66}
67Q_CONSTINIT const QMetaObject TestCppWriter::staticMetaObject = { {
68 QMetaObject::SuperData::link<TestCodeGeneratorBase::staticMetaObject>(),
69 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13TestCppWriterE_t>.stringdata,
70 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13TestCppWriterE_t>.data,
71 qt_static_metacall,
72 nullptr,
73 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13TestCppWriterE_t>.metaTypes,
74 nullptr
75} };
76
77void TestCppWriter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
78{
79 auto *_t = static_cast<TestCppWriter *>(_o);
80 if (_c == QMetaObject::InvokeMetaMethod) {
81 switch (_id) {
82 case 0: _t->test_language(); break;
83 case 1: _t->test_writeClass(); break;
84 case 2: _t->test_reservedKeywords(); break;
85 case 3: _t->test_defaultDatatypes(); break;
86 default: ;
87 }
88 }
89 (void)_a;
90}
91
92const QMetaObject *TestCppWriter::metaObject() const
93{
94 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
95}
96
97void *TestCppWriter::qt_metacast(const char *_clname)
98{
99 if (!_clname) return nullptr;
100 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13TestCppWriterE_t>.strings))
101 return static_cast<void*>(this);
102 return TestCodeGeneratorBase::qt_metacast(_clname);
103}
104
105int TestCppWriter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
106{
107 _id = TestCodeGeneratorBase::qt_metacall(_c, _id, _a);
108 if (_id < 0)
109 return _id;
110 if (_c == QMetaObject::InvokeMetaMethod) {
111 if (_id < 4)
112 qt_static_metacall(this, _c, _id, _a);
113 _id -= 4;
114 }
115 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
116 if (_id < 4)
117 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
118 _id -= 4;
119 }
120 return _id;
121}
122QT_WARNING_POP
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33