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.7.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#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.7.2. 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 {
34
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSQmlMarkerMenuENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSQmlMarkerMenuENDCLASS = QtMocHelpers::stringData(
38 "QmlMarkerMenu",
39 "targetChanged",
40 "",
41 "indexChanged",
42 "popup",
43 "target",
44 "index"
45);
46#else // !QT_MOC_HAS_STRINGDATA
47#error "qtmochelpers.h not found or too old."
48#endif // !QT_MOC_HAS_STRINGDATA
49} // unnamed namespace
50
51Q_CONSTINIT static const uint qt_meta_data_CLASSQmlMarkerMenuENDCLASS[] = {
52
53 // content:
54 12, // revision
55 0, // classname
56 0, 0, // classinfo
57 3, 14, // methods
58 2, 35, // properties
59 0, 0, // enums/sets
60 0, 0, // constructors
61 0, // flags
62 2, // signalCount
63
64 // signals: name, argc, parameters, tag, flags, initial metatype offsets
65 1, 0, 32, 2, 0x06, 3 /* Public */,
66 3, 0, 33, 2, 0x06, 4 /* Public */,
67
68 // slots: name, argc, parameters, tag, flags, initial metatype offsets
69 4, 0, 34, 2, 0x0a, 5 /* Public */,
70
71 // signals: parameters
72 QMetaType::Void,
73 QMetaType::Void,
74
75 // slots: parameters
76 QMetaType::Void,
77
78 // properties: name, type, flags
79 5, QMetaType::QObjectStar, 0x00015103, uint(0), 0,
80 6, QMetaType::Int, 0x00015103, uint(1), 0,
81
82 0 // eod
83};
84
85Q_CONSTINIT const QMetaObject QmlMarkerMenu::staticMetaObject = { {
86 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
87 qt_meta_stringdata_CLASSQmlMarkerMenuENDCLASS.offsetsAndSizes,
88 qt_meta_data_CLASSQmlMarkerMenuENDCLASS,
89 qt_static_metacall,
90 nullptr,
91 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlMarkerMenuENDCLASS_t,
92 // property 'target'
93 QtPrivate::TypeAndForceComplete<QObject*, std::true_type>,
94 // property 'index'
95 QtPrivate::TypeAndForceComplete<int, std::true_type>,
96 // Q_OBJECT / Q_GADGET
97 QtPrivate::TypeAndForceComplete<QmlMarkerMenu, std::true_type>,
98 // method 'targetChanged'
99 QtPrivate::TypeAndForceComplete<void, std::false_type>,
100 // method 'indexChanged'
101 QtPrivate::TypeAndForceComplete<void, std::false_type>,
102 // method 'popup'
103 QtPrivate::TypeAndForceComplete<void, std::false_type>
104 >,
105 nullptr
106} };
107
108void QmlMarkerMenu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
109{
110 if (_c == QMetaObject::InvokeMetaMethod) {
111 auto *_t = static_cast<QmlMarkerMenu *>(_o);
112 (void)_t;
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 } else if (_c == QMetaObject::IndexOfMethod) {
120 int *result = reinterpret_cast<int *>(_a[0]);
121 {
122 using _t = void (QmlMarkerMenu::*)();
123 if (_t _q_method = &QmlMarkerMenu::targetChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
124 *result = 0;
125 return;
126 }
127 }
128 {
129 using _t = void (QmlMarkerMenu::*)();
130 if (_t _q_method = &QmlMarkerMenu::indexChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
131 *result = 1;
132 return;
133 }
134 }
135 } else if (_c == QMetaObject::ReadProperty) {
136 auto *_t = static_cast<QmlMarkerMenu *>(_o);
137 (void)_t;
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 } else if (_c == QMetaObject::WriteProperty) {
145 auto *_t = static_cast<QmlMarkerMenu *>(_o);
146 (void)_t;
147 void *_v = _a[0];
148 switch (_id) {
149 case 0: _t->setTarget(*reinterpret_cast< QObject**>(_v)); break;
150 case 1: _t->setIndex(*reinterpret_cast< int*>(_v)); break;
151 default: break;
152 }
153 } else if (_c == QMetaObject::ResetProperty) {
154 } else if (_c == QMetaObject::BindableProperty) {
155 }
156 (void)_a;
157}
158
159const QMetaObject *QmlMarkerMenu::metaObject() const
160{
161 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
162}
163
164void *QmlMarkerMenu::qt_metacast(const char *_clname)
165{
166 if (!_clname) return nullptr;
167 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlMarkerMenuENDCLASS.stringdata0))
168 return static_cast<void*>(this);
169 return QObject::qt_metacast(_clname);
170}
171
172int QmlMarkerMenu::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
173{
174 _id = QObject::qt_metacall(_c, _id, _a);
175 if (_id < 0)
176 return _id;
177 if (_c == QMetaObject::InvokeMetaMethod) {
178 if (_id < 3)
179 qt_static_metacall(this, _c, _id, _a);
180 _id -= 3;
181 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
182 if (_id < 3)
183 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
184 _id -= 3;
185 }else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
186 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
187 || _c == QMetaObject::RegisterPropertyMetaType) {
188 qt_static_metacall(this, _c, _id, _a);
189 _id -= 2;
190 }
191 return _id;
192}
193
194// SIGNAL 0
195void QmlMarkerMenu::targetChanged()
196{
197 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
198}
199
200// SIGNAL 1
201void QmlMarkerMenu::indexChanged()
202{
203 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
204}
205QT_WARNING_POP