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