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