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