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