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.8.3)
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#include <QtCore/qtmochelpers.h>
13
14#include <memory>
15
16
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'qmlmarkermenu.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.8.3. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
24#endif
25
26#ifndef Q_CONSTINIT
27#define Q_CONSTINIT
28#endif
29
30QT_WARNING_PUSH
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
34struct qt_meta_tag_ZN13QmlMarkerMenuE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN13QmlMarkerMenuE = QtMocHelpers::stringData(
40 "QmlMarkerMenu",
41 "targetChanged",
42 "",
43 "indexChanged",
44 "popup",
45 "target",
46 "index"
47);
48#else // !QT_MOC_HAS_STRINGDATA
49#error "qtmochelpers.h not found or too old."
50#endif // !QT_MOC_HAS_STRINGDATA
51
52Q_CONSTINIT static const uint qt_meta_data_ZN13QmlMarkerMenuE[] = {
53
54 // content:
55 12, // revision
56 0, // classname
57 0, 0, // classinfo
58 3, 14, // methods
59 2, 35, // properties
60 0, 0, // enums/sets
61 0, 0, // constructors
62 0, // flags
63 2, // signalCount
64
65 // signals: name, argc, parameters, tag, flags, initial metatype offsets
66 1, 0, 32, 2, 0x06, 3 /* Public */,
67 3, 0, 33, 2, 0x06, 4 /* Public */,
68
69 // slots: name, argc, parameters, tag, flags, initial metatype offsets
70 4, 0, 34, 2, 0x0a, 5 /* Public */,
71
72 // signals: parameters
73 QMetaType::Void,
74 QMetaType::Void,
75
76 // slots: parameters
77 QMetaType::Void,
78
79 // properties: name, type, flags, notifyId, revision
80 5, QMetaType::QObjectStar, 0x00015103, uint(0), 0,
81 6, QMetaType::Int, 0x00015103, uint(1), 0,
82
83 0 // eod
84};
85
86Q_CONSTINIT const QMetaObject QmlMarkerMenu::staticMetaObject = { {
87 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
88 qt_meta_stringdata_ZN13QmlMarkerMenuE.offsetsAndSizes,
89 qt_meta_data_ZN13QmlMarkerMenuE,
90 qt_static_metacall,
91 nullptr,
92 qt_incomplete_metaTypeArray<qt_meta_tag_ZN13QmlMarkerMenuE_t,
93 // property 'target'
94 QtPrivate::TypeAndForceComplete<QObject*, std::true_type>,
95 // property 'index'
96 QtPrivate::TypeAndForceComplete<int, std::true_type>,
97 // Q_OBJECT / Q_GADGET
98 QtPrivate::TypeAndForceComplete<QmlMarkerMenu, std::true_type>,
99 // method 'targetChanged'
100 QtPrivate::TypeAndForceComplete<void, std::false_type>,
101 // method 'indexChanged'
102 QtPrivate::TypeAndForceComplete<void, std::false_type>,
103 // method 'popup'
104 QtPrivate::TypeAndForceComplete<void, std::false_type>
105 >,
106 nullptr
107} };
108
109void QmlMarkerMenu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
110{
111 auto *_t = static_cast<QmlMarkerMenu *>(_o);
112 if (_c == QMetaObject::InvokeMetaMethod) {
113 switch (_id) {
114 case 0: _t->targetChanged(); break;
115 case 1: _t->indexChanged(); break;
116 case 2: _t->popup(); break;
117 default: ;
118 }
119 }
120 if (_c == QMetaObject::IndexOfMethod) {
121 int *result = reinterpret_cast<int *>(_a[0]);
122 {
123 using _q_method_type = void (QmlMarkerMenu::*)();
124 if (_q_method_type _q_method = &QmlMarkerMenu::targetChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
125 *result = 0;
126 return;
127 }
128 }
129 {
130 using _q_method_type = void (QmlMarkerMenu::*)();
131 if (_q_method_type _q_method = &QmlMarkerMenu::indexChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
132 *result = 1;
133 return;
134 }
135 }
136 }
137 if (_c == QMetaObject::ReadProperty) {
138 void *_v = _a[0];
139 switch (_id) {
140 case 0: *reinterpret_cast< QObject**>(_v) = _t->target(); break;
141 case 1: *reinterpret_cast< int*>(_v) = _t->index(); break;
142 default: break;
143 }
144 }
145 if (_c == QMetaObject::WriteProperty) {
146 void *_v = _a[0];
147 switch (_id) {
148 case 0: _t->setTarget(*reinterpret_cast< QObject**>(_v)); break;
149 case 1: _t->setIndex(*reinterpret_cast< int*>(_v)); break;
150 default: break;
151 }
152 }
153}
154
155const QMetaObject *QmlMarkerMenu::metaObject() const
156{
157 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
158}
159
160void *QmlMarkerMenu::qt_metacast(const char *_clname)
161{
162 if (!_clname) return nullptr;
163 if (!strcmp(_clname, qt_meta_stringdata_ZN13QmlMarkerMenuE.stringdata0))
164 return static_cast<void*>(this);
165 return QObject::qt_metacast(_clname);
166}
167
168int QmlMarkerMenu::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
169{
170 _id = QObject::qt_metacall(_c, _id, _a);
171 if (_id < 0)
172 return _id;
173 if (_c == QMetaObject::InvokeMetaMethod) {
174 if (_id < 3)
175 qt_static_metacall(this, _c, _id, _a);
176 _id -= 3;
177 }
178 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
179 if (_id < 3)
180 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
181 _id -= 3;
182 }
183 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
184 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
185 || _c == QMetaObject::RegisterPropertyMetaType) {
186 qt_static_metacall(this, _c, _id, _a);
187 _id -= 2;
188 }
189 return _id;
190}
191
192// SIGNAL 0
193void QmlMarkerMenu::targetChanged()
194{
195 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
196}
197
198// SIGNAL 1
199void QmlMarkerMenu::indexChanged()
200{
201 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
202}
203QT_WARNING_POP