1/****************************************************************************
2** Meta object code from reading C++ file 'qkeysequenceedit.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 "widgets/qkeysequenceedit.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qkeysequenceedit.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_QKeySequenceEdit_t {
25 const uint offsetsAndSize[16];
26 char stringdata0[99];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QKeySequenceEdit_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QKeySequenceEdit_t qt_meta_stringdata_QKeySequenceEdit = {
31 {
32QT_MOC_LITERAL(0, 16), // "QKeySequenceEdit"
33QT_MOC_LITERAL(17, 15), // "editingFinished"
34QT_MOC_LITERAL(33, 0), // ""
35QT_MOC_LITERAL(34, 18), // "keySequenceChanged"
36QT_MOC_LITERAL(53, 12), // "QKeySequence"
37QT_MOC_LITERAL(66, 11), // "keySequence"
38QT_MOC_LITERAL(78, 14), // "setKeySequence"
39QT_MOC_LITERAL(93, 5) // "clear"
40
41 },
42 "QKeySequenceEdit\0editingFinished\0\0"
43 "keySequenceChanged\0QKeySequence\0"
44 "keySequence\0setKeySequence\0clear"
45};
46#undef QT_MOC_LITERAL
47
48static const uint qt_meta_data_QKeySequenceEdit[] = {
49
50 // content:
51 9, // revision
52 0, // classname
53 0, 0, // classinfo
54 4, 14, // methods
55 1, 46, // properties
56 0, 0, // enums/sets
57 0, 0, // constructors
58 0, // flags
59 2, // signalCount
60
61 // signals: name, argc, parameters, tag, flags, initial metatype offsets
62 1, 0, 38, 2, 0x06, 1 /* Public */,
63 3, 1, 39, 2, 0x06, 2 /* Public */,
64
65 // slots: name, argc, parameters, tag, flags, initial metatype offsets
66 6, 1, 42, 2, 0x0a, 4 /* Public */,
67 7, 0, 45, 2, 0x0a, 6 /* Public */,
68
69 // signals: parameters
70 QMetaType::Void,
71 QMetaType::Void, 0x80000000 | 4, 5,
72
73 // slots: parameters
74 QMetaType::Void, 0x80000000 | 4, 5,
75 QMetaType::Void,
76
77 // properties: name, type, flags
78 5, 0x80000000 | 4, 0x0011510b, uint(1), 0,
79
80 0 // eod
81};
82
83void QKeySequenceEdit::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<QKeySequenceEdit *>(_o);
88 Q_UNUSED(_t)
89 switch (_id) {
90 case 0: _t->editingFinished(); break;
91 case 1: _t->keySequenceChanged((*reinterpret_cast< const QKeySequence(*)>(_a[1]))); break;
92 case 2: _t->setKeySequence((*reinterpret_cast< const QKeySequence(*)>(_a[1]))); break;
93 case 3: _t->clear(); break;
94 default: ;
95 }
96 } else if (_c == QMetaObject::IndexOfMethod) {
97 int *result = reinterpret_cast<int *>(_a[0]);
98 {
99 using _t = void (QKeySequenceEdit::*)();
100 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QKeySequenceEdit::editingFinished)) {
101 *result = 0;
102 return;
103 }
104 }
105 {
106 using _t = void (QKeySequenceEdit::*)(const QKeySequence & );
107 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QKeySequenceEdit::keySequenceChanged)) {
108 *result = 1;
109 return;
110 }
111 }
112 }
113#ifndef QT_NO_PROPERTIES
114 else if (_c == QMetaObject::ReadProperty) {
115 Q_ASSERT(staticMetaObject.cast(_o));
116 auto *_t = static_cast<QKeySequenceEdit *>(_o);
117 Q_UNUSED(_t)
118 void *_v = _a[0];
119 switch (_id) {
120 case 0: *reinterpret_cast< QKeySequence*>(_v) = _t->keySequence(); break;
121 default: break;
122 }
123 } else if (_c == QMetaObject::WriteProperty) {
124 Q_ASSERT(staticMetaObject.cast(_o));
125 auto *_t = static_cast<QKeySequenceEdit *>(_o);
126 Q_UNUSED(_t)
127 void *_v = _a[0];
128 switch (_id) {
129 case 0: _t->setKeySequence(*reinterpret_cast< QKeySequence*>(_v)); break;
130 default: break;
131 }
132 } else if (_c == QMetaObject::ResetProperty) {
133 } else if (_c == QMetaObject::BindableProperty) {
134 }
135#endif // QT_NO_PROPERTIES
136}
137
138const QMetaObject QKeySequenceEdit::staticMetaObject = { {
139 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
140 qt_meta_stringdata_QKeySequenceEdit.offsetsAndSize,
141 qt_meta_data_QKeySequenceEdit,
142 qt_static_metacall,
143 nullptr,
144qt_incomplete_metaTypeArray<qt_meta_stringdata_QKeySequenceEdit_t
145, QtPrivate::TypeAndForceComplete<QKeySequence, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QKeySequence &, std::false_type>
146, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QKeySequence &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
147
148
149>,
150 nullptr
151} };
152
153
154const QMetaObject *QKeySequenceEdit::metaObject() const
155{
156 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
157}
158
159void *QKeySequenceEdit::qt_metacast(const char *_clname)
160{
161 if (!_clname) return nullptr;
162 if (!strcmp(_clname, qt_meta_stringdata_QKeySequenceEdit.stringdata0))
163 return static_cast<void*>(this);
164 return QWidget::qt_metacast(_clname);
165}
166
167int QKeySequenceEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
168{
169 _id = QWidget::qt_metacall(_c, _id, _a);
170 if (_id < 0)
171 return _id;
172 if (_c == QMetaObject::InvokeMetaMethod) {
173 if (_id < 4)
174 qt_static_metacall(this, _c, _id, _a);
175 _id -= 4;
176 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
177 if (_id < 4)
178 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
179 _id -= 4;
180 }
181#ifndef QT_NO_PROPERTIES
182 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
183 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
184 || _c == QMetaObject::RegisterPropertyMetaType) {
185 qt_static_metacall(this, _c, _id, _a);
186 _id -= 1;
187 }
188#endif // QT_NO_PROPERTIES
189 return _id;
190}
191
192// SIGNAL 0
193void QKeySequenceEdit::editingFinished()
194{
195 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
196}
197
198// SIGNAL 1
199void QKeySequenceEdit::keySequenceChanged(const QKeySequence & _t1)
200{
201 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
202 QMetaObject::activate(this, &staticMetaObject, 1, _a);
203}
204QT_WARNING_POP
205QT_END_MOC_NAMESPACE
206