Line data Source code
1 : /****************************************************************************
2 : ** Meta object code from reading C++ file 't-tofuinfo.cpp'
3 : **
4 : ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.1)
5 : **
6 : ** WARNING! All changes made in this file will be lost!
7 : *****************************************************************************/
8 :
9 : #include <QtCore/qbytearray.h>
10 : #include <QtCore/qmetatype.h>
11 : #if !defined(Q_MOC_OUTPUT_REVISION)
12 : #error "The header file 't-tofuinfo.cpp' doesn't include <QObject>."
13 : #elif Q_MOC_OUTPUT_REVISION != 67
14 : #error "This file was generated using the moc from 5.7.1. It"
15 : #error "cannot be used with the include files from this version of Qt."
16 : #error "(The moc has changed too much.)"
17 : #endif
18 :
19 : QT_BEGIN_MOC_NAMESPACE
20 : struct qt_meta_stringdata_TofuInfoTest_t {
21 : QByteArrayData data[10];
22 : char stringdata0[129];
23 : };
24 : #define QT_MOC_LITERAL(idx, ofs, len) \
25 : Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
26 : qptrdiff(offsetof(qt_meta_stringdata_TofuInfoTest_t, stringdata0) + ofs \
27 : - idx * sizeof(QByteArrayData)) \
28 : )
29 : static const qt_meta_stringdata_TofuInfoTest_t qt_meta_stringdata_TofuInfoTest = {
30 : {
31 : QT_MOC_LITERAL(0, 0, 12), // "TofuInfoTest"
32 : QT_MOC_LITERAL(1, 13, 9), // "asyncDone"
33 : QT_MOC_LITERAL(2, 23, 0), // ""
34 : QT_MOC_LITERAL(3, 24, 12), // "testTofuNull"
35 : QT_MOC_LITERAL(4, 37, 12), // "testTofuInfo"
36 : QT_MOC_LITERAL(5, 50, 17), // "testTofuSignCount"
37 : QT_MOC_LITERAL(6, 68, 15), // "testTofuKeyList"
38 : QT_MOC_LITERAL(7, 84, 14), // "testTofuPolicy"
39 : QT_MOC_LITERAL(8, 99, 16), // "testTofuConflict"
40 : QT_MOC_LITERAL(9, 116, 12) // "initTestCase"
41 :
42 : },
43 : "TofuInfoTest\0asyncDone\0\0testTofuNull\0"
44 : "testTofuInfo\0testTofuSignCount\0"
45 : "testTofuKeyList\0testTofuPolicy\0"
46 : "testTofuConflict\0initTestCase"
47 : };
48 : #undef QT_MOC_LITERAL
49 :
50 : static const uint qt_meta_data_TofuInfoTest[] = {
51 :
52 : // content:
53 : 7, // revision
54 : 0, // classname
55 : 0, 0, // classinfo
56 : 8, 14, // methods
57 : 0, 0, // properties
58 : 0, 0, // enums/sets
59 : 0, 0, // constructors
60 : 0, // flags
61 : 1, // signalCount
62 :
63 : // signals: name, argc, parameters, tag, flags
64 : 1, 0, 54, 2, 0x06 /* Public */,
65 :
66 : // slots: name, argc, parameters, tag, flags
67 : 3, 0, 55, 2, 0x08 /* Private */,
68 : 4, 0, 56, 2, 0x08 /* Private */,
69 : 5, 0, 57, 2, 0x08 /* Private */,
70 : 6, 0, 58, 2, 0x08 /* Private */,
71 : 7, 0, 59, 2, 0x08 /* Private */,
72 : 8, 0, 60, 2, 0x08 /* Private */,
73 : 9, 0, 61, 2, 0x08 /* Private */,
74 :
75 : // signals: parameters
76 : QMetaType::Void,
77 :
78 : // slots: parameters
79 : QMetaType::Void,
80 : QMetaType::Void,
81 : QMetaType::Void,
82 : QMetaType::Void,
83 : QMetaType::Void,
84 : QMetaType::Void,
85 : QMetaType::Void,
86 :
87 : 0 // eod
88 : };
89 :
90 7 : void TofuInfoTest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
91 : {
92 7 : if (_c == QMetaObject::InvokeMetaMethod) {
93 7 : TofuInfoTest *_t = static_cast<TofuInfoTest *>(_o);
94 : Q_UNUSED(_t)
95 7 : switch (_id) {
96 0 : case 0: _t->asyncDone(); break;
97 1 : case 1: _t->testTofuNull(); break;
98 1 : case 2: _t->testTofuInfo(); break;
99 1 : case 3: _t->testTofuSignCount(); break;
100 1 : case 4: _t->testTofuKeyList(); break;
101 1 : case 5: _t->testTofuPolicy(); break;
102 1 : case 6: _t->testTofuConflict(); break;
103 1 : case 7: _t->initTestCase(); break;
104 : default: ;
105 : }
106 0 : } else if (_c == QMetaObject::IndexOfMethod) {
107 0 : int *result = reinterpret_cast<int *>(_a[0]);
108 0 : void **func = reinterpret_cast<void **>(_a[1]);
109 : {
110 : typedef void (TofuInfoTest::*_t)();
111 0 : if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TofuInfoTest::asyncDone)) {
112 0 : *result = 0;
113 0 : return;
114 : }
115 : }
116 : }
117 : Q_UNUSED(_a);
118 : }
119 :
120 : const QMetaObject TofuInfoTest::staticMetaObject = {
121 : { &QGpgMETest::staticMetaObject, qt_meta_stringdata_TofuInfoTest.data,
122 : qt_meta_data_TofuInfoTest, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
123 : };
124 :
125 :
126 14 : const QMetaObject *TofuInfoTest::metaObject() const
127 : {
128 14 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
129 : }
130 :
131 0 : void *TofuInfoTest::qt_metacast(const char *_clname)
132 : {
133 0 : if (!_clname) return Q_NULLPTR;
134 0 : if (!strcmp(_clname, qt_meta_stringdata_TofuInfoTest.stringdata0))
135 0 : return static_cast<void*>(const_cast< TofuInfoTest*>(this));
136 0 : return QGpgMETest::qt_metacast(_clname);
137 : }
138 :
139 0 : int TofuInfoTest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
140 : {
141 0 : _id = QGpgMETest::qt_metacall(_c, _id, _a);
142 0 : if (_id < 0)
143 0 : return _id;
144 0 : if (_c == QMetaObject::InvokeMetaMethod) {
145 0 : if (_id < 8)
146 0 : qt_static_metacall(this, _c, _id, _a);
147 0 : _id -= 8;
148 0 : } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
149 0 : if (_id < 8)
150 0 : *reinterpret_cast<int*>(_a[0]) = -1;
151 0 : _id -= 8;
152 : }
153 0 : return _id;
154 : }
155 :
156 : // SIGNAL 0
157 0 : void TofuInfoTest::asyncDone()
158 : {
159 0 : QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
160 3 : }
161 : QT_END_MOC_NAMESPACE
|