umbrello 25.11.70
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 68 (Qt 6.8.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 != 68
22#error "This file was generated using the moc from 6.8.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
38
39#ifdef QT_MOC_HAS_STRINGDATA
40static constexpr auto qt_meta_stringdata_ZN13TestCppWriterE = QtMocHelpers::stringData(
41 "TestCppWriter",
42 "test_language",
43 "",
44 "test_writeClass",
45 "test_reservedKeywords",
46 "test_defaultDatatypes"
47);
48#else // !QT_MOC_HAS_STRINGDATA
49#error "qtmochelpers.h not found or too old."
50#endif // !QT_MOC_HAS_STRINGDATA
51
53
54 // content:
55 12, // revision
56 0, // classname
57 0, 0, // classinfo
58 4, 14, // methods
59 0, 0, // properties
60 0, 0, // enums/sets
61 0, 0, // constructors
62 0, // flags
63 0, // signalCount
64
65 // slots: name, argc, parameters, tag, flags, initial metatype offsets
66 1, 0, 38, 2, 0x08, 1 /* Private */,
67 3, 0, 39, 2, 0x08, 2 /* Private */,
68 4, 0, 40, 2, 0x08, 3 /* Private */,
69 5, 0, 41, 2, 0x08, 4 /* Private */,
70
71 // slots: parameters
72 QMetaType::Void,
73 QMetaType::Void,
74 QMetaType::Void,
75 QMetaType::Void,
76
77 0 // eod
78};
79
80Q_CONSTINIT const QMetaObject TestCppWriter::staticMetaObject = { {
81 QMetaObject::SuperData::link<TestCodeGeneratorBase::staticMetaObject>(),
82 qt_meta_stringdata_ZN13TestCppWriterE.offsetsAndSizes,
84 qt_static_metacall,
85 nullptr,
86 qt_incomplete_metaTypeArray<qt_meta_tag_ZN13TestCppWriterE_t,
87 // Q_OBJECT / Q_GADGET
88 QtPrivate::TypeAndForceComplete<TestCppWriter, std::true_type>,
89 // method 'test_language'
90 QtPrivate::TypeAndForceComplete<void, std::false_type>,
91 // method 'test_writeClass'
92 QtPrivate::TypeAndForceComplete<void, std::false_type>,
93 // method 'test_reservedKeywords'
94 QtPrivate::TypeAndForceComplete<void, std::false_type>,
95 // method 'test_defaultDatatypes'
96 QtPrivate::TypeAndForceComplete<void, std::false_type>
97 >,
98 nullptr
99} };
100
101void TestCppWriter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
102{
103 auto *_t = static_cast<TestCppWriter *>(_o);
104 if (_c == QMetaObject::InvokeMetaMethod) {
105 switch (_id) {
106 case 0: _t->test_language(); break;
107 case 1: _t->test_writeClass(); break;
108 case 2: _t->test_reservedKeywords(); break;
109 case 3: _t->test_defaultDatatypes(); break;
110 default: ;
111 }
112 }
113 (void)_a;
114}
115
116const QMetaObject *TestCppWriter::metaObject() const
117{
118 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
119}
120
121void *TestCppWriter::qt_metacast(const char *_clname)
122{
123 if (!_clname) return nullptr;
124 if (!strcmp(_clname, qt_meta_stringdata_ZN13TestCppWriterE.stringdata0))
125 return static_cast<void*>(this);
126 return TestCodeGeneratorBase::qt_metacast(_clname);
127}
128
129int TestCppWriter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
130{
131 _id = TestCodeGeneratorBase::qt_metacall(_c, _id, _a);
132 if (_id < 0)
133 return _id;
134 if (_c == QMetaObject::InvokeMetaMethod) {
135 if (_id < 4)
136 qt_static_metacall(this, _c, _id, _a);
137 _id -= 4;
138 }
139 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
140 if (_id < 4)
141 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
142 _id -= 4;
143 }
144 return _id;
145}
146QT_WARNING_POP
#define Q_CONSTINIT
Definition moc_parser.cpp:27
static Q_CONSTINIT const uint qt_meta_data_ZN13TestCppWriterE[]
Definition moc_testcppwriter.cpp:52
Definition moc_parser.cpp:33