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