| 1 | /**************************************************************************** |
| 2 | ** Meta object code from reading C++ file 'qconcatenatetablesproxymodel.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 "itemmodels/qconcatenatetablesproxymodel.h" |
| 11 | #include <QtCore/qbytearray.h> |
| 12 | #include <QtCore/qmetatype.h> |
| 13 | #include <QtCore/QList> |
| 14 | #if !defined(Q_MOC_OUTPUT_REVISION) |
| 15 | #error "The header file 'qconcatenatetablesproxymodel.h' doesn't include <QObject>." |
| 16 | #elif Q_MOC_OUTPUT_REVISION != 68 |
| 17 | #error "This file was generated using the moc from 6.0.0. It" |
| 18 | #error "cannot be used with the include files from this version of Qt." |
| 19 | #error "(The moc has changed too much.)" |
| 20 | #endif |
| 21 | |
| 22 | QT_BEGIN_MOC_NAMESPACE |
| 23 | QT_WARNING_PUSH |
| 24 | QT_WARNING_DISABLE_DEPRECATED |
| 25 | struct qt_meta_stringdata_QConcatenateTablesProxyModel_t { |
| 26 | const uint offsetsAndSize[58]; |
| 27 | char stringdata0[546]; |
| 28 | }; |
| 29 | #define QT_MOC_LITERAL(ofs, len) \ |
| 30 | uint(offsetof(qt_meta_stringdata_QConcatenateTablesProxyModel_t, stringdata0) + ofs), len |
| 31 | static const qt_meta_stringdata_QConcatenateTablesProxyModel_t qt_meta_stringdata_QConcatenateTablesProxyModel = { |
| 32 | { |
| 33 | QT_MOC_LITERAL(0, 28), // "QConcatenateTablesProxyModel" |
| 34 | QT_MOC_LITERAL(29, 28), // "_q_slotRowsAboutToBeInserted" |
| 35 | QT_MOC_LITERAL(58, 0), // "" |
| 36 | QT_MOC_LITERAL(59, 11), // "QModelIndex" |
| 37 | QT_MOC_LITERAL(71, 5), // "start" |
| 38 | QT_MOC_LITERAL(77, 3), // "end" |
| 39 | QT_MOC_LITERAL(81, 19), // "_q_slotRowsInserted" |
| 40 | QT_MOC_LITERAL(101, 27), // "_q_slotRowsAboutToBeRemoved" |
| 41 | QT_MOC_LITERAL(129, 18), // "_q_slotRowsRemoved" |
| 42 | QT_MOC_LITERAL(148, 31), // "_q_slotColumnsAboutToBeInserted" |
| 43 | QT_MOC_LITERAL(180, 6), // "parent" |
| 44 | QT_MOC_LITERAL(187, 22), // "_q_slotColumnsInserted" |
| 45 | QT_MOC_LITERAL(210, 30), // "_q_slotColumnsAboutToBeRemoved" |
| 46 | QT_MOC_LITERAL(241, 21), // "_q_slotColumnsRemoved" |
| 47 | QT_MOC_LITERAL(263, 18), // "_q_slotDataChanged" |
| 48 | QT_MOC_LITERAL(282, 4), // "from" |
| 49 | QT_MOC_LITERAL(287, 2), // "to" |
| 50 | QT_MOC_LITERAL(290, 10), // "QList<int>" |
| 51 | QT_MOC_LITERAL(301, 5), // "roles" |
| 52 | QT_MOC_LITERAL(307, 35), // "_q_slotSourceLayoutAboutToBeC..." |
| 53 | QT_MOC_LITERAL(343, 28), // "QList<QPersistentModelIndex>" |
| 54 | QT_MOC_LITERAL(372, 36), // "QAbstractItemModel::LayoutCha..." |
| 55 | QT_MOC_LITERAL(409, 26), // "_q_slotSourceLayoutChanged" |
| 56 | QT_MOC_LITERAL(436, 26), // "_q_slotModelAboutToBeReset" |
| 57 | QT_MOC_LITERAL(463, 17), // "_q_slotModelReset" |
| 58 | QT_MOC_LITERAL(481, 14), // "addSourceModel" |
| 59 | QT_MOC_LITERAL(496, 19), // "QAbstractItemModel*" |
| 60 | QT_MOC_LITERAL(516, 11), // "sourceModel" |
| 61 | QT_MOC_LITERAL(528, 17) // "removeSourceModel" |
| 62 | |
| 63 | }, |
| 64 | "QConcatenateTablesProxyModel\0" |
| 65 | "_q_slotRowsAboutToBeInserted\0\0QModelIndex\0" |
| 66 | "start\0end\0_q_slotRowsInserted\0" |
| 67 | "_q_slotRowsAboutToBeRemoved\0" |
| 68 | "_q_slotRowsRemoved\0_q_slotColumnsAboutToBeInserted\0" |
| 69 | "parent\0_q_slotColumnsInserted\0" |
| 70 | "_q_slotColumnsAboutToBeRemoved\0" |
| 71 | "_q_slotColumnsRemoved\0_q_slotDataChanged\0" |
| 72 | "from\0to\0QList<int>\0roles\0" |
| 73 | "_q_slotSourceLayoutAboutToBeChanged\0" |
| 74 | "QList<QPersistentModelIndex>\0" |
| 75 | "QAbstractItemModel::LayoutChangeHint\0" |
| 76 | "_q_slotSourceLayoutChanged\0" |
| 77 | "_q_slotModelAboutToBeReset\0_q_slotModelReset\0" |
| 78 | "addSourceModel\0QAbstractItemModel*\0" |
| 79 | "sourceModel\0removeSourceModel" |
| 80 | }; |
| 81 | #undef QT_MOC_LITERAL |
| 82 | |
| 83 | static const uint qt_meta_data_QConcatenateTablesProxyModel[] = { |
| 84 | |
| 85 | // content: |
| 86 | 9, // revision |
| 87 | 0, // classname |
| 88 | 0, 0, // classinfo |
| 89 | 15, 14, // methods |
| 90 | 0, 0, // properties |
| 91 | 0, 0, // enums/sets |
| 92 | 0, 0, // constructors |
| 93 | 0, // flags |
| 94 | 0, // signalCount |
| 95 | |
| 96 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
| 97 | 1, 3, 104, 2, 0x08, 0 /* Private */, |
| 98 | 6, 3, 111, 2, 0x08, 4 /* Private */, |
| 99 | 7, 3, 118, 2, 0x08, 8 /* Private */, |
| 100 | 8, 3, 125, 2, 0x08, 12 /* Private */, |
| 101 | 9, 3, 132, 2, 0x08, 16 /* Private */, |
| 102 | 11, 3, 139, 2, 0x08, 20 /* Private */, |
| 103 | 12, 3, 146, 2, 0x08, 24 /* Private */, |
| 104 | 13, 3, 153, 2, 0x08, 28 /* Private */, |
| 105 | 14, 3, 160, 2, 0x08, 32 /* Private */, |
| 106 | 19, 2, 167, 2, 0x08, 36 /* Private */, |
| 107 | 22, 2, 172, 2, 0x08, 39 /* Private */, |
| 108 | 23, 0, 177, 2, 0x08, 42 /* Private */, |
| 109 | 24, 0, 178, 2, 0x08, 43 /* Private */, |
| 110 | |
| 111 | // methods: name, argc, parameters, tag, flags, initial metatype offsets |
| 112 | 25, 1, 179, 2, 0x42, 44 /* Public | isScriptable */, |
| 113 | 28, 1, 182, 2, 0x42, 46 /* Public | isScriptable */, |
| 114 | |
| 115 | // slots: parameters |
| 116 | QMetaType::Void, 0x80000000 | 3, QMetaType::Int, QMetaType::Int, 2, 4, 5, |
| 117 | QMetaType::Void, 0x80000000 | 3, QMetaType::Int, QMetaType::Int, 2, 4, 5, |
| 118 | QMetaType::Void, 0x80000000 | 3, QMetaType::Int, QMetaType::Int, 2, 4, 5, |
| 119 | QMetaType::Void, 0x80000000 | 3, QMetaType::Int, QMetaType::Int, 2, 4, 5, |
| 120 | QMetaType::Void, 0x80000000 | 3, QMetaType::Int, QMetaType::Int, 10, 4, 5, |
| 121 | QMetaType::Void, 0x80000000 | 3, QMetaType::Int, QMetaType::Int, 10, 2, 2, |
| 122 | QMetaType::Void, 0x80000000 | 3, QMetaType::Int, QMetaType::Int, 10, 4, 5, |
| 123 | QMetaType::Void, 0x80000000 | 3, QMetaType::Int, QMetaType::Int, 10, 2, 2, |
| 124 | QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 17, 15, 16, 18, |
| 125 | QMetaType::Void, 0x80000000 | 20, 0x80000000 | 21, 2, 2, |
| 126 | QMetaType::Void, 0x80000000 | 20, 0x80000000 | 21, 2, 2, |
| 127 | QMetaType::Void, |
| 128 | QMetaType::Void, |
| 129 | |
| 130 | // methods: parameters |
| 131 | QMetaType::Void, 0x80000000 | 26, 27, |
| 132 | QMetaType::Void, 0x80000000 | 26, 27, |
| 133 | |
| 134 | 0 // eod |
| 135 | }; |
| 136 | |
| 137 | void QConcatenateTablesProxyModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 138 | { |
| 139 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 140 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 141 | auto *_t = static_cast<QConcatenateTablesProxyModel *>(_o); |
| 142 | Q_UNUSED(_t) |
| 143 | switch (_id) { |
| 144 | case 0: _t->d_func()->_q_slotRowsAboutToBeInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
| 145 | case 1: _t->d_func()->_q_slotRowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
| 146 | case 2: _t->d_func()->_q_slotRowsAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
| 147 | case 3: _t->d_func()->_q_slotRowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
| 148 | case 4: _t->d_func()->_q_slotColumnsAboutToBeInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
| 149 | case 5: _t->d_func()->_q_slotColumnsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
| 150 | case 6: _t->d_func()->_q_slotColumnsAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
| 151 | case 7: _t->d_func()->_q_slotColumnsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
| 152 | case 8: _t->d_func()->_q_slotDataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])),(*reinterpret_cast< const QList<int>(*)>(_a[3]))); break; |
| 153 | case 9: _t->d_func()->_q_slotSourceLayoutAboutToBeChanged((*reinterpret_cast< QList<QPersistentModelIndex>(*)>(_a[1])),(*reinterpret_cast< QAbstractItemModel::LayoutChangeHint(*)>(_a[2]))); break; |
| 154 | case 10: _t->d_func()->_q_slotSourceLayoutChanged((*reinterpret_cast< const QList<QPersistentModelIndex>(*)>(_a[1])),(*reinterpret_cast< QAbstractItemModel::LayoutChangeHint(*)>(_a[2]))); break; |
| 155 | case 11: _t->d_func()->_q_slotModelAboutToBeReset(); break; |
| 156 | case 12: _t->d_func()->_q_slotModelReset(); break; |
| 157 | case 13: _t->addSourceModel((*reinterpret_cast< QAbstractItemModel*(*)>(_a[1]))); break; |
| 158 | case 14: _t->removeSourceModel((*reinterpret_cast< QAbstractItemModel*(*)>(_a[1]))); break; |
| 159 | default: ; |
| 160 | } |
| 161 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 162 | switch (_id) { |
| 163 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 164 | case 8: |
| 165 | switch (*reinterpret_cast<int*>(_a[1])) { |
| 166 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 167 | case 2: |
| 168 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break; |
| 169 | } |
| 170 | break; |
| 171 | case 13: |
| 172 | switch (*reinterpret_cast<int*>(_a[1])) { |
| 173 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 174 | case 0: |
| 175 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAbstractItemModel* >(); break; |
| 176 | } |
| 177 | break; |
| 178 | case 14: |
| 179 | switch (*reinterpret_cast<int*>(_a[1])) { |
| 180 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 181 | case 0: |
| 182 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAbstractItemModel* >(); break; |
| 183 | } |
| 184 | break; |
| 185 | } |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | const QMetaObject QConcatenateTablesProxyModel::staticMetaObject = { { |
| 190 | QMetaObject::SuperData::link<QAbstractItemModel::staticMetaObject>(), |
| 191 | qt_meta_stringdata_QConcatenateTablesProxyModel.offsetsAndSize, |
| 192 | qt_meta_data_QConcatenateTablesProxyModel, |
| 193 | qt_static_metacall, |
| 194 | nullptr, |
| 195 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QConcatenateTablesProxyModel_t |
| 196 | |
| 197 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<int> &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QList<QPersistentModelIndex>, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractItemModel::LayoutChangeHint, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<QPersistentModelIndex> &, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractItemModel::LayoutChangeHint, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
| 198 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractItemModel *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractItemModel *, std::false_type> |
| 199 | |
| 200 | >, |
| 201 | nullptr |
| 202 | } }; |
| 203 | |
| 204 | |
| 205 | const QMetaObject *QConcatenateTablesProxyModel::metaObject() const |
| 206 | { |
| 207 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 208 | } |
| 209 | |
| 210 | void *QConcatenateTablesProxyModel::qt_metacast(const char *_clname) |
| 211 | { |
| 212 | if (!_clname) return nullptr; |
| 213 | if (!strcmp(_clname, qt_meta_stringdata_QConcatenateTablesProxyModel.stringdata0)) |
| 214 | return static_cast<void*>(this); |
| 215 | return QAbstractItemModel::qt_metacast(_clname); |
| 216 | } |
| 217 | |
| 218 | int QConcatenateTablesProxyModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 219 | { |
| 220 | _id = QAbstractItemModel::qt_metacall(_c, _id, _a); |
| 221 | if (_id < 0) |
| 222 | return _id; |
| 223 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 224 | if (_id < 15) |
| 225 | qt_static_metacall(this, _c, _id, _a); |
| 226 | _id -= 15; |
| 227 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 228 | if (_id < 15) |
| 229 | qt_static_metacall(this, _c, _id, _a); |
| 230 | _id -= 15; |
| 231 | } |
| 232 | return _id; |
| 233 | } |
| 234 | QT_WARNING_POP |
| 235 | QT_END_MOC_NAMESPACE |
| 236 | |