source: Vago/Libs/quazip-0.7.2/qztest/.moc/moc_testquazip.cpp@ 1072

Last change on this file since 1072 was 1050, checked in by s10k, 8 years ago
File size: 5.7 KB
Line 
1/****************************************************************************
2** Meta object code from reading C++ file 'testquazip.h'
3**
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../testquazip.h"
10#include <QtCore/qbytearray.h>
11#include <QtCore/qmetatype.h>
12#if !defined(Q_MOC_OUTPUT_REVISION)
13#error "The header file 'testquazip.h' doesn't include <QObject>."
14#elif Q_MOC_OUTPUT_REVISION != 67
15#error "This file was generated using the moc from 5.7.0. 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
20QT_BEGIN_MOC_NAMESPACE
21struct qt_meta_stringdata_TestQuaZip_t {
22 QByteArrayData data[16];
23 char stringdata0[221];
24};
25#define QT_MOC_LITERAL(idx, ofs, len) \
26 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
27 qptrdiff(offsetof(qt_meta_stringdata_TestQuaZip_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
29 )
30static const qt_meta_stringdata_TestQuaZip_t qt_meta_stringdata_TestQuaZip = {
31 {
32QT_MOC_LITERAL(0, 0, 10), // "TestQuaZip"
33QT_MOC_LITERAL(1, 11, 16), // "getFileList_data"
34QT_MOC_LITERAL(2, 28, 0), // ""
35QT_MOC_LITERAL(3, 29, 11), // "getFileList"
36QT_MOC_LITERAL(4, 41, 8), // "add_data"
37QT_MOC_LITERAL(5, 50, 3), // "add"
38QT_MOC_LITERAL(6, 54, 21), // "setFileNameCodec_data"
39QT_MOC_LITERAL(7, 76, 16), // "setFileNameCodec"
40QT_MOC_LITERAL(8, 93, 31), // "setDataDescriptorWritingEnabled"
41QT_MOC_LITERAL(9, 125, 16), // "testQIODeviceAPI"
42QT_MOC_LITERAL(10, 142, 10), // "setZipName"
43QT_MOC_LITERAL(11, 153, 11), // "setIoDevice"
44QT_MOC_LITERAL(12, 165, 15), // "setCommentCodec"
45QT_MOC_LITERAL(13, 181, 12), // "setAutoClose"
46QT_MOC_LITERAL(14, 194, 11), // "saveFileBug"
47QT_MOC_LITERAL(15, 206, 14) // "testSequential"
48
49 },
50 "TestQuaZip\0getFileList_data\0\0getFileList\0"
51 "add_data\0add\0setFileNameCodec_data\0"
52 "setFileNameCodec\0setDataDescriptorWritingEnabled\0"
53 "testQIODeviceAPI\0setZipName\0setIoDevice\0"
54 "setCommentCodec\0setAutoClose\0saveFileBug\0"
55 "testSequential"
56};
57#undef QT_MOC_LITERAL
58
59static const uint qt_meta_data_TestQuaZip[] = {
60
61 // content:
62 7, // revision
63 0, // classname
64 0, 0, // classinfo
65 14, 14, // methods
66 0, 0, // properties
67 0, 0, // enums/sets
68 0, 0, // constructors
69 0, // flags
70 0, // signalCount
71
72 // slots: name, argc, parameters, tag, flags
73 1, 0, 84, 2, 0x08 /* Private */,
74 3, 0, 85, 2, 0x08 /* Private */,
75 4, 0, 86, 2, 0x08 /* Private */,
76 5, 0, 87, 2, 0x08 /* Private */,
77 6, 0, 88, 2, 0x08 /* Private */,
78 7, 0, 89, 2, 0x08 /* Private */,
79 8, 0, 90, 2, 0x08 /* Private */,
80 9, 0, 91, 2, 0x08 /* Private */,
81 10, 0, 92, 2, 0x08 /* Private */,
82 11, 0, 93, 2, 0x08 /* Private */,
83 12, 0, 94, 2, 0x08 /* Private */,
84 13, 0, 95, 2, 0x08 /* Private */,
85 14, 0, 96, 2, 0x08 /* Private */,
86 15, 0, 97, 2, 0x08 /* Private */,
87
88 // slots: parameters
89 QMetaType::Void,
90 QMetaType::Void,
91 QMetaType::Void,
92 QMetaType::Void,
93 QMetaType::Void,
94 QMetaType::Void,
95 QMetaType::Void,
96 QMetaType::Void,
97 QMetaType::Void,
98 QMetaType::Void,
99 QMetaType::Void,
100 QMetaType::Void,
101 QMetaType::Void,
102 QMetaType::Void,
103
104 0 // eod
105};
106
107void TestQuaZip::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
108{
109 if (_c == QMetaObject::InvokeMetaMethod) {
110 TestQuaZip *_t = static_cast<TestQuaZip *>(_o);
111 Q_UNUSED(_t)
112 switch (_id) {
113 case 0: _t->getFileList_data(); break;
114 case 1: _t->getFileList(); break;
115 case 2: _t->add_data(); break;
116 case 3: _t->add(); break;
117 case 4: _t->setFileNameCodec_data(); break;
118 case 5: _t->setFileNameCodec(); break;
119 case 6: _t->setDataDescriptorWritingEnabled(); break;
120 case 7: _t->testQIODeviceAPI(); break;
121 case 8: _t->setZipName(); break;
122 case 9: _t->setIoDevice(); break;
123 case 10: _t->setCommentCodec(); break;
124 case 11: _t->setAutoClose(); break;
125 case 12: _t->saveFileBug(); break;
126 case 13: _t->testSequential(); break;
127 default: ;
128 }
129 }
130 Q_UNUSED(_a);
131}
132
133const QMetaObject TestQuaZip::staticMetaObject = {
134 { &QObject::staticMetaObject, qt_meta_stringdata_TestQuaZip.data,
135 qt_meta_data_TestQuaZip, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
136};
137
138
139const QMetaObject *TestQuaZip::metaObject() const
140{
141 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
142}
143
144void *TestQuaZip::qt_metacast(const char *_clname)
145{
146 if (!_clname) return Q_NULLPTR;
147 if (!strcmp(_clname, qt_meta_stringdata_TestQuaZip.stringdata0))
148 return static_cast<void*>(const_cast< TestQuaZip*>(this));
149 return QObject::qt_metacast(_clname);
150}
151
152int TestQuaZip::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
153{
154 _id = QObject::qt_metacall(_c, _id, _a);
155 if (_id < 0)
156 return _id;
157 if (_c == QMetaObject::InvokeMetaMethod) {
158 if (_id < 14)
159 qt_static_metacall(this, _c, _id, _a);
160 _id -= 14;
161 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
162 if (_id < 14)
163 *reinterpret_cast<int*>(_a[0]) = -1;
164 _id -= 14;
165 }
166 return _id;
167}
168QT_END_MOC_NAMESPACE
Note: See TracBrowser for help on using the repository browser.