Line data Source code
1 : /****************************************************************************
2 : ** Meta object code from reading C++ file 't-support.h'
3 : **
4 : ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.10.1)
5 : **
6 : ** WARNING! All changes made in this file will be lost!
7 : *****************************************************************************/
8 :
9 : #include "../../../../lang/qt/tests/t-support.h"
10 : #include <QtCore/qbytearray.h>
11 : #include <QtCore/qmetatype.h>
12 : #if !defined(Q_MOC_OUTPUT_REVISION)
13 : #error "The header file 't-support.h' doesn't include <QObject>."
14 : #elif Q_MOC_OUTPUT_REVISION != 67
15 : #error "This file was generated using the moc from 5.10.1. It"
16 : #error "cannot be used with the include files from this version of Qt."
17 : #error "(The moc has changed too much.)"
18 : #endif
19 :
20 : QT_BEGIN_MOC_NAMESPACE
21 : QT_WARNING_PUSH
22 : QT_WARNING_DISABLE_DEPRECATED
23 : struct qt_meta_stringdata_QGpgMETest_t {
24 : QByteArrayData data[4];
25 : char stringdata0[41];
26 : };
27 : #define QT_MOC_LITERAL(idx, ofs, len) \
28 : Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29 : qptrdiff(offsetof(qt_meta_stringdata_QGpgMETest_t, stringdata0) + ofs \
30 : - idx * sizeof(QByteArrayData)) \
31 : )
32 : static const qt_meta_stringdata_QGpgMETest_t qt_meta_stringdata_QGpgMETest = {
33 : {
34 : QT_MOC_LITERAL(0, 0, 10), // "QGpgMETest"
35 : QT_MOC_LITERAL(1, 11, 12), // "initTestCase"
36 : QT_MOC_LITERAL(2, 24, 0), // ""
37 : QT_MOC_LITERAL(3, 25, 15) // "cleanupTestCase"
38 :
39 : },
40 : "QGpgMETest\0initTestCase\0\0cleanupTestCase"
41 : };
42 : #undef QT_MOC_LITERAL
43 :
44 : static const uint qt_meta_data_QGpgMETest[] = {
45 :
46 : // content:
47 : 7, // revision
48 : 0, // classname
49 : 0, 0, // classinfo
50 : 2, 14, // methods
51 : 0, 0, // properties
52 : 0, 0, // enums/sets
53 : 0, 0, // constructors
54 : 0, // flags
55 : 0, // signalCount
56 :
57 : // slots: name, argc, parameters, tag, flags
58 : 1, 0, 24, 2, 0x0a /* Public */,
59 : 3, 0, 25, 2, 0x0a /* Public */,
60 :
61 : // slots: parameters
62 : QMetaType::Void,
63 : QMetaType::Void,
64 :
65 : 0 // eod
66 : };
67 :
68 13 : void QGpgMETest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
69 : {
70 13 : if (_c == QMetaObject::InvokeMetaMethod) {
71 13 : QGpgMETest *_t = static_cast<QGpgMETest *>(_o);
72 : Q_UNUSED(_t)
73 13 : switch (_id) {
74 5 : case 0: _t->initTestCase(); break;
75 8 : case 1: _t->cleanupTestCase(); break;
76 : default: ;
77 : }
78 : }
79 : Q_UNUSED(_a);
80 13 : }
81 :
82 : QT_INIT_METAOBJECT const QMetaObject QGpgMETest::staticMetaObject = {
83 : { &QObject::staticMetaObject, qt_meta_stringdata_QGpgMETest.data,
84 : qt_meta_data_QGpgMETest, qt_static_metacall, nullptr, nullptr}
85 : };
86 :
87 :
88 0 : const QMetaObject *QGpgMETest::metaObject() const
89 : {
90 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
91 : }
92 :
93 0 : void *QGpgMETest::qt_metacast(const char *_clname)
94 : {
95 0 : if (!_clname) return nullptr;
96 0 : if (!strcmp(_clname, qt_meta_stringdata_QGpgMETest.stringdata0))
97 0 : return static_cast<void*>(this);
98 0 : return QObject::qt_metacast(_clname);
99 : }
100 :
101 0 : int QGpgMETest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
102 : {
103 0 : _id = QObject::qt_metacall(_c, _id, _a);
104 0 : if (_id < 0)
105 0 : return _id;
106 0 : if (_c == QMetaObject::InvokeMetaMethod) {
107 0 : if (_id < 2)
108 0 : qt_static_metacall(this, _c, _id, _a);
109 0 : _id -= 2;
110 0 : } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
111 0 : if (_id < 2)
112 0 : *reinterpret_cast<int*>(_a[0]) = -1;
113 0 : _id -= 2;
114 : }
115 0 : return _id;
116 : }
117 : QT_WARNING_POP
118 : QT_END_MOC_NAMESPACE
|