source: Vago/Libs/quazip-0.7.2/qztest/.moc/moc_testquachecksum32.cpp@ 1088

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