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