CuteLogger
Fast and simple logging solution for Qt based applications
moc_qmlmarkermenu.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'qmlmarkermenu.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.6.2)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/qmltypes/qmlmarkermenu.h"
10#include <QtCore/qmetatype.h>
11
12#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
14#else
15QT_BEGIN_MOC_NAMESPACE
16#endif
17
18
19#include <memory>
20
21#if !defined(Q_MOC_OUTPUT_REVISION)
22#error "The header file 'qmlmarkermenu.h' doesn't include <QObject>."
23#elif Q_MOC_OUTPUT_REVISION != 68
24#error "This file was generated using the moc from 6.6.2. It"
25#error "cannot be used with the include files from this version of Qt."
26#error "(The moc has changed too much.)"
27#endif
28
29#ifndef Q_CONSTINIT
30#define Q_CONSTINIT
31#endif
32
33QT_WARNING_PUSH
34QT_WARNING_DISABLE_DEPRECATED
35QT_WARNING_DISABLE_GCC("-Wuseless-cast")
36namespace {
37
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSQmlMarkerMenuENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSQmlMarkerMenuENDCLASS = QtMocHelpers::stringData(
41 "QmlMarkerMenu",
42 "targetChanged",
43 "",
44 "indexChanged",
45 "popup",
46 "target",
47 "index"
48);
49#else // !QT_MOC_HAS_STRING_DATA
50struct qt_meta_stringdata_CLASSQmlMarkerMenuENDCLASS_t {
51 uint offsetsAndSizes[14];
52 char stringdata0[14];
53 char stringdata1[14];
54 char stringdata2[1];
55 char stringdata3[13];
56 char stringdata4[6];
57 char stringdata5[7];
58 char stringdata6[6];
59};
60#define QT_MOC_LITERAL(ofs, len) \
61 uint(sizeof(qt_meta_stringdata_CLASSQmlMarkerMenuENDCLASS_t::offsetsAndSizes) + ofs), len
62Q_CONSTINIT static const qt_meta_stringdata_CLASSQmlMarkerMenuENDCLASS_t qt_meta_stringdata_CLASSQmlMarkerMenuENDCLASS = {
63 {
64 QT_MOC_LITERAL(0, 13), // "QmlMarkerMenu"
65 QT_MOC_LITERAL(14, 13), // "targetChanged"
66 QT_MOC_LITERAL(28, 0), // ""
67 QT_MOC_LITERAL(29, 12), // "indexChanged"
68 QT_MOC_LITERAL(42, 5), // "popup"
69 QT_MOC_LITERAL(48, 6), // "target"
70 QT_MOC_LITERAL(55, 5) // "index"
71 },
72 "QmlMarkerMenu",
73 "targetChanged",
74 "",
75 "indexChanged",
76 "popup",
77 "target",
78 "index"
79};
80#undef QT_MOC_LITERAL
81#endif // !QT_MOC_HAS_STRING_DATA
82} // unnamed namespace
83
84Q_CONSTINIT static const uint qt_meta_data_CLASSQmlMarkerMenuENDCLASS[] = {
85
86 // content:
87 12, // revision
88 0, // classname
89 0, 0, // classinfo
90 3, 14, // methods
91 2, 35, // properties
92 0, 0, // enums/sets
93 0, 0, // constructors
94 0, // flags
95 2, // signalCount
96
97 // signals: name, argc, parameters, tag, flags, initial metatype offsets
98 1, 0, 32, 2, 0x06, 3 /* Public */,
99 3, 0, 33, 2, 0x06, 4 /* Public */,
100
101 // slots: name, argc, parameters, tag, flags, initial metatype offsets
102 4, 0, 34, 2, 0x0a, 5 /* Public */,
103
104 // signals: parameters
105 QMetaType::Void,
106 QMetaType::Void,
107
108 // slots: parameters
109 QMetaType::Void,
110
111 // properties: name, type, flags
112 5, QMetaType::QObjectStar, 0x00015103, uint(0), 0,
113 6, QMetaType::Int, 0x00015103, uint(1), 0,
114
115 0 // eod
116};
117
118Q_CONSTINIT const QMetaObject QmlMarkerMenu::staticMetaObject = { {
119 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
120 qt_meta_stringdata_CLASSQmlMarkerMenuENDCLASS.offsetsAndSizes,
121 qt_meta_data_CLASSQmlMarkerMenuENDCLASS,
122 qt_static_metacall,
123 nullptr,
124 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlMarkerMenuENDCLASS_t,
125 // property 'target'
126 QtPrivate::TypeAndForceComplete<QObject*, std::true_type>,
127 // property 'index'
128 QtPrivate::TypeAndForceComplete<int, std::true_type>,
129 // Q_OBJECT / Q_GADGET
130 QtPrivate::TypeAndForceComplete<QmlMarkerMenu, std::true_type>,
131 // method 'targetChanged'
132 QtPrivate::TypeAndForceComplete<void, std::false_type>,
133 // method 'indexChanged'
134 QtPrivate::TypeAndForceComplete<void, std::false_type>,
135 // method 'popup'
136 QtPrivate::TypeAndForceComplete<void, std::false_type>
137 >,
138 nullptr
139} };
140
141void QmlMarkerMenu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
142{
143 if (_c == QMetaObject::InvokeMetaMethod) {
144 auto *_t = static_cast<QmlMarkerMenu *>(_o);
145 (void)_t;
146 switch (_id) {
147 case 0: _t->targetChanged(); break;
148 case 1: _t->indexChanged(); break;
149 case 2: _t->popup(); break;
150 default: ;
151 }
152 } else if (_c == QMetaObject::IndexOfMethod) {
153 int *result = reinterpret_cast<int *>(_a[0]);
154 {
155 using _t = void (QmlMarkerMenu::*)();
156 if (_t _q_method = &QmlMarkerMenu::targetChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
157 *result = 0;
158 return;
159 }
160 }
161 {
162 using _t = void (QmlMarkerMenu::*)();
163 if (_t _q_method = &QmlMarkerMenu::indexChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
164 *result = 1;
165 return;
166 }
167 }
168 } else if (_c == QMetaObject::ReadProperty) {
169 auto *_t = static_cast<QmlMarkerMenu *>(_o);
170 (void)_t;
171 void *_v = _a[0];
172 switch (_id) {
173 case 0: *reinterpret_cast< QObject**>(_v) = _t->target(); break;
174 case 1: *reinterpret_cast< int*>(_v) = _t->index(); break;
175 default: break;
176 }
177 } else if (_c == QMetaObject::WriteProperty) {
178 auto *_t = static_cast<QmlMarkerMenu *>(_o);
179 (void)_t;
180 void *_v = _a[0];
181 switch (_id) {
182 case 0: _t->setTarget(*reinterpret_cast< QObject**>(_v)); break;
183 case 1: _t->setIndex(*reinterpret_cast< int*>(_v)); break;
184 default: break;
185 }
186 } else if (_c == QMetaObject::ResetProperty) {
187 } else if (_c == QMetaObject::BindableProperty) {
188 }
189 (void)_a;
190}
191
192const QMetaObject *QmlMarkerMenu::metaObject() const
193{
194 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
195}
196
197void *QmlMarkerMenu::qt_metacast(const char *_clname)
198{
199 if (!_clname) return nullptr;
200 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlMarkerMenuENDCLASS.stringdata0))
201 return static_cast<void*>(this);
202 return QObject::qt_metacast(_clname);
203}
204
205int QmlMarkerMenu::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
206{
207 _id = QObject::qt_metacall(_c, _id, _a);
208 if (_id < 0)
209 return _id;
210 if (_c == QMetaObject::InvokeMetaMethod) {
211 if (_id < 3)
212 qt_static_metacall(this, _c, _id, _a);
213 _id -= 3;
214 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
215 if (_id < 3)
216 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
217 _id -= 3;
218 }else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
219 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
220 || _c == QMetaObject::RegisterPropertyMetaType) {
221 qt_static_metacall(this, _c, _id, _a);
222 _id -= 2;
223 }
224 return _id;
225}
226
227// SIGNAL 0
228void QmlMarkerMenu::targetChanged()
229{
230 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
231}
232
233// SIGNAL 1
234void QmlMarkerMenu::indexChanged()
235{
236 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
237}
238QT_WARNING_POP