10#include "../../../../unittests/testbase.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'testbase.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_TestBase_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
43 "TestBase\0initTestCase\0\0cleanupTestCase\0"
69 QMetaType::Void, QMetaType::QObjectStar, 5,
74void TestBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
76 if (_c == QMetaObject::InvokeMetaMethod) {
77 auto *_t =
static_cast<TestBase *
>(_o);
81 case 1: _t->cleanupTestCase();
break;
82 case 2: _t->cleanupOnExit((*
reinterpret_cast< QObject*(*)
>(_a[1])));
break;
88QT_INIT_METAOBJECT
const QMetaObject TestBase::staticMetaObject = { {
89 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
98const QMetaObject *TestBase::metaObject()
const
100 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
103void *TestBase::qt_metacast(
const char *_clname)
105 if (!_clname)
return nullptr;
107 return static_cast<void*
>(
this);
108 return QObject::qt_metacast(_clname);
111int TestBase::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
113 _id = QObject::qt_metacall(_c, _id, _a);
116 if (_c == QMetaObject::InvokeMetaMethod) {
118 qt_static_metacall(
this, _c, _id, _a);
120 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
122 *
reinterpret_cast<int*
>(_a[0]) = -1;
131#define QT_MOC_LITERAL(idx, ofs, len) \
132 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
133 qptrdiff(offsetof(qt_meta_stringdata_TestCodeGeneratorBase_t, stringdata0) + ofs \
134 - idx * sizeof(QByteArrayData)) \
143 "TestCodeGeneratorBase\0initTestCase\0"
169void TestCodeGeneratorBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
171 if (_c == QMetaObject::InvokeMetaMethod) {
182QT_INIT_METAOBJECT
const QMetaObject TestCodeGeneratorBase::staticMetaObject = { {
183 QMetaObject::SuperData::link<TestBase::staticMetaObject>(),
192const QMetaObject *TestCodeGeneratorBase::metaObject()
const
194 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
197void *TestCodeGeneratorBase::qt_metacast(
const char *_clname)
199 if (!_clname)
return nullptr;
201 return static_cast<void*
>(
this);
202 return TestBase::qt_metacast(_clname);
205int TestCodeGeneratorBase::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
207 _id = TestBase::qt_metacall(_c, _id, _a);
210 if (_c == QMetaObject::InvokeMetaMethod) {
212 qt_static_metacall(
this, _c, _id, _a);
214 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
216 *
reinterpret_cast<int*
>(_a[0]) = -1;
virtual void initTestCase()
Definition testbase.cpp:28
virtual void initTestCase()
Definition testbase.cpp:47
static const uint qt_meta_data_TestCodeGeneratorBase[]
Definition moc_testbase.cpp:147
static const uint qt_meta_data_TestBase[]
Definition moc_testbase.cpp:48
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_testbase.cpp:28
static const qt_meta_stringdata_TestCodeGeneratorBase_t qt_meta_stringdata_TestCodeGeneratorBase
Definition moc_testbase.cpp:136
static const qt_meta_stringdata_TestBase_t qt_meta_stringdata_TestBase
Definition moc_testbase.cpp:33