1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'spreadsheet.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 "spreadsheet.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'spreadsheet.h' doesn't include <QObject>." |
15 | #elif Q_MOC_OUTPUT_REVISION != 68 |
16 | #error "This file was generated using the moc from 6.0.0. It" |
17 | #error "cannot be used with the include files from this version of Qt." |
18 | #error "(The moc has changed too much.)" |
19 | #endif |
20 | |
21 | QT_BEGIN_MOC_NAMESPACE |
22 | QT_WARNING_PUSH |
23 | QT_WARNING_DISABLE_DEPRECATED |
24 | struct qt_meta_stringdata_SpreadSheet_t { |
25 | const uint offsetsAndSize[36]; |
26 | char stringdata0[198]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_SpreadSheet_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_SpreadSheet_t qt_meta_stringdata_SpreadSheet = { |
31 | { |
32 | QT_MOC_LITERAL(0, 11), // "SpreadSheet" |
33 | QT_MOC_LITERAL(12, 12), // "updateStatus" |
34 | QT_MOC_LITERAL(25, 0), // "" |
35 | QT_MOC_LITERAL(26, 17), // "QTableWidgetItem*" |
36 | QT_MOC_LITERAL(44, 4), // "item" |
37 | QT_MOC_LITERAL(49, 11), // "updateColor" |
38 | QT_MOC_LITERAL(61, 14), // "updateLineEdit" |
39 | QT_MOC_LITERAL(76, 13), // "returnPressed" |
40 | QT_MOC_LITERAL(90, 11), // "selectColor" |
41 | QT_MOC_LITERAL(102, 10), // "selectFont" |
42 | QT_MOC_LITERAL(113, 5), // "clear" |
43 | QT_MOC_LITERAL(119, 9), // "showAbout" |
44 | QT_MOC_LITERAL(129, 5), // "print" |
45 | QT_MOC_LITERAL(135, 9), // "actionSum" |
46 | QT_MOC_LITERAL(145, 14), // "actionSubtract" |
47 | QT_MOC_LITERAL(160, 9), // "actionAdd" |
48 | QT_MOC_LITERAL(170, 14), // "actionMultiply" |
49 | QT_MOC_LITERAL(185, 12) // "actionDivide" |
50 | |
51 | }, |
52 | "SpreadSheet\0updateStatus\0\0QTableWidgetItem*\0" |
53 | "item\0updateColor\0updateLineEdit\0" |
54 | "returnPressed\0selectColor\0selectFont\0" |
55 | "clear\0showAbout\0print\0actionSum\0" |
56 | "actionSubtract\0actionAdd\0actionMultiply\0" |
57 | "actionDivide" |
58 | }; |
59 | #undef QT_MOC_LITERAL |
60 | |
61 | static const uint qt_meta_data_SpreadSheet[] = { |
62 | |
63 | // content: |
64 | 9, // revision |
65 | 0, // classname |
66 | 0, 0, // classinfo |
67 | 14, 14, // methods |
68 | 0, 0, // properties |
69 | 0, 0, // enums/sets |
70 | 0, 0, // constructors |
71 | 0, // flags |
72 | 0, // signalCount |
73 | |
74 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
75 | 1, 1, 98, 2, 0x0a, 0 /* Public */, |
76 | 5, 1, 101, 2, 0x0a, 2 /* Public */, |
77 | 6, 1, 104, 2, 0x0a, 4 /* Public */, |
78 | 7, 0, 107, 2, 0x0a, 6 /* Public */, |
79 | 8, 0, 108, 2, 0x0a, 7 /* Public */, |
80 | 9, 0, 109, 2, 0x0a, 8 /* Public */, |
81 | 10, 0, 110, 2, 0x0a, 9 /* Public */, |
82 | 11, 0, 111, 2, 0x0a, 10 /* Public */, |
83 | 12, 0, 112, 2, 0x0a, 11 /* Public */, |
84 | 13, 0, 113, 2, 0x0a, 12 /* Public */, |
85 | 14, 0, 114, 2, 0x0a, 13 /* Public */, |
86 | 15, 0, 115, 2, 0x0a, 14 /* Public */, |
87 | 16, 0, 116, 2, 0x0a, 15 /* Public */, |
88 | 17, 0, 117, 2, 0x0a, 16 /* Public */, |
89 | |
90 | // slots: parameters |
91 | QMetaType::Void, 0x80000000 | 3, 4, |
92 | QMetaType::Void, 0x80000000 | 3, 4, |
93 | QMetaType::Void, 0x80000000 | 3, 4, |
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 | |
106 | 0 // eod |
107 | }; |
108 | |
109 | void SpreadSheet::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
110 | { |
111 | if (_c == QMetaObject::InvokeMetaMethod) { |
112 | Q_ASSERT(staticMetaObject.cast(_o)); |
113 | auto *_t = static_cast<SpreadSheet *>(_o); |
114 | Q_UNUSED(_t) |
115 | switch (_id) { |
116 | case 0: _t->updateStatus((*reinterpret_cast< QTableWidgetItem*(*)>(_a[1]))); break; |
117 | case 1: _t->updateColor((*reinterpret_cast< QTableWidgetItem*(*)>(_a[1]))); break; |
118 | case 2: _t->updateLineEdit((*reinterpret_cast< QTableWidgetItem*(*)>(_a[1]))); break; |
119 | case 3: _t->returnPressed(); break; |
120 | case 4: _t->selectColor(); break; |
121 | case 5: _t->selectFont(); break; |
122 | case 6: _t->clear(); break; |
123 | case 7: _t->showAbout(); break; |
124 | case 8: _t->print(); break; |
125 | case 9: _t->actionSum(); break; |
126 | case 10: _t->actionSubtract(); break; |
127 | case 11: _t->actionAdd(); break; |
128 | case 12: _t->actionMultiply(); break; |
129 | case 13: _t->actionDivide(); break; |
130 | default: ; |
131 | } |
132 | } |
133 | } |
134 | |
135 | const QMetaObject SpreadSheet::staticMetaObject = { { |
136 | QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(), |
137 | qt_meta_stringdata_SpreadSheet.offsetsAndSize, |
138 | qt_meta_data_SpreadSheet, |
139 | qt_static_metacall, |
140 | nullptr, |
141 | qt_incomplete_metaTypeArray<qt_meta_stringdata_SpreadSheet_t |
142 | |
143 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTableWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTableWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTableWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
144 | |
145 | |
146 | >, |
147 | nullptr |
148 | } }; |
149 | |
150 | |
151 | const QMetaObject *SpreadSheet::metaObject() const |
152 | { |
153 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
154 | } |
155 | |
156 | void *SpreadSheet::qt_metacast(const char *_clname) |
157 | { |
158 | if (!_clname) return nullptr; |
159 | if (!strcmp(_clname, qt_meta_stringdata_SpreadSheet.stringdata0)) |
160 | return static_cast<void*>(this); |
161 | return QMainWindow::qt_metacast(_clname); |
162 | } |
163 | |
164 | int SpreadSheet::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
165 | { |
166 | _id = QMainWindow::qt_metacall(_c, _id, _a); |
167 | if (_id < 0) |
168 | return _id; |
169 | if (_c == QMetaObject::InvokeMetaMethod) { |
170 | if (_id < 14) |
171 | qt_static_metacall(this, _c, _id, _a); |
172 | _id -= 14; |
173 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
174 | if (_id < 14) |
175 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
176 | _id -= 14; |
177 | } |
178 | return _id; |
179 | } |
180 | QT_WARNING_POP |
181 | QT_END_MOC_NAMESPACE |
182 | |