| 1 | /**************************************************************************** |
| 2 | ** Meta object code from reading C++ file 'qcompleter_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 "util/qcompleter_p.h" |
| 11 | #include <QtCore/qbytearray.h> |
| 12 | #include <QtCore/qmetatype.h> |
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
| 14 | #error "The header file 'qcompleter_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 | |
| 21 | QT_BEGIN_MOC_NAMESPACE |
| 22 | QT_WARNING_PUSH |
| 23 | QT_WARNING_DISABLE_DEPRECATED |
| 24 | struct qt_meta_stringdata_QCompletionModel_t { |
| 25 | const uint offsetsAndSize[12]; |
| 26 | char stringdata0[67]; |
| 27 | }; |
| 28 | #define QT_MOC_LITERAL(ofs, len) \ |
| 29 | uint(offsetof(qt_meta_stringdata_QCompletionModel_t, stringdata0) + ofs), len |
| 30 | static const qt_meta_stringdata_QCompletionModel_t qt_meta_stringdata_QCompletionModel = { |
| 31 | { |
| 32 | QT_MOC_LITERAL(0, 16), // "QCompletionModel" |
| 33 | QT_MOC_LITERAL(17, 9), // "rowsAdded" |
| 34 | QT_MOC_LITERAL(27, 0), // "" |
| 35 | QT_MOC_LITERAL(28, 10), // "invalidate" |
| 36 | QT_MOC_LITERAL(39, 12), // "rowsInserted" |
| 37 | QT_MOC_LITERAL(52, 14) // "modelDestroyed" |
| 38 | |
| 39 | }, |
| 40 | "QCompletionModel\0rowsAdded\0\0invalidate\0" |
| 41 | "rowsInserted\0modelDestroyed" |
| 42 | }; |
| 43 | #undef QT_MOC_LITERAL |
| 44 | |
| 45 | static const uint qt_meta_data_QCompletionModel[] = { |
| 46 | |
| 47 | // content: |
| 48 | 9, // revision |
| 49 | 0, // classname |
| 50 | 0, 0, // classinfo |
| 51 | 4, 14, // methods |
| 52 | 0, 0, // properties |
| 53 | 0, 0, // enums/sets |
| 54 | 0, 0, // constructors |
| 55 | 0, // flags |
| 56 | 1, // signalCount |
| 57 | |
| 58 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
| 59 | 1, 0, 38, 2, 0x06, 0 /* Public */, |
| 60 | |
| 61 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
| 62 | 3, 0, 39, 2, 0x0a, 1 /* Public */, |
| 63 | 4, 0, 40, 2, 0x0a, 2 /* Public */, |
| 64 | 5, 0, 41, 2, 0x0a, 3 /* Public */, |
| 65 | |
| 66 | // signals: parameters |
| 67 | QMetaType::Void, |
| 68 | |
| 69 | // slots: parameters |
| 70 | QMetaType::Void, |
| 71 | QMetaType::Void, |
| 72 | QMetaType::Void, |
| 73 | |
| 74 | 0 // eod |
| 75 | }; |
| 76 | |
| 77 | void QCompletionModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 78 | { |
| 79 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 80 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 81 | auto *_t = static_cast<QCompletionModel *>(_o); |
| 82 | Q_UNUSED(_t) |
| 83 | switch (_id) { |
| 84 | case 0: _t->rowsAdded(); break; |
| 85 | case 1: _t->invalidate(); break; |
| 86 | case 2: _t->rowsInserted(); break; |
| 87 | case 3: _t->modelDestroyed(); break; |
| 88 | default: ; |
| 89 | } |
| 90 | } else if (_c == QMetaObject::IndexOfMethod) { |
| 91 | int *result = reinterpret_cast<int *>(_a[0]); |
| 92 | { |
| 93 | using _t = void (QCompletionModel::*)(); |
| 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCompletionModel::rowsAdded)) { |
| 95 | *result = 0; |
| 96 | return; |
| 97 | } |
| 98 | } |
| 99 | } |
| 100 | Q_UNUSED(_a); |
| 101 | } |
| 102 | |
| 103 | const QMetaObject QCompletionModel::staticMetaObject = { { |
| 104 | QMetaObject::SuperData::link<QAbstractProxyModel::staticMetaObject>(), |
| 105 | qt_meta_stringdata_QCompletionModel.offsetsAndSize, |
| 106 | qt_meta_data_QCompletionModel, |
| 107 | qt_static_metacall, |
| 108 | nullptr, |
| 109 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QCompletionModel_t |
| 110 | , QtPrivate::TypeAndForceComplete<void, std::false_type> |
| 111 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
| 112 | |
| 113 | |
| 114 | >, |
| 115 | nullptr |
| 116 | } }; |
| 117 | |
| 118 | |
| 119 | const QMetaObject *QCompletionModel::metaObject() const |
| 120 | { |
| 121 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 122 | } |
| 123 | |
| 124 | void *QCompletionModel::qt_metacast(const char *_clname) |
| 125 | { |
| 126 | if (!_clname) return nullptr; |
| 127 | if (!strcmp(_clname, qt_meta_stringdata_QCompletionModel.stringdata0)) |
| 128 | return static_cast<void*>(this); |
| 129 | return QAbstractProxyModel::qt_metacast(_clname); |
| 130 | } |
| 131 | |
| 132 | int QCompletionModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 133 | { |
| 134 | _id = QAbstractProxyModel::qt_metacall(_c, _id, _a); |
| 135 | if (_id < 0) |
| 136 | return _id; |
| 137 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 138 | if (_id < 4) |
| 139 | qt_static_metacall(this, _c, _id, _a); |
| 140 | _id -= 4; |
| 141 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 142 | if (_id < 4) |
| 143 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
| 144 | _id -= 4; |
| 145 | } |
| 146 | return _id; |
| 147 | } |
| 148 | |
| 149 | // SIGNAL 0 |
| 150 | void QCompletionModel::rowsAdded() |
| 151 | { |
| 152 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
| 153 | } |
| 154 | QT_WARNING_POP |
| 155 | QT_END_MOC_NAMESPACE |
| 156 | |