OpenCoverage

moc_qquickpointhandler_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickpointhandler_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickpointhandler_p.h'-
3**-
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.0)-
5**-
6** WARNING! All changes made in this file will be lost!-
7*****************************************************************************/-
8-
9#include "../handlers/qquickpointhandler_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickpointhandler_p.h' doesn't include <QObject>."-
14#elif Q_MOC_OUTPUT_REVISION != 67-
15#error "This file was generated using the moc from 5.12.0. It"-
16#error "cannot be used with the include files from this version of Qt."-
17#error "(The moc has changed too much.)"-
18#endif-
19-
20QT_BEGIN_MOC_NAMESPACE-
21QT_WARNING_PUSH-
22QT_WARNING_DISABLE_DEPRECATED-
23struct qt_meta_stringdata_QQuickPointHandler_t {-
24 QByteArrayData data[4];-
25 char stringdata0[51];-
26};-
27#define QT_MOC_LITERAL(idx, ofs, len) \-
28 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
29 qptrdiff(offsetof(qt_meta_stringdata_QQuickPointHandler_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickPointHandler_t qt_meta_stringdata_QQuickPointHandler = {-
33 {-
34QT_MOC_LITERAL(0, 0, 18), // "QQuickPointHandler"-
35QT_MOC_LITERAL(1, 19, 18), // "translationChanged"-
36QT_MOC_LITERAL(2, 38, 0), // ""-
37QT_MOC_LITERAL(3, 39, 11) // "translation"-
38-
39 },-
40 "QQuickPointHandler\0translationChanged\0"-
41 "\0translation"-
42};-
43#undef QT_MOC_LITERAL-
44-
45static const uint qt_meta_data_QQuickPointHandler[] = {-
46-
47 // content:-
48 7, // revision-
49 0, // classname-
50 0, 0, // classinfo-
51 1, 14, // methods-
52 1, 20, // properties-
53 0, 0, // enums/sets-
54 0, 0, // constructors-
55 0, // flags-
56 1, // signalCount-
57-
58 // signals: name, argc, parameters, tag, flags-
59 1, 0, 19, 2, 0x06 /* Public */,-
60-
61 // signals: parameters-
62 QMetaType::Void,-
63-
64 // properties: name, type, flags-
65 3, QMetaType::QVector2D, 0x00495001,-
66-
67 // properties: notify_signal_id-
68 0,-
69-
70 0 // eod-
71};-
72-
73void QQuickPointHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
74{-
75 if (_c == QMetaObject::InvokeMetaMethod) {-
76 QQuickPointHandler *_t = static_cast<QQuickPointHandler *>(_o);-
77 Q_UNUSED(_t)-
78 switch (_id) {-
79 case 0: _t->translationChanged(); break;-
80 default: ;-
81 }-
82 } else if (_c == QMetaObject::IndexOfMethod) {-
83 int *result = reinterpret_cast<int *>(_a[0]);-
84 {-
85 using _t = void (QQuickPointHandler::*)();-
86 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPointHandler::translationChanged)) {-
87 *result = 0;-
88 return;-
89 }-
90 }-
91 }-
92#ifndef QT_NO_PROPERTIES-
93 else if (_c == QMetaObject::ReadProperty) {-
94 QQuickPointHandler *_t = static_cast<QQuickPointHandler *>(_o);-
95 Q_UNUSED(_t)-
96 void *_v = _a[0];-
97 switch (_id) {-
98 case 0: *reinterpret_cast< QVector2D*>(_v) = _t->translation(); break;-
99 default: break;-
100 }-
101 } else if (_c == QMetaObject::WriteProperty) {-
102 } else if (_c == QMetaObject::ResetProperty) {-
103 }-
104#endif // QT_NO_PROPERTIES-
105 Q_UNUSED(_a);-
106}-
107-
108QT_INIT_METAOBJECT const QMetaObject QQuickPointHandler::staticMetaObject = {-
109 { &QQuickSinglePointHandler::staticMetaObject, qt_meta_stringdata_QQuickPointHandler.data,-
110 qt_meta_data_QQuickPointHandler, qt_static_metacall, nullptr, nullptr}-
111};-
112-
113-
114const QMetaObject *QQuickPointHandler::metaObject() const-
115{-
116 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
117}-
118-
119void *QQuickPointHandler::qt_metacast(const char *_clname)-
120{-
121 if (!_clname) return nullptr;-
122 if (!strcmp(_clname, qt_meta_stringdata_QQuickPointHandler.stringdata0))-
123 return static_cast<void*>(this);-
124 return QQuickSinglePointHandler::qt_metacast(_clname);-
125}-
126-
127int QQuickPointHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
128{-
129 _id = QQuickSinglePointHandler::qt_metacall(_c, _id, _a);-
130 if (_id < 0)-
131 return _id;-
132 if (_c == QMetaObject::InvokeMetaMethod) {-
133 if (_id < 1)-
134 qt_static_metacall(this, _c, _id, _a);-
135 _id -= 1;-
136 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
137 if (_id < 1)-
138 *reinterpret_cast<int*>(_a[0]) = -1;-
139 _id -= 1;-
140 }-
141#ifndef QT_NO_PROPERTIES-
142 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
143 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
144 qt_static_metacall(this, _c, _id, _a);-
145 _id -= 1;-
146 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
147 _id -= 1;-
148 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
149 _id -= 1;-
150 } else if (_c == QMetaObject::QueryPropertyStored) {-
151 _id -= 1;-
152 } else if (_c == QMetaObject::QueryPropertyEditable) {-
153 _id -= 1;-
154 } else if (_c == QMetaObject::QueryPropertyUser) {-
155 _id -= 1;-
156 }-
157#endif // QT_NO_PROPERTIES-
158 return _id;-
159}-
160-
161// SIGNAL 0-
162void QQuickPointHandler::translationChanged()-
163{-
164 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
165}
never executed: end of block
0
166QT_WARNING_POP-
167QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0