CuteLogger
Fast and simple logging solution for Qt based applications
moc_qmlview.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'qmlview.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/qmlview.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 'qmlview.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_CLASSQmlViewENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSQmlViewENDCLASS = QtMocHelpers::stringData(
41 "QmlView",
42 "pos",
43 ""
44);
45#else // !QT_MOC_HAS_STRING_DATA
46struct qt_meta_stringdata_CLASSQmlViewENDCLASS_t {
47 uint offsetsAndSizes[6];
48 char stringdata0[8];
49 char stringdata1[4];
50 char stringdata2[1];
51};
52#define QT_MOC_LITERAL(ofs, len) \
53 uint(sizeof(qt_meta_stringdata_CLASSQmlViewENDCLASS_t::offsetsAndSizes) + ofs), len
54Q_CONSTINIT static const qt_meta_stringdata_CLASSQmlViewENDCLASS_t qt_meta_stringdata_CLASSQmlViewENDCLASS = {
55 {
56 QT_MOC_LITERAL(0, 7), // "QmlView"
57 QT_MOC_LITERAL(8, 3), // "pos"
58 QT_MOC_LITERAL(12, 0) // ""
59 },
60 "QmlView",
61 "pos",
62 ""
63};
64#undef QT_MOC_LITERAL
65#endif // !QT_MOC_HAS_STRING_DATA
66} // unnamed namespace
67
68Q_CONSTINIT static const uint qt_meta_data_CLASSQmlViewENDCLASS[] = {
69
70 // content:
71 12, // revision
72 0, // classname
73 0, 0, // classinfo
74 1, 14, // methods
75 0, 0, // properties
76 0, 0, // enums/sets
77 0, 0, // constructors
78 0, // flags
79 0, // signalCount
80
81 // methods: name, argc, parameters, tag, flags, initial metatype offsets
82 1, 0, 20, 2, 0x02, 1 /* Public */,
83
84 // methods: parameters
85 QMetaType::QPoint,
86
87 0 // eod
88};
89
90Q_CONSTINIT const QMetaObject QmlView::staticMetaObject = { {
91 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
92 qt_meta_stringdata_CLASSQmlViewENDCLASS.offsetsAndSizes,
93 qt_meta_data_CLASSQmlViewENDCLASS,
94 qt_static_metacall,
95 nullptr,
96 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlViewENDCLASS_t,
97 // Q_OBJECT / Q_GADGET
98 QtPrivate::TypeAndForceComplete<QmlView, std::true_type>,
99 // method 'pos'
100 QtPrivate::TypeAndForceComplete<QPoint, std::false_type>
101 >,
102 nullptr
103} };
104
105void QmlView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
106{
107 if (_c == QMetaObject::InvokeMetaMethod) {
108 auto *_t = static_cast<QmlView *>(_o);
109 (void)_t;
110 switch (_id) {
111 case 0: { QPoint _r = _t->pos();
112 if (_a[0]) *reinterpret_cast< QPoint*>(_a[0]) = std::move(_r); } break;
113 default: ;
114 }
115 }
116}
117
118const QMetaObject *QmlView::metaObject() const
119{
120 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
121}
122
123void *QmlView::qt_metacast(const char *_clname)
124{
125 if (!_clname) return nullptr;
126 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlViewENDCLASS.stringdata0))
127 return static_cast<void*>(this);
128 return QObject::qt_metacast(_clname);
129}
130
131int QmlView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
132{
133 _id = QObject::qt_metacall(_c, _id, _a);
134 if (_id < 0)
135 return _id;
136 if (_c == QMetaObject::InvokeMetaMethod) {
137 if (_id < 1)
138 qt_static_metacall(this, _c, _id, _a);
139 _id -= 1;
140 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
141 if (_id < 1)
142 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
143 _id -= 1;
144 }
145 return _id;
146}
147QT_WARNING_POP