1/****************************************************************************
2** Meta object code from reading C++ file 'qwidgetlinecontrol_p.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/qwidgetlinecontrol_p.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qwidgetlinecontrol_p.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_QWidgetLineControl_t {
25 const uint offsetsAndSize[28];
26 char stringdata0[206];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QWidgetLineControl_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QWidgetLineControl_t qt_meta_stringdata_QWidgetLineControl = {
31 {
32QT_MOC_LITERAL(0, 18), // "QWidgetLineControl"
33QT_MOC_LITERAL(19, 21), // "cursorPositionChanged"
34QT_MOC_LITERAL(41, 0), // ""
35QT_MOC_LITERAL(42, 16), // "selectionChanged"
36QT_MOC_LITERAL(59, 18), // "displayTextChanged"
37QT_MOC_LITERAL(78, 11), // "textChanged"
38QT_MOC_LITERAL(90, 10), // "textEdited"
39QT_MOC_LITERAL(101, 17), // "resetInputContext"
40QT_MOC_LITERAL(119, 16), // "updateMicroFocus"
41QT_MOC_LITERAL(136, 8), // "accepted"
42QT_MOC_LITERAL(145, 15), // "editingFinished"
43QT_MOC_LITERAL(161, 12), // "updateNeeded"
44QT_MOC_LITERAL(174, 13), // "inputRejected"
45QT_MOC_LITERAL(188, 17) // "_q_deleteSelected"
46
47 },
48 "QWidgetLineControl\0cursorPositionChanged\0"
49 "\0selectionChanged\0displayTextChanged\0"
50 "textChanged\0textEdited\0resetInputContext\0"
51 "updateMicroFocus\0accepted\0editingFinished\0"
52 "updateNeeded\0inputRejected\0_q_deleteSelected"
53};
54#undef QT_MOC_LITERAL
55
56static const uint qt_meta_data_QWidgetLineControl[] = {
57
58 // content:
59 9, // revision
60 0, // classname
61 0, 0, // classinfo
62 12, 14, // methods
63 0, 0, // properties
64 0, 0, // enums/sets
65 0, 0, // constructors
66 0, // flags
67 11, // signalCount
68
69 // signals: name, argc, parameters, tag, flags, initial metatype offsets
70 1, 2, 86, 2, 0x06, 0 /* Public */,
71 3, 0, 91, 2, 0x06, 3 /* Public */,
72 4, 1, 92, 2, 0x06, 4 /* Public */,
73 5, 1, 95, 2, 0x06, 6 /* Public */,
74 6, 1, 98, 2, 0x06, 8 /* Public */,
75 7, 0, 101, 2, 0x06, 10 /* Public */,
76 8, 0, 102, 2, 0x06, 11 /* Public */,
77 9, 0, 103, 2, 0x06, 12 /* Public */,
78 10, 0, 104, 2, 0x06, 13 /* Public */,
79 11, 1, 105, 2, 0x06, 14 /* Public */,
80 12, 0, 108, 2, 0x06, 16 /* Public */,
81
82 // slots: name, argc, parameters, tag, flags, initial metatype offsets
83 13, 0, 109, 2, 0x08, 17 /* Private */,
84
85 // signals: parameters
86 QMetaType::Void, QMetaType::Int, QMetaType::Int, 2, 2,
87 QMetaType::Void,
88 QMetaType::Void, QMetaType::QString, 2,
89 QMetaType::Void, QMetaType::QString, 2,
90 QMetaType::Void, QMetaType::QString, 2,
91 QMetaType::Void,
92 QMetaType::Void,
93 QMetaType::Void,
94 QMetaType::Void,
95 QMetaType::Void, QMetaType::QRect, 2,
96 QMetaType::Void,
97
98 // slots: parameters
99 QMetaType::Void,
100
101 0 // eod
102};
103
104void QWidgetLineControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
105{
106 if (_c == QMetaObject::InvokeMetaMethod) {
107 Q_ASSERT(staticMetaObject.cast(_o));
108 auto *_t = static_cast<QWidgetLineControl *>(_o);
109 Q_UNUSED(_t)
110 switch (_id) {
111 case 0: _t->cursorPositionChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
112 case 1: _t->selectionChanged(); break;
113 case 2: _t->displayTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
114 case 3: _t->textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
115 case 4: _t->textEdited((*reinterpret_cast< const QString(*)>(_a[1]))); break;
116 case 5: _t->resetInputContext(); break;
117 case 6: _t->updateMicroFocus(); break;
118 case 7: _t->accepted(); break;
119 case 8: _t->editingFinished(); break;
120 case 9: _t->updateNeeded((*reinterpret_cast< const QRect(*)>(_a[1]))); break;
121 case 10: _t->inputRejected(); break;
122 case 11: _t->_q_deleteSelected(); break;
123 default: ;
124 }
125 } else if (_c == QMetaObject::IndexOfMethod) {
126 int *result = reinterpret_cast<int *>(_a[0]);
127 {
128 using _t = void (QWidgetLineControl::*)(int , int );
129 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetLineControl::cursorPositionChanged)) {
130 *result = 0;
131 return;
132 }
133 }
134 {
135 using _t = void (QWidgetLineControl::*)();
136 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetLineControl::selectionChanged)) {
137 *result = 1;
138 return;
139 }
140 }
141 {
142 using _t = void (QWidgetLineControl::*)(const QString & );
143 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetLineControl::displayTextChanged)) {
144 *result = 2;
145 return;
146 }
147 }
148 {
149 using _t = void (QWidgetLineControl::*)(const QString & );
150 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetLineControl::textChanged)) {
151 *result = 3;
152 return;
153 }
154 }
155 {
156 using _t = void (QWidgetLineControl::*)(const QString & );
157 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetLineControl::textEdited)) {
158 *result = 4;
159 return;
160 }
161 }
162 {
163 using _t = void (QWidgetLineControl::*)();
164 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetLineControl::resetInputContext)) {
165 *result = 5;
166 return;
167 }
168 }
169 {
170 using _t = void (QWidgetLineControl::*)();
171 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetLineControl::updateMicroFocus)) {
172 *result = 6;
173 return;
174 }
175 }
176 {
177 using _t = void (QWidgetLineControl::*)();
178 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetLineControl::accepted)) {
179 *result = 7;
180 return;
181 }
182 }
183 {
184 using _t = void (QWidgetLineControl::*)();
185 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetLineControl::editingFinished)) {
186 *result = 8;
187 return;
188 }
189 }
190 {
191 using _t = void (QWidgetLineControl::*)(const QRect & );
192 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetLineControl::updateNeeded)) {
193 *result = 9;
194 return;
195 }
196 }
197 {
198 using _t = void (QWidgetLineControl::*)();
199 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetLineControl::inputRejected)) {
200 *result = 10;
201 return;
202 }
203 }
204 }
205}
206
207const QMetaObject QWidgetLineControl::staticMetaObject = { {
208 QMetaObject::SuperData::link<QInputControl::staticMetaObject>(),
209 qt_meta_stringdata_QWidgetLineControl.offsetsAndSize,
210 qt_meta_data_QWidgetLineControl,
211 qt_static_metacall,
212 nullptr,
213qt_incomplete_metaTypeArray<qt_meta_stringdata_QWidgetLineControl_t
214, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, 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>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, 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<const QRect &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
215, QtPrivate::TypeAndForceComplete<void, std::false_type>
216
217
218>,
219 nullptr
220} };
221
222
223const QMetaObject *QWidgetLineControl::metaObject() const
224{
225 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
226}
227
228void *QWidgetLineControl::qt_metacast(const char *_clname)
229{
230 if (!_clname) return nullptr;
231 if (!strcmp(_clname, qt_meta_stringdata_QWidgetLineControl.stringdata0))
232 return static_cast<void*>(this);
233 return QInputControl::qt_metacast(_clname);
234}
235
236int QWidgetLineControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
237{
238 _id = QInputControl::qt_metacall(_c, _id, _a);
239 if (_id < 0)
240 return _id;
241 if (_c == QMetaObject::InvokeMetaMethod) {
242 if (_id < 12)
243 qt_static_metacall(this, _c, _id, _a);
244 _id -= 12;
245 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
246 if (_id < 12)
247 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
248 _id -= 12;
249 }
250 return _id;
251}
252
253// SIGNAL 0
254void QWidgetLineControl::cursorPositionChanged(int _t1, int _t2)
255{
256 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
257 QMetaObject::activate(this, &staticMetaObject, 0, _a);
258}
259
260// SIGNAL 1
261void QWidgetLineControl::selectionChanged()
262{
263 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
264}
265
266// SIGNAL 2
267void QWidgetLineControl::displayTextChanged(const QString & _t1)
268{
269 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
270 QMetaObject::activate(this, &staticMetaObject, 2, _a);
271}
272
273// SIGNAL 3
274void QWidgetLineControl::textChanged(const QString & _t1)
275{
276 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
277 QMetaObject::activate(this, &staticMetaObject, 3, _a);
278}
279
280// SIGNAL 4
281void QWidgetLineControl::textEdited(const QString & _t1)
282{
283 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
284 QMetaObject::activate(this, &staticMetaObject, 4, _a);
285}
286
287// SIGNAL 5
288void QWidgetLineControl::resetInputContext()
289{
290 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
291}
292
293// SIGNAL 6
294void QWidgetLineControl::updateMicroFocus()
295{
296 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
297}
298
299// SIGNAL 7
300void QWidgetLineControl::accepted()
301{
302 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
303}
304
305// SIGNAL 8
306void QWidgetLineControl::editingFinished()
307{
308 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
309}
310
311// SIGNAL 9
312void QWidgetLineControl::updateNeeded(const QRect & _t1)
313{
314 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
315 QMetaObject::activate(this, &staticMetaObject, 9, _a);
316}
317
318// SIGNAL 10
319void QWidgetLineControl::inputRejected()
320{
321 QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
322}
323QT_WARNING_POP
324QT_END_MOC_NAMESPACE
325