Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicksinglepointhandler_p.cpp |
Source code | Switch to Preprocessed file |
Line | Source | Count |
---|---|---|
1 | /**************************************************************************** | - |
2 | ** Meta object code from reading C++ file 'qquicksinglepointhandler_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/qquicksinglepointhandler_p.h" | - |
10 | #include <QtCore/qbytearray.h> | - |
11 | #include <QtCore/qmetatype.h> | - |
12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
13 | #error "The header file 'qquicksinglepointhandler_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 | - | |
20 | QT_BEGIN_MOC_NAMESPACE | - |
21 | QT_WARNING_PUSH | - |
22 | QT_WARNING_DISABLE_DEPRECATED | - |
23 | struct qt_meta_stringdata_QQuickSinglePointHandler_t { | - |
24 | QByteArrayData data[6]; | - |
25 | char stringdata0[87]; | - |
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_QQuickSinglePointHandler_t, stringdata0) + ofs \ | - |
30 | - idx * sizeof(QByteArrayData)) \ | - |
31 | ) | - |
32 | static const qt_meta_stringdata_QQuickSinglePointHandler_t qt_meta_stringdata_QQuickSinglePointHandler = { | - |
33 | { | - |
34 | QT_MOC_LITERAL(0, 0, 24), // "QQuickSinglePointHandler" | - |
35 | QT_MOC_LITERAL(1, 25, 12), // "pointChanged" | - |
36 | QT_MOC_LITERAL(2, 38, 0), // "" | - |
37 | QT_MOC_LITERAL(3, 39, 22), // "singlePointGrabChanged" | - |
38 | QT_MOC_LITERAL(4, 62, 5), // "point" | - |
39 | QT_MOC_LITERAL(5, 68, 18) // "QQuickHandlerPoint" | - |
40 | - | |
41 | }, | - |
42 | "QQuickSinglePointHandler\0pointChanged\0" | - |
43 | "\0singlePointGrabChanged\0point\0" | - |
44 | "QQuickHandlerPoint" | - |
45 | }; | - |
46 | #undef QT_MOC_LITERAL | - |
47 | - | |
48 | static const uint qt_meta_data_QQuickSinglePointHandler[] = { | - |
49 | - | |
50 | // content: | - |
51 | 7, // revision | - |
52 | 0, // classname | - |
53 | 0, 0, // classinfo | - |
54 | 2, 14, // methods | - |
55 | 1, 26, // properties | - |
56 | 0, 0, // enums/sets | - |
57 | 0, 0, // constructors | - |
58 | 0, // flags | - |
59 | 2, // signalCount | - |
60 | - | |
61 | // signals: name, argc, parameters, tag, flags | - |
62 | 1, 0, 24, 2, 0x06 /* Public */, | - |
63 | 3, 0, 25, 2, 0x06 /* Public */, | - |
64 | - | |
65 | // signals: parameters | - |
66 | QMetaType::Void, | - |
67 | QMetaType::Void, | - |
68 | - | |
69 | // properties: name, type, flags | - |
70 | 4, 0x80000000 | 5, 0x00495009, | - |
71 | - | |
72 | // properties: notify_signal_id | - |
73 | 0, | - |
74 | - | |
75 | 0 // eod | - |
76 | }; | - |
77 | - | |
78 | void QQuickSinglePointHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
79 | { | - |
80 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
81 | QQuickSinglePointHandler *_t = static_cast<QQuickSinglePointHandler *>(_o); | - |
82 | Q_UNUSED(_t) | - |
83 | switch (_id) { | - |
84 | case 0: _t->pointChanged(); break; | - |
85 | case 1: _t->singlePointGrabChanged(); break; | - |
86 | default: ; | - |
87 | } | - |
88 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
89 | int *result = reinterpret_cast<int *>(_a[0]); | - |
90 | { | - |
91 | using _t = void (QQuickSinglePointHandler::*)(); | - |
92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickSinglePointHandler::pointChanged)) { | - |
93 | *result = 0; | - |
94 | return; | - |
95 | } | - |
96 | } | - |
97 | { | - |
98 | using _t = void (QQuickSinglePointHandler::*)(); | - |
99 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickSinglePointHandler::singlePointGrabChanged)) { | - |
100 | *result = 1; | - |
101 | return; | - |
102 | } | - |
103 | } | - |
104 | } | - |
105 | #ifndef QT_NO_PROPERTIES | - |
106 | else if (_c == QMetaObject::ReadProperty) { | - |
107 | QQuickSinglePointHandler *_t = static_cast<QQuickSinglePointHandler *>(_o); | - |
108 | Q_UNUSED(_t) | - |
109 | void *_v = _a[0]; | - |
110 | switch (_id) { | - |
111 | case 0: *reinterpret_cast< QQuickHandlerPoint*>(_v) = _t->point(); break; | - |
112 | default: break; | - |
113 | } | - |
114 | } else if (_c == QMetaObject::WriteProperty) { | - |
115 | } else if (_c == QMetaObject::ResetProperty) { | - |
116 | } | - |
117 | #endif // QT_NO_PROPERTIES | - |
118 | Q_UNUSED(_a); | - |
119 | } | - |
120 | - | |
121 | QT_INIT_METAOBJECT const QMetaObject QQuickSinglePointHandler::staticMetaObject = { | - |
122 | { &QQuickPointerDeviceHandler::staticMetaObject, qt_meta_stringdata_QQuickSinglePointHandler.data, | - |
123 | qt_meta_data_QQuickSinglePointHandler, qt_static_metacall, nullptr, nullptr} | - |
124 | }; | - |
125 | - | |
126 | - | |
127 | const QMetaObject *QQuickSinglePointHandler::metaObject() const | - |
128 | { | - |
129 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
130 | } | - |
131 | - | |
132 | void *QQuickSinglePointHandler::qt_metacast(const char *_clname) | - |
133 | { | - |
134 | if (!_clname) return nullptr; | - |
135 | if (!strcmp(_clname, qt_meta_stringdata_QQuickSinglePointHandler.stringdata0)) | - |
136 | return static_cast<void*>(this); | - |
137 | return QQuickPointerDeviceHandler::qt_metacast(_clname); | - |
138 | } | - |
139 | - | |
140 | int QQuickSinglePointHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
141 | { | - |
142 | _id = QQuickPointerDeviceHandler::qt_metacall(_c, _id, _a); | - |
143 | if (_id < 0) | - |
144 | return _id; | - |
145 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
146 | if (_id < 2) | - |
147 | qt_static_metacall(this, _c, _id, _a); | - |
148 | _id -= 2; | - |
149 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
150 | if (_id < 2) | - |
151 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
152 | _id -= 2; | - |
153 | } | - |
154 | #ifndef QT_NO_PROPERTIES | - |
155 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
156 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
157 | qt_static_metacall(this, _c, _id, _a); | - |
158 | _id -= 1; | - |
159 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
160 | _id -= 1; | - |
161 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
162 | _id -= 1; | - |
163 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
164 | _id -= 1; | - |
165 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
166 | _id -= 1; | - |
167 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
168 | _id -= 1; | - |
169 | } | - |
170 | #endif // QT_NO_PROPERTIES | - |
171 | return _id; | - |
172 | } | - |
173 | - | |
174 | // SIGNAL 0 | - |
175 | void QQuickSinglePointHandler::pointChanged() | - |
176 | { | - |
177 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
178 | } executed 1712 times by 4 tests: end of block Executed by:
| 1712 |
179 | - | |
180 | // SIGNAL 1 | - |
181 | void QQuickSinglePointHandler::singlePointGrabChanged() | - |
182 | { | - |
183 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
184 | } executed 448 times by 4 tests: end of block Executed by:
| 448 |
185 | QT_WARNING_POP | - |
186 | QT_END_MOC_NAMESPACE | - |
Source code | Switch to Preprocessed file |