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