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