1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'addressbook.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 "addressbook.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'addressbook.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_AddressBook_t { |
25 | const uint offsetsAndSize[18]; |
26 | char stringdata0[85]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_AddressBook_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_AddressBook_t qt_meta_stringdata_AddressBook = { |
31 | { |
32 | QT_MOC_LITERAL(0, 11), // "AddressBook" |
33 | QT_MOC_LITERAL(12, 10), // "addContact" |
34 | QT_MOC_LITERAL(23, 0), // "" |
35 | QT_MOC_LITERAL(24, 13), // "submitContact" |
36 | QT_MOC_LITERAL(38, 6), // "cancel" |
37 | QT_MOC_LITERAL(45, 11), // "editContact" |
38 | QT_MOC_LITERAL(57, 13), // "removeContact" |
39 | QT_MOC_LITERAL(71, 4), // "next" |
40 | QT_MOC_LITERAL(76, 8) // "previous" |
41 | |
42 | }, |
43 | "AddressBook\0addContact\0\0submitContact\0" |
44 | "cancel\0editContact\0removeContact\0next\0" |
45 | "previous" |
46 | }; |
47 | #undef QT_MOC_LITERAL |
48 | |
49 | static const uint qt_meta_data_AddressBook[] = { |
50 | |
51 | // content: |
52 | 9, // revision |
53 | 0, // classname |
54 | 0, 0, // classinfo |
55 | 7, 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, initial metatype offsets |
63 | 1, 0, 56, 2, 0x0a, 0 /* Public */, |
64 | 3, 0, 57, 2, 0x0a, 1 /* Public */, |
65 | 4, 0, 58, 2, 0x0a, 2 /* Public */, |
66 | 5, 0, 59, 2, 0x0a, 3 /* Public */, |
67 | 6, 0, 60, 2, 0x0a, 4 /* Public */, |
68 | 7, 0, 61, 2, 0x0a, 5 /* Public */, |
69 | 8, 0, 62, 2, 0x0a, 6 /* Public */, |
70 | |
71 | // slots: parameters |
72 | QMetaType::Void, |
73 | QMetaType::Void, |
74 | QMetaType::Void, |
75 | QMetaType::Void, |
76 | QMetaType::Void, |
77 | QMetaType::Void, |
78 | QMetaType::Void, |
79 | |
80 | 0 // eod |
81 | }; |
82 | |
83 | void AddressBook::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
84 | { |
85 | if (_c == QMetaObject::InvokeMetaMethod) { |
86 | Q_ASSERT(staticMetaObject.cast(_o)); |
87 | auto *_t = static_cast<AddressBook *>(_o); |
88 | Q_UNUSED(_t) |
89 | switch (_id) { |
90 | case 0: _t->addContact(); break; |
91 | case 1: _t->submitContact(); break; |
92 | case 2: _t->cancel(); break; |
93 | case 3: _t->editContact(); break; |
94 | case 4: _t->removeContact(); break; |
95 | case 5: _t->next(); break; |
96 | case 6: _t->previous(); break; |
97 | default: ; |
98 | } |
99 | } |
100 | Q_UNUSED(_a); |
101 | } |
102 | |
103 | const QMetaObject AddressBook::staticMetaObject = { { |
104 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
105 | qt_meta_stringdata_AddressBook.offsetsAndSize, |
106 | qt_meta_data_AddressBook, |
107 | qt_static_metacall, |
108 | nullptr, |
109 | qt_incomplete_metaTypeArray<qt_meta_stringdata_AddressBook_t |
110 | |
111 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, 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 *AddressBook::metaObject() const |
120 | { |
121 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
122 | } |
123 | |
124 | void *AddressBook::qt_metacast(const char *_clname) |
125 | { |
126 | if (!_clname) return nullptr; |
127 | if (!strcmp(_clname, qt_meta_stringdata_AddressBook.stringdata0)) |
128 | return static_cast<void*>(this); |
129 | return QWidget::qt_metacast(_clname); |
130 | } |
131 | |
132 | int AddressBook::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
133 | { |
134 | _id = QWidget::qt_metacall(_c, _id, _a); |
135 | if (_id < 0) |
136 | return _id; |
137 | if (_c == QMetaObject::InvokeMetaMethod) { |
138 | if (_id < 7) |
139 | qt_static_metacall(this, _c, _id, _a); |
140 | _id -= 7; |
141 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
142 | if (_id < 7) |
143 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
144 | _id -= 7; |
145 | } |
146 | return _id; |
147 | } |
148 | QT_WARNING_POP |
149 | QT_END_MOC_NAMESPACE |
150 | |