source: s10k/CommonLibs/quazip-0.7.2/qztest/.moc/moc_testquaziodevice.cpp@ 1148

Last change on this file since 1148 was 1096, checked in by s10k, 7 years ago

Added zlib, quazip, basicxmlsyntaxhighlighter, conditionalsemaphore and linenumberdisplay libraries. zlib and quazip are pre-compiled, but you can compile them yourself, just delete the dll files (or equivalent binary files to your OS)

File size: 3.8 KB
RevLine 
[1096]1/****************************************************************************
2** Meta object code from reading C++ file 'testquaziodevice.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 "../testquaziodevice.h"
10#include <QtCore/qbytearray.h>
11#include <QtCore/qmetatype.h>
12#if !defined(Q_MOC_OUTPUT_REVISION)
13#error "The header file 'testquaziodevice.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_TestQuaZIODevice_t {
22 QByteArrayData data[5];
23 char stringdata0[38];
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_TestQuaZIODevice_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
29 )
30static const qt_meta_stringdata_TestQuaZIODevice_t qt_meta_stringdata_TestQuaZIODevice = {
31 {
32QT_MOC_LITERAL(0, 0, 16), // "TestQuaZIODevice"
33QT_MOC_LITERAL(1, 17, 4), // "read"
34QT_MOC_LITERAL(2, 22, 0), // ""
35QT_MOC_LITERAL(3, 23, 8), // "readMany"
36QT_MOC_LITERAL(4, 32, 5) // "write"
37
38 },
39 "TestQuaZIODevice\0read\0\0readMany\0write"
40};
41#undef QT_MOC_LITERAL
42
43static const uint qt_meta_data_TestQuaZIODevice[] = {
44
45 // content:
46 7, // revision
47 0, // classname
48 0, 0, // classinfo
49 3, 14, // methods
50 0, 0, // properties
51 0, 0, // enums/sets
52 0, 0, // constructors
53 0, // flags
54 0, // signalCount
55
56 // slots: name, argc, parameters, tag, flags
57 1, 0, 29, 2, 0x08 /* Private */,
58 3, 0, 30, 2, 0x08 /* Private */,
59 4, 0, 31, 2, 0x08 /* Private */,
60
61 // slots: parameters
62 QMetaType::Void,
63 QMetaType::Void,
64 QMetaType::Void,
65
66 0 // eod
67};
68
69void TestQuaZIODevice::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
70{
71 if (_c == QMetaObject::InvokeMetaMethod) {
72 TestQuaZIODevice *_t = static_cast<TestQuaZIODevice *>(_o);
73 Q_UNUSED(_t)
74 switch (_id) {
75 case 0: _t->read(); break;
76 case 1: _t->readMany(); break;
77 case 2: _t->write(); break;
78 default: ;
79 }
80 }
81 Q_UNUSED(_a);
82}
83
84const QMetaObject TestQuaZIODevice::staticMetaObject = {
85 { &QObject::staticMetaObject, qt_meta_stringdata_TestQuaZIODevice.data,
86 qt_meta_data_TestQuaZIODevice, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
87};
88
89
90const QMetaObject *TestQuaZIODevice::metaObject() const
91{
92 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
93}
94
95void *TestQuaZIODevice::qt_metacast(const char *_clname)
96{
97 if (!_clname) return Q_NULLPTR;
98 if (!strcmp(_clname, qt_meta_stringdata_TestQuaZIODevice.stringdata0))
99 return static_cast<void*>(const_cast< TestQuaZIODevice*>(this));
100 return QObject::qt_metacast(_clname);
101}
102
103int TestQuaZIODevice::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
104{
105 _id = QObject::qt_metacall(_c, _id, _a);
106 if (_id < 0)
107 return _id;
108 if (_c == QMetaObject::InvokeMetaMethod) {
109 if (_id < 3)
110 qt_static_metacall(this, _c, _id, _a);
111 _id -= 3;
112 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
113 if (_id < 3)
114 *reinterpret_cast<int*>(_a[0]) = -1;
115 _id -= 3;
116 }
117 return _id;
118}
119QT_END_MOC_NAMESPACE
Note: See TracBrowser for help on using the repository browser.