umbrello 25.04.1
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 67 (Qt 5.15.13)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "../../../../unittests/testpythonwriter.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'testpythonwriter.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 67
16#error "This file was generated using the moc from 5.15.13. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
19#endif
20
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
25 QByteArrayData data[5];
26 char stringdata0[70];
27};
28#define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_TestPythonWriter_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 16), // "TestPythonWriter"
36QT_MOC_LITERAL(1, 17, 13), // "test_language"
37QT_MOC_LITERAL(2, 31, 0), // ""
38QT_MOC_LITERAL(3, 32, 15), // "test_writeClass"
39QT_MOC_LITERAL(4, 48, 21) // "test_reservedKeywords"
40
41 },
42 "TestPythonWriter\0test_language\0\0"
43 "test_writeClass\0test_reservedKeywords"
44};
45#undef QT_MOC_LITERAL
46
47static const uint qt_meta_data_TestPythonWriter[] = {
48
49 // content:
50 8, // revision
51 0, // classname
52 0, 0, // classinfo
53 3, 14, // methods
54 0, 0, // properties
55 0, 0, // enums/sets
56 0, 0, // constructors
57 0, // flags
58 0, // signalCount
59
60 // slots: name, argc, parameters, tag, flags
61 1, 0, 29, 2, 0x08 /* Private */,
62 3, 0, 30, 2, 0x08 /* Private */,
63 4, 0, 31, 2, 0x08 /* Private */,
64
65 // slots: parameters
66 QMetaType::Void,
67 QMetaType::Void,
68 QMetaType::Void,
69
70 0 // eod
71};
72
73void TestPythonWriter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
74{
75 if (_c == QMetaObject::InvokeMetaMethod) {
76 auto *_t = static_cast<TestPythonWriter *>(_o);
77 (void)_t;
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
88QT_INIT_METAOBJECT const QMetaObject TestPythonWriter::staticMetaObject = { {
89 QMetaObject::SuperData::link<TestCodeGeneratorBase::staticMetaObject>(),
92 qt_static_metacall,
93 nullptr,
94 nullptr
95} };
96
97
98const QMetaObject *TestPythonWriter::metaObject() const
99{
100 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
101}
102
103void *TestPythonWriter::qt_metacast(const char *_clname)
104{
105 if (!_clname) return nullptr;
107 return static_cast<void*>(this);
108 return TestCodeGeneratorBase::qt_metacast(_clname);
109}
110
111int TestPythonWriter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
112{
113 _id = TestCodeGeneratorBase::qt_metacall(_c, _id, _a);
114 if (_id < 0)
115 return _id;
116 if (_c == QMetaObject::InvokeMetaMethod) {
117 if (_id < 3)
118 qt_static_metacall(this, _c, _id, _a);
119 _id -= 3;
120 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
121 if (_id < 3)
122 *reinterpret_cast<int*>(_a[0]) = -1;
123 _id -= 3;
124 }
125 return _id;
126}
127QT_WARNING_POP
128QT_END_MOC_NAMESPACE
Definition testpythonwriter.h:16
void test_language()
Definition testpythonwriter.cpp:26
static const uint qt_meta_data_TestPythonWriter[]
Definition moc_testpythonwriter.cpp:47
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_testpythonwriter.cpp:28
static const qt_meta_stringdata_TestPythonWriter_t qt_meta_stringdata_TestPythonWriter
Definition moc_testpythonwriter.cpp:33
Definition moc_testpythonwriter.cpp:24
QByteArrayData data[5]
Definition moc_testpythonwriter.cpp:25
char stringdata0[70]
Definition moc_testpythonwriter.cpp:26