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