source: Vago/Libs/quazip-0.7.2/qztest/.moc/moc_testquazipfile.cpp@ 1069

Last change on this file since 1069 was 1050, checked in by s10k, 8 years ago
File size: 5.8 KB
RevLine 
[1050]1/****************************************************************************
2** Meta object code from reading C++ file 'testquazipfile.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 "../testquazipfile.h"
10#include <QtCore/qbytearray.h>
11#include <QtCore/qmetatype.h>
12#if !defined(Q_MOC_OUTPUT_REVISION)
13#error "The header file 'testquazipfile.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_TestQuaZipFile_t {
22 QByteArrayData data[17];
23 char stringdata0[191];
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_TestQuaZipFile_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
29 )
30static const qt_meta_stringdata_TestQuaZipFile_t qt_meta_stringdata_TestQuaZipFile = {
31 {
32QT_MOC_LITERAL(0, 0, 14), // "TestQuaZipFile"
33QT_MOC_LITERAL(1, 15, 13), // "zipUnzip_data"
34QT_MOC_LITERAL(2, 29, 0), // ""
35QT_MOC_LITERAL(3, 30, 8), // "zipUnzip"
36QT_MOC_LITERAL(4, 39, 19), // "bytesAvailable_data"
37QT_MOC_LITERAL(5, 59, 14), // "bytesAvailable"
38QT_MOC_LITERAL(6, 74, 10), // "atEnd_data"
39QT_MOC_LITERAL(7, 85, 5), // "atEnd"
40QT_MOC_LITERAL(8, 91, 8), // "pos_data"
41QT_MOC_LITERAL(9, 100, 3), // "pos"
42QT_MOC_LITERAL(10, 104, 6), // "getZip"
43QT_MOC_LITERAL(11, 111, 10), // "setZipName"
44QT_MOC_LITERAL(12, 122, 11), // "getFileInfo"
45QT_MOC_LITERAL(13, 134, 11), // "setFileName"
46QT_MOC_LITERAL(14, 146, 21), // "constructorDestructor"
47QT_MOC_LITERAL(15, 168, 12), // "setFileAttrs"
48QT_MOC_LITERAL(16, 181, 9) // "largeFile"
49
50 },
51 "TestQuaZipFile\0zipUnzip_data\0\0zipUnzip\0"
52 "bytesAvailable_data\0bytesAvailable\0"
53 "atEnd_data\0atEnd\0pos_data\0pos\0getZip\0"
54 "setZipName\0getFileInfo\0setFileName\0"
55 "constructorDestructor\0setFileAttrs\0"
56 "largeFile"
57};
58#undef QT_MOC_LITERAL
59
60static const uint qt_meta_data_TestQuaZipFile[] = {
61
62 // content:
63 7, // revision
64 0, // classname
65 0, 0, // classinfo
66 15, 14, // methods
67 0, 0, // properties
68 0, 0, // enums/sets
69 0, 0, // constructors
70 0, // flags
71 0, // signalCount
72
73 // slots: name, argc, parameters, tag, flags
74 1, 0, 89, 2, 0x08 /* Private */,
75 3, 0, 90, 2, 0x08 /* Private */,
76 4, 0, 91, 2, 0x08 /* Private */,
77 5, 0, 92, 2, 0x08 /* Private */,
78 6, 0, 93, 2, 0x08 /* Private */,
79 7, 0, 94, 2, 0x08 /* Private */,
80 8, 0, 95, 2, 0x08 /* Private */,
81 9, 0, 96, 2, 0x08 /* Private */,
82 10, 0, 97, 2, 0x08 /* Private */,
83 11, 0, 98, 2, 0x08 /* Private */,
84 12, 0, 99, 2, 0x08 /* Private */,
85 13, 0, 100, 2, 0x08 /* Private */,
86 14, 0, 101, 2, 0x08 /* Private */,
87 15, 0, 102, 2, 0x08 /* Private */,
88 16, 0, 103, 2, 0x08 /* Private */,
89
90 // slots: parameters
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 QMetaType::Void,
104 QMetaType::Void,
105 QMetaType::Void,
106
107 0 // eod
108};
109
110void TestQuaZipFile::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
111{
112 if (_c == QMetaObject::InvokeMetaMethod) {
113 TestQuaZipFile *_t = static_cast<TestQuaZipFile *>(_o);
114 Q_UNUSED(_t)
115 switch (_id) {
116 case 0: _t->zipUnzip_data(); break;
117 case 1: _t->zipUnzip(); break;
118 case 2: _t->bytesAvailable_data(); break;
119 case 3: _t->bytesAvailable(); break;
120 case 4: _t->atEnd_data(); break;
121 case 5: _t->atEnd(); break;
122 case 6: _t->pos_data(); break;
123 case 7: _t->pos(); break;
124 case 8: _t->getZip(); break;
125 case 9: _t->setZipName(); break;
126 case 10: _t->getFileInfo(); break;
127 case 11: _t->setFileName(); break;
128 case 12: _t->constructorDestructor(); break;
129 case 13: _t->setFileAttrs(); break;
130 case 14: _t->largeFile(); break;
131 default: ;
132 }
133 }
134 Q_UNUSED(_a);
135}
136
137const QMetaObject TestQuaZipFile::staticMetaObject = {
138 { &QObject::staticMetaObject, qt_meta_stringdata_TestQuaZipFile.data,
139 qt_meta_data_TestQuaZipFile, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
140};
141
142
143const QMetaObject *TestQuaZipFile::metaObject() const
144{
145 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
146}
147
148void *TestQuaZipFile::qt_metacast(const char *_clname)
149{
150 if (!_clname) return Q_NULLPTR;
151 if (!strcmp(_clname, qt_meta_stringdata_TestQuaZipFile.stringdata0))
152 return static_cast<void*>(const_cast< TestQuaZipFile*>(this));
153 return QObject::qt_metacast(_clname);
154}
155
156int TestQuaZipFile::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
157{
158 _id = QObject::qt_metacall(_c, _id, _a);
159 if (_id < 0)
160 return _id;
161 if (_c == QMetaObject::InvokeMetaMethod) {
162 if (_id < 15)
163 qt_static_metacall(this, _c, _id, _a);
164 _id -= 15;
165 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
166 if (_id < 15)
167 *reinterpret_cast<int*>(_a[0]) = -1;
168 _id -= 15;
169 }
170 return _id;
171}
172QT_END_MOC_NAMESPACE
Note: See TracBrowser for help on using the repository browser.