1/****************************************************************************
2** Meta object code from reading C++ file 'qundogroup.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 "util/qundogroup.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qundogroup.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
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
24struct qt_meta_stringdata_QUndoGroup_t {
25 const uint offsetsAndSize[40];
26 char stringdata0[206];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QUndoGroup_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QUndoGroup_t qt_meta_stringdata_QUndoGroup = {
31 {
32QT_MOC_LITERAL(0, 10), // "QUndoGroup"
33QT_MOC_LITERAL(11, 18), // "activeStackChanged"
34QT_MOC_LITERAL(30, 0), // ""
35QT_MOC_LITERAL(31, 11), // "QUndoStack*"
36QT_MOC_LITERAL(43, 5), // "stack"
37QT_MOC_LITERAL(49, 12), // "indexChanged"
38QT_MOC_LITERAL(62, 3), // "idx"
39QT_MOC_LITERAL(66, 12), // "cleanChanged"
40QT_MOC_LITERAL(79, 5), // "clean"
41QT_MOC_LITERAL(85, 14), // "canUndoChanged"
42QT_MOC_LITERAL(100, 7), // "canUndo"
43QT_MOC_LITERAL(108, 14), // "canRedoChanged"
44QT_MOC_LITERAL(123, 7), // "canRedo"
45QT_MOC_LITERAL(131, 15), // "undoTextChanged"
46QT_MOC_LITERAL(147, 8), // "undoText"
47QT_MOC_LITERAL(156, 15), // "redoTextChanged"
48QT_MOC_LITERAL(172, 8), // "redoText"
49QT_MOC_LITERAL(181, 4), // "undo"
50QT_MOC_LITERAL(186, 4), // "redo"
51QT_MOC_LITERAL(191, 14) // "setActiveStack"
52
53 },
54 "QUndoGroup\0activeStackChanged\0\0"
55 "QUndoStack*\0stack\0indexChanged\0idx\0"
56 "cleanChanged\0clean\0canUndoChanged\0"
57 "canUndo\0canRedoChanged\0canRedo\0"
58 "undoTextChanged\0undoText\0redoTextChanged\0"
59 "redoText\0undo\0redo\0setActiveStack"
60};
61#undef QT_MOC_LITERAL
62
63static const uint qt_meta_data_QUndoGroup[] = {
64
65 // content:
66 9, // revision
67 0, // classname
68 0, 0, // classinfo
69 10, 14, // methods
70 0, 0, // properties
71 0, 0, // enums/sets
72 0, 0, // constructors
73 0, // flags
74 7, // signalCount
75
76 // signals: name, argc, parameters, tag, flags, initial metatype offsets
77 1, 1, 74, 2, 0x06, 0 /* Public */,
78 5, 1, 77, 2, 0x06, 2 /* Public */,
79 7, 1, 80, 2, 0x06, 4 /* Public */,
80 9, 1, 83, 2, 0x06, 6 /* Public */,
81 11, 1, 86, 2, 0x06, 8 /* Public */,
82 13, 1, 89, 2, 0x06, 10 /* Public */,
83 15, 1, 92, 2, 0x06, 12 /* Public */,
84
85 // slots: name, argc, parameters, tag, flags, initial metatype offsets
86 17, 0, 95, 2, 0x0a, 14 /* Public */,
87 18, 0, 96, 2, 0x0a, 15 /* Public */,
88 19, 1, 97, 2, 0x0a, 16 /* Public */,
89
90 // signals: parameters
91 QMetaType::Void, 0x80000000 | 3, 4,
92 QMetaType::Void, QMetaType::Int, 6,
93 QMetaType::Void, QMetaType::Bool, 8,
94 QMetaType::Void, QMetaType::Bool, 10,
95 QMetaType::Void, QMetaType::Bool, 12,
96 QMetaType::Void, QMetaType::QString, 14,
97 QMetaType::Void, QMetaType::QString, 16,
98
99 // slots: parameters
100 QMetaType::Void,
101 QMetaType::Void,
102 QMetaType::Void, 0x80000000 | 3, 4,
103
104 0 // eod
105};
106
107void QUndoGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
108{
109 if (_c == QMetaObject::InvokeMetaMethod) {
110 Q_ASSERT(staticMetaObject.cast(_o));
111 auto *_t = static_cast<QUndoGroup *>(_o);
112 Q_UNUSED(_t)
113 switch (_id) {
114 case 0: _t->activeStackChanged((*reinterpret_cast< QUndoStack*(*)>(_a[1]))); break;
115 case 1: _t->indexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
116 case 2: _t->cleanChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
117 case 3: _t->canUndoChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
118 case 4: _t->canRedoChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
119 case 5: _t->undoTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
120 case 6: _t->redoTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
121 case 7: _t->undo(); break;
122 case 8: _t->redo(); break;
123 case 9: _t->setActiveStack((*reinterpret_cast< QUndoStack*(*)>(_a[1]))); break;
124 default: ;
125 }
126 } else if (_c == QMetaObject::IndexOfMethod) {
127 int *result = reinterpret_cast<int *>(_a[0]);
128 {
129 using _t = void (QUndoGroup::*)(QUndoStack * );
130 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QUndoGroup::activeStackChanged)) {
131 *result = 0;
132 return;
133 }
134 }
135 {
136 using _t = void (QUndoGroup::*)(int );
137 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QUndoGroup::indexChanged)) {
138 *result = 1;
139 return;
140 }
141 }
142 {
143 using _t = void (QUndoGroup::*)(bool );
144 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QUndoGroup::cleanChanged)) {
145 *result = 2;
146 return;
147 }
148 }
149 {
150 using _t = void (QUndoGroup::*)(bool );
151 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QUndoGroup::canUndoChanged)) {
152 *result = 3;
153 return;
154 }
155 }
156 {
157 using _t = void (QUndoGroup::*)(bool );
158 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QUndoGroup::canRedoChanged)) {
159 *result = 4;
160 return;
161 }
162 }
163 {
164 using _t = void (QUndoGroup::*)(const QString & );
165 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QUndoGroup::undoTextChanged)) {
166 *result = 5;
167 return;
168 }
169 }
170 {
171 using _t = void (QUndoGroup::*)(const QString & );
172 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QUndoGroup::redoTextChanged)) {
173 *result = 6;
174 return;
175 }
176 }
177 }
178}
179
180const QMetaObject QUndoGroup::staticMetaObject = { {
181 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
182 qt_meta_stringdata_QUndoGroup.offsetsAndSize,
183 qt_meta_data_QUndoGroup,
184 qt_static_metacall,
185 nullptr,
186qt_incomplete_metaTypeArray<qt_meta_stringdata_QUndoGroup_t
187, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QUndoStack *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
188, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QUndoStack *, std::false_type>
189
190
191>,
192 nullptr
193} };
194
195
196const QMetaObject *QUndoGroup::metaObject() const
197{
198 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
199}
200
201void *QUndoGroup::qt_metacast(const char *_clname)
202{
203 if (!_clname) return nullptr;
204 if (!strcmp(_clname, qt_meta_stringdata_QUndoGroup.stringdata0))
205 return static_cast<void*>(this);
206 return QObject::qt_metacast(_clname);
207}
208
209int QUndoGroup::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
210{
211 _id = QObject::qt_metacall(_c, _id, _a);
212 if (_id < 0)
213 return _id;
214 if (_c == QMetaObject::InvokeMetaMethod) {
215 if (_id < 10)
216 qt_static_metacall(this, _c, _id, _a);
217 _id -= 10;
218 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
219 if (_id < 10)
220 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
221 _id -= 10;
222 }
223 return _id;
224}
225
226// SIGNAL 0
227void QUndoGroup::activeStackChanged(QUndoStack * _t1)
228{
229 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
230 QMetaObject::activate(this, &staticMetaObject, 0, _a);
231}
232
233// SIGNAL 1
234void QUndoGroup::indexChanged(int _t1)
235{
236 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
237 QMetaObject::activate(this, &staticMetaObject, 1, _a);
238}
239
240// SIGNAL 2
241void QUndoGroup::cleanChanged(bool _t1)
242{
243 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
244 QMetaObject::activate(this, &staticMetaObject, 2, _a);
245}
246
247// SIGNAL 3
248void QUndoGroup::canUndoChanged(bool _t1)
249{
250 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
251 QMetaObject::activate(this, &staticMetaObject, 3, _a);
252}
253
254// SIGNAL 4
255void QUndoGroup::canRedoChanged(bool _t1)
256{
257 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
258 QMetaObject::activate(this, &staticMetaObject, 4, _a);
259}
260
261// SIGNAL 5
262void QUndoGroup::undoTextChanged(const QString & _t1)
263{
264 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
265 QMetaObject::activate(this, &staticMetaObject, 5, _a);
266}
267
268// SIGNAL 6
269void QUndoGroup::redoTextChanged(const QString & _t1)
270{
271 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
272 QMetaObject::activate(this, &staticMetaObject, 6, _a);
273}
274QT_WARNING_POP
275QT_END_MOC_NAMESPACE
276