1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'pieview.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "pieview.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #include <QtCore/QList> |
14 | #if !defined(Q_MOC_OUTPUT_REVISION) |
15 | #error "The header file 'pieview.h' doesn't include <QObject>." |
16 | #elif Q_MOC_OUTPUT_REVISION != 68 |
17 | #error "This file was generated using the moc from 6.0.0. It" |
18 | #error "cannot be used with the include files from this version of Qt." |
19 | #error "(The moc has changed too much.)" |
20 | #endif |
21 | |
22 | QT_BEGIN_MOC_NAMESPACE |
23 | QT_WARNING_PUSH |
24 | QT_WARNING_DISABLE_DEPRECATED |
25 | struct qt_meta_stringdata_PieView_t { |
26 | const uint offsetsAndSize[26]; |
27 | char stringdata0[121]; |
28 | }; |
29 | #define QT_MOC_LITERAL(ofs, len) \ |
30 | uint(offsetof(qt_meta_stringdata_PieView_t, stringdata0) + ofs), len |
31 | static const qt_meta_stringdata_PieView_t qt_meta_stringdata_PieView = { |
32 | { |
33 | QT_MOC_LITERAL(0, 7), // "PieView" |
34 | QT_MOC_LITERAL(8, 11), // "dataChanged" |
35 | QT_MOC_LITERAL(20, 0), // "" |
36 | QT_MOC_LITERAL(21, 11), // "QModelIndex" |
37 | QT_MOC_LITERAL(33, 7), // "topLeft" |
38 | QT_MOC_LITERAL(41, 11), // "bottomRight" |
39 | QT_MOC_LITERAL(53, 10), // "QList<int>" |
40 | QT_MOC_LITERAL(64, 5), // "roles" |
41 | QT_MOC_LITERAL(70, 12), // "rowsInserted" |
42 | QT_MOC_LITERAL(83, 6), // "parent" |
43 | QT_MOC_LITERAL(90, 5), // "start" |
44 | QT_MOC_LITERAL(96, 3), // "end" |
45 | QT_MOC_LITERAL(100, 20) // "rowsAboutToBeRemoved" |
46 | |
47 | }, |
48 | "PieView\0dataChanged\0\0QModelIndex\0" |
49 | "topLeft\0bottomRight\0QList<int>\0roles\0" |
50 | "rowsInserted\0parent\0start\0end\0" |
51 | "rowsAboutToBeRemoved" |
52 | }; |
53 | #undef QT_MOC_LITERAL |
54 | |
55 | static const uint qt_meta_data_PieView[] = { |
56 | |
57 | // content: |
58 | 9, // revision |
59 | 0, // classname |
60 | 0, 0, // classinfo |
61 | 4, 14, // methods |
62 | 0, 0, // properties |
63 | 0, 0, // enums/sets |
64 | 0, 0, // constructors |
65 | 0, // flags |
66 | 0, // signalCount |
67 | |
68 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
69 | 1, 3, 38, 2, 0x09, 0 /* Protected */, |
70 | 1, 2, 45, 2, 0x29, 4 /* Protected | MethodCloned */, |
71 | 8, 3, 50, 2, 0x09, 7 /* Protected */, |
72 | 12, 3, 57, 2, 0x09, 11 /* Protected */, |
73 | |
74 | // slots: parameters |
75 | QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 6, 4, 5, 7, |
76 | QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 4, 5, |
77 | QMetaType::Void, 0x80000000 | 3, QMetaType::Int, QMetaType::Int, 9, 10, 11, |
78 | QMetaType::Void, 0x80000000 | 3, QMetaType::Int, QMetaType::Int, 9, 10, 11, |
79 | |
80 | 0 // eod |
81 | }; |
82 | |
83 | void PieView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
84 | { |
85 | if (_c == QMetaObject::InvokeMetaMethod) { |
86 | Q_ASSERT(staticMetaObject.cast(_o)); |
87 | auto *_t = static_cast<PieView *>(_o); |
88 | Q_UNUSED(_t) |
89 | switch (_id) { |
90 | case 0: _t->dataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])),(*reinterpret_cast< const QList<int>(*)>(_a[3]))); break; |
91 | case 1: _t->dataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break; |
92 | case 2: _t->rowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
93 | case 3: _t->rowsAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
94 | default: ; |
95 | } |
96 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
97 | switch (_id) { |
98 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
99 | case 0: |
100 | switch (*reinterpret_cast<int*>(_a[1])) { |
101 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
102 | case 2: |
103 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break; |
104 | } |
105 | break; |
106 | } |
107 | } |
108 | } |
109 | |
110 | const QMetaObject PieView::staticMetaObject = { { |
111 | QMetaObject::SuperData::link<QAbstractItemView::staticMetaObject>(), |
112 | qt_meta_stringdata_PieView.offsetsAndSize, |
113 | qt_meta_data_PieView, |
114 | qt_static_metacall, |
115 | nullptr, |
116 | qt_incomplete_metaTypeArray<qt_meta_stringdata_PieView_t |
117 | |
118 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<int> &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> |
119 | |
120 | |
121 | >, |
122 | nullptr |
123 | } }; |
124 | |
125 | |
126 | const QMetaObject *PieView::metaObject() const |
127 | { |
128 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
129 | } |
130 | |
131 | void *PieView::qt_metacast(const char *_clname) |
132 | { |
133 | if (!_clname) return nullptr; |
134 | if (!strcmp(_clname, qt_meta_stringdata_PieView.stringdata0)) |
135 | return static_cast<void*>(this); |
136 | return QAbstractItemView::qt_metacast(_clname); |
137 | } |
138 | |
139 | int PieView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
140 | { |
141 | _id = QAbstractItemView::qt_metacall(_c, _id, _a); |
142 | if (_id < 0) |
143 | return _id; |
144 | if (_c == QMetaObject::InvokeMetaMethod) { |
145 | if (_id < 4) |
146 | qt_static_metacall(this, _c, _id, _a); |
147 | _id -= 4; |
148 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
149 | if (_id < 4) |
150 | qt_static_metacall(this, _c, _id, _a); |
151 | _id -= 4; |
152 | } |
153 | return _id; |
154 | } |
155 | QT_WARNING_POP |
156 | QT_END_MOC_NAMESPACE |
157 | |