Line data Source code
1 : /****************************************************************************
2 : ** Meta object code from reading C++ file 'addresstablemodel.h'
3 : **
4 : **
5 : ** WARNING! All changes made in this file will be lost!
6 : *****************************************************************************/
7 :
8 : #include <memory>
9 : #include "qt/addresstablemodel.h"
10 : #include <QtCore/qbytearray.h>
11 : #include <QtCore/qmetatype.h>
12 : #if !defined(Q_MOC_OUTPUT_REVISION)
13 : #error "The header file 'addresstablemodel.h' doesn't include <QObject>."
14 : #elif Q_MOC_OUTPUT_REVISION != 67
15 : #error "This file was generated using the moc from 5.15.0. It"
16 : #error "cannot be used with the include files from this version of Qt."
17 : #error "(The moc has changed too much.)"
18 : #endif
19 :
20 : QT_BEGIN_MOC_NAMESPACE
21 : QT_WARNING_PUSH
22 : QT_WARNING_DISABLE_DEPRECATED
23 : struct qt_meta_stringdata_AddressTableModel_t {
24 : QByteArrayData data[8];
25 : char stringdata0[67];
26 : };
27 : #define QT_MOC_LITERAL(idx, ofs, len) \
28 : Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29 : qptrdiff(offsetof(qt_meta_stringdata_AddressTableModel_t, stringdata0) + ofs \
30 : - idx * sizeof(QByteArrayData)) \
31 : )
32 : static const qt_meta_stringdata_AddressTableModel_t qt_meta_stringdata_AddressTableModel = {
33 : {
34 : QT_MOC_LITERAL(0, 0, 17), // "AddressTableModel"
35 : QT_MOC_LITERAL(1, 18, 11), // "updateEntry"
36 : QT_MOC_LITERAL(2, 30, 0), // ""
37 : QT_MOC_LITERAL(3, 31, 7), // "address"
38 : QT_MOC_LITERAL(4, 39, 5), // "label"
39 : QT_MOC_LITERAL(5, 45, 6), // "isMine"
40 : QT_MOC_LITERAL(6, 52, 7), // "purpose"
41 : QT_MOC_LITERAL(7, 60, 6) // "status"
42 :
43 : },
44 : "AddressTableModel\0updateEntry\0\0address\0"
45 : "label\0isMine\0purpose\0status"
46 : };
47 : #undef QT_MOC_LITERAL
48 :
49 : static const uint qt_meta_data_AddressTableModel[] = {
50 :
51 : // content:
52 : 8, // revision
53 : 0, // classname
54 : 0, 0, // classinfo
55 : 1, 14, // methods
56 : 0, 0, // properties
57 : 0, 0, // enums/sets
58 : 0, 0, // constructors
59 : 0, // flags
60 : 0, // signalCount
61 :
62 : // slots: name, argc, parameters, tag, flags
63 : 1, 5, 19, 2, 0x0a /* Public */,
64 :
65 : // slots: parameters
66 : QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Bool, QMetaType::QString, QMetaType::Int, 3, 4, 5, 6, 7,
67 :
68 : 0 // eod
69 : };
70 :
71 0 : void AddressTableModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
72 : {
73 0 : if (_c == QMetaObject::InvokeMetaMethod) {
74 0 : auto *_t = static_cast<AddressTableModel *>(_o);
75 : Q_UNUSED(_t)
76 0 : switch (_id) {
77 0 : case 0: _t->updateEntry((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
78 : default: ;
79 : }
80 0 : }
81 0 : }
82 :
83 : QT_INIT_METAOBJECT const QMetaObject AddressTableModel::staticMetaObject = { {
84 : QMetaObject::SuperData::link<QAbstractTableModel::staticMetaObject>(),
85 : qt_meta_stringdata_AddressTableModel.data,
86 : qt_meta_data_AddressTableModel,
87 : qt_static_metacall,
88 : nullptr,
89 : nullptr
90 : } };
91 :
92 :
93 0 : const QMetaObject *AddressTableModel::metaObject() const
94 : {
95 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
96 : }
97 :
98 0 : void *AddressTableModel::qt_metacast(const char *_clname)
99 : {
100 0 : if (!_clname) return nullptr;
101 0 : if (!strcmp(_clname, qt_meta_stringdata_AddressTableModel.stringdata0))
102 0 : return static_cast<void*>(this);
103 0 : return QAbstractTableModel::qt_metacast(_clname);
104 0 : }
105 :
106 0 : int AddressTableModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
107 : {
108 0 : _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
109 0 : if (_id < 0)
110 0 : return _id;
111 0 : if (_c == QMetaObject::InvokeMetaMethod) {
112 0 : if (_id < 1)
113 0 : qt_static_metacall(this, _c, _id, _a);
114 0 : _id -= 1;
115 0 : } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
116 0 : if (_id < 1)
117 0 : *reinterpret_cast<int*>(_a[0]) = -1;
118 0 : _id -= 1;
119 0 : }
120 0 : return _id;
121 0 : }
122 : QT_WARNING_POP
123 : QT_END_MOC_NAMESPACE
|