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