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