10#include "../../../../unittests/testcppwriter.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'testcppwriter.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.)"
23QT_WARNING_DISABLE_DEPRECATED
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_TestCppWriter_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
43 "TestCppWriter\0test_language\0\0"
44 "test_writeClass\0test_reservedKeywords\0"
45 "test_defaultDatatypes"
77void TestCppWriter::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
79 if (_c == QMetaObject::InvokeMetaMethod) {
84 case 1: _t->test_writeClass();
break;
85 case 2: _t->test_reservedKeywords();
break;
86 case 3: _t->test_defaultDatatypes();
break;
93QT_INIT_METAOBJECT
const QMetaObject TestCppWriter::staticMetaObject = { {
94 QMetaObject::SuperData::link<TestCodeGeneratorBase::staticMetaObject>(),
103const QMetaObject *TestCppWriter::metaObject()
const
105 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
108void *TestCppWriter::qt_metacast(
const char *_clname)
110 if (!_clname)
return nullptr;
112 return static_cast<void*
>(
this);
113 return TestCodeGeneratorBase::qt_metacast(_clname);
116int TestCppWriter::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
118 _id = TestCodeGeneratorBase::qt_metacall(_c, _id, _a);
121 if (_c == QMetaObject::InvokeMetaMethod) {
123 qt_static_metacall(
this, _c, _id, _a);
125 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
127 *
reinterpret_cast<int*
>(_a[0]) = -1;
Definition testcppwriter.h:16
void test_language()
Definition testcppwriter.cpp:26
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_testcppwriter.cpp:28
static const qt_meta_stringdata_TestCppWriter_t qt_meta_stringdata_TestCppWriter
Definition moc_testcppwriter.cpp:33
static const uint qt_meta_data_TestCppWriter[]
Definition moc_testcppwriter.cpp:49