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