1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qsqlrelationaltablemodel.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 "models/qsqlrelationaltablemodel.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qsqlrelationaltablemodel.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 | |
21 | QT_BEGIN_MOC_NAMESPACE |
22 | QT_WARNING_PUSH |
23 | QT_WARNING_DISABLE_DEPRECATED |
24 | struct qt_meta_stringdata_QSqlRelationalTableModel_t { |
25 | const uint offsetsAndSize[8]; |
26 | char stringdata0[40]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QSqlRelationalTableModel_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QSqlRelationalTableModel_t qt_meta_stringdata_QSqlRelationalTableModel = { |
31 | { |
32 | QT_MOC_LITERAL(0, 24), // "QSqlRelationalTableModel" |
33 | QT_MOC_LITERAL(25, 9), // "revertRow" |
34 | QT_MOC_LITERAL(35, 0), // "" |
35 | QT_MOC_LITERAL(36, 3) // "row" |
36 | |
37 | }, |
38 | "QSqlRelationalTableModel\0revertRow\0\0" |
39 | "row" |
40 | }; |
41 | #undef QT_MOC_LITERAL |
42 | |
43 | static const uint qt_meta_data_QSqlRelationalTableModel[] = { |
44 | |
45 | // content: |
46 | 9, // revision |
47 | 0, // classname |
48 | 0, 0, // classinfo |
49 | 1, 14, // methods |
50 | 0, 0, // properties |
51 | 0, 0, // enums/sets |
52 | 0, 0, // constructors |
53 | 0, // flags |
54 | 0, // signalCount |
55 | |
56 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
57 | 1, 1, 20, 2, 0x0a, 0 /* Public */, |
58 | |
59 | // slots: parameters |
60 | QMetaType::Void, QMetaType::Int, 3, |
61 | |
62 | 0 // eod |
63 | }; |
64 | |
65 | void QSqlRelationalTableModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
66 | { |
67 | if (_c == QMetaObject::InvokeMetaMethod) { |
68 | Q_ASSERT(staticMetaObject.cast(_o)); |
69 | auto *_t = static_cast<QSqlRelationalTableModel *>(_o); |
70 | Q_UNUSED(_t) |
71 | switch (_id) { |
72 | case 0: _t->revertRow((*reinterpret_cast< int(*)>(_a[1]))); break; |
73 | default: ; |
74 | } |
75 | } |
76 | } |
77 | |
78 | const QMetaObject QSqlRelationalTableModel::staticMetaObject = { { |
79 | QMetaObject::SuperData::link<QSqlTableModel::staticMetaObject>(), |
80 | qt_meta_stringdata_QSqlRelationalTableModel.offsetsAndSize, |
81 | qt_meta_data_QSqlRelationalTableModel, |
82 | qt_static_metacall, |
83 | nullptr, |
84 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QSqlRelationalTableModel_t |
85 | |
86 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> |
87 | |
88 | |
89 | >, |
90 | nullptr |
91 | } }; |
92 | |
93 | |
94 | const QMetaObject *QSqlRelationalTableModel::metaObject() const |
95 | { |
96 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
97 | } |
98 | |
99 | void *QSqlRelationalTableModel::qt_metacast(const char *_clname) |
100 | { |
101 | if (!_clname) return nullptr; |
102 | if (!strcmp(_clname, qt_meta_stringdata_QSqlRelationalTableModel.stringdata0)) |
103 | return static_cast<void*>(this); |
104 | return QSqlTableModel::qt_metacast(_clname); |
105 | } |
106 | |
107 | int QSqlRelationalTableModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
108 | { |
109 | _id = QSqlTableModel::qt_metacall(_c, _id, _a); |
110 | if (_id < 0) |
111 | return _id; |
112 | if (_c == QMetaObject::InvokeMetaMethod) { |
113 | if (_id < 1) |
114 | qt_static_metacall(this, _c, _id, _a); |
115 | _id -= 1; |
116 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
117 | if (_id < 1) |
118 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
119 | _id -= 1; |
120 | } |
121 | return _id; |
122 | } |
123 | QT_WARNING_POP |
124 | QT_END_MOC_NAMESPACE |
125 | |