PLplot: moc_qt.cpp Source File

PLplot 5.15.0

moc_qt.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'qt.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.3)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8
9 #include "../../../../../plplot_source/include/qt.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'qt.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.11.3. 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_MasterHandler_t {
24 QByteArrayData data[4];
25 char stringdata0[46];
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_MasterHandler_t, stringdata0) + ofs \
30 - idx * sizeof(QByteArrayData)) \
31 )
32 static const qt_meta_stringdata_MasterHandler_t qt_meta_stringdata_MasterHandler = {
33 {
34 QT_MOC_LITERAL(0, 0, 13), // "MasterHandler"
35 QT_MOC_LITERAL(1, 14, 17), // "MasterChangedPage"
36 QT_MOC_LITERAL(2, 32, 0), // ""
37 QT_MOC_LITERAL(3, 33, 12) // "MasterClosed"
38
39 },
40 "MasterHandler\0MasterChangedPage\0\0"
41 "MasterClosed"
42 };
43 #undef QT_MOC_LITERAL
44
45 static const uint qt_meta_data_MasterHandler[] = {
46
47 // content:
48 7, // revision
49 0, // classname
50 0, 0, // classinfo
51 2, 14, // methods
52 0, 0, // properties
53 0, 0, // enums/sets
54 0, 0, // constructors
55 0, // flags
56 2, // signalCount
57
58 // signals: name, argc, parameters, tag, flags
59 1, 0, 24, 2, 0x06 /* Public */,
60 3, 0, 25, 2, 0x06 /* Public */,
61
62 // signals: parameters
63 QMetaType::Void,
64 QMetaType::Void,
65
66 0 // eod
67 };
68
69 void MasterHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
70 {
71 if (_c == QMetaObject::InvokeMetaMethod) {
72 MasterHandler *_t = static_cast<MasterHandler *>(_o);
73 Q_UNUSED(_t)
74 switch (_id) {
75 case 0: _t->MasterChangedPage(); break;
76 case 1: _t->MasterClosed(); break;
77 default: ;
78 }
79 } else if (_c == QMetaObject::IndexOfMethod) {
80 int *result = reinterpret_cast<int *>(_a[0]);
81 {
82 using _t = void (MasterHandler::*)();
83 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MasterHandler::MasterChangedPage)) {
84 *result = 0;
85 return;
86 }
87 }
88 {
89 using _t = void (MasterHandler::*)();
90 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MasterHandler::MasterClosed)) {
91 *result = 1;
92 return;
93 }
94 }
95 }
96 Q_UNUSED(_a);
97 }
98
99 QT_INIT_METAOBJECT const QMetaObject MasterHandler::staticMetaObject = {
100 { &QObject::staticMetaObject, qt_meta_stringdata_MasterHandler.data,
101 qt_meta_data_MasterHandler, qt_static_metacall, nullptr, nullptr}
102 };
103
104
105 const QMetaObject *MasterHandler::metaObject() const
106 {
107 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
108 }
109
110 void *MasterHandler::qt_metacast(const char *_clname)
111 {
112 if (!_clname) return nullptr;
113 if (!strcmp(_clname, qt_meta_stringdata_MasterHandler.stringdata0))
114 return static_cast<void*>(this);
115 return QObject::qt_metacast(_clname);
116 }
117
118 int MasterHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
119 {
120 _id = QObject::qt_metacall(_c, _id, _a);
121 if (_id < 0)
122 return _id;
123 if (_c == QMetaObject::InvokeMetaMethod) {
124 if (_id < 2)
125 qt_static_metacall(this, _c, _id, _a);
126 _id -= 2;
127 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
128 if (_id < 2)
129 *reinterpret_cast<int*>(_a[0]) = -1;
130 _id -= 2;
131 }
132 return _id;
133 }
134
135 // SIGNAL 0
136 void MasterHandler::MasterChangedPage()
137 {
138 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
139 }
140
141 // SIGNAL 1
142 void MasterHandler::MasterClosed()
143 {
144 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
145 }
146 struct qt_meta_stringdata_QtPLWidget_t {
147 QByteArrayData data[12];
148 char stringdata0[138];
149 };
150 #define QT_MOC_LITERAL(idx, ofs, len) \
151 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
152 qptrdiff(offsetof(qt_meta_stringdata_QtPLWidget_t, stringdata0) + ofs \
153 - idx * sizeof(QByteArrayData)) \
154 )
155 static const qt_meta_stringdata_QtPLWidget_t qt_meta_stringdata_QtPLWidget = {
156 {
157 QT_MOC_LITERAL(0, 0, 10), // "QtPLWidget"
158 QT_MOC_LITERAL(1, 11, 15), // "mousePressEvent"
159 QT_MOC_LITERAL(2, 27, 0), // ""
160 QT_MOC_LITERAL(3, 28, 12), // "QMouseEvent*"
161 QT_MOC_LITERAL(4, 41, 5), // "event"
162 QT_MOC_LITERAL(5, 47, 17), // "mouseReleaseEvent"
163 QT_MOC_LITERAL(6, 65, 14), // "mouseMoveEvent"
164 QT_MOC_LITERAL(7, 80, 13), // "keyPressEvent"
165 QT_MOC_LITERAL(8, 94, 10), // "QKeyEvent*"
166 QT_MOC_LITERAL(9, 105, 10), // "closeEvent"
167 QT_MOC_LITERAL(10, 116, 12), // "QCloseEvent*"
168 QT_MOC_LITERAL(11, 129, 8) // "nextPage"
169
170 },
171 "QtPLWidget\0mousePressEvent\0\0QMouseEvent*\0"
172 "event\0mouseReleaseEvent\0mouseMoveEvent\0"
173 "keyPressEvent\0QKeyEvent*\0closeEvent\0"
174 "QCloseEvent*\0nextPage"
175 };
176 #undef QT_MOC_LITERAL
177
178 static const uint qt_meta_data_QtPLWidget[] = {
179
180 // content:
181 7, // revision
182 0, // classname
183 0, 0, // classinfo
184 6, 14, // methods
185 0, 0, // properties
186 0, 0, // enums/sets
187 0, 0, // constructors
188 0, // flags
189 0, // signalCount
190
191 // slots: name, argc, parameters, tag, flags
192 1, 1, 44, 2, 0x09 /* Protected */,
193 5, 1, 47, 2, 0x09 /* Protected */,
194 6, 1, 50, 2, 0x09 /* Protected */,
195 7, 1, 53, 2, 0x09 /* Protected */,
196 9, 1, 56, 2, 0x09 /* Protected */,
197 11, 0, 59, 2, 0x09 /* Protected */,
198
199 // slots: parameters
200 QMetaType::Void, 0x80000000 | 3, 4,
201 QMetaType::Void, 0x80000000 | 3, 4,
202 QMetaType::Void, 0x80000000 | 3, 4,
203 QMetaType::Void, 0x80000000 | 8, 4,
204 QMetaType::Void, 0x80000000 | 10, 4,
205 QMetaType::Void,
206
207 0 // eod
208 };
209
210 void QtPLWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
211 {
212 if (_c == QMetaObject::InvokeMetaMethod) {
213 QtPLWidget *_t = static_cast<QtPLWidget *>(_o);
214 Q_UNUSED(_t)
215 switch (_id) {
216 case 0: _t->mousePressEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
217 case 1: _t->mouseReleaseEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
218 case 2: _t->mouseMoveEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
219 case 3: _t->keyPressEvent((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
220 case 4: _t->closeEvent((*reinterpret_cast< QCloseEvent*(*)>(_a[1]))); break;
221 case 5: _t->nextPage(); break;
222 default: ;
223 }
224 }
225 }
226
227 QT_INIT_METAOBJECT const QMetaObject QtPLWidget::staticMetaObject = {
228 { &QWidget::staticMetaObject, qt_meta_stringdata_QtPLWidget.data,
229 qt_meta_data_QtPLWidget, qt_static_metacall, nullptr, nullptr}
230 };
231
232
233 const QMetaObject *QtPLWidget::metaObject() const
234 {
235 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
236 }
237
238 void *QtPLWidget::qt_metacast(const char *_clname)
239 {
240 if (!_clname) return nullptr;
241 if (!strcmp(_clname, qt_meta_stringdata_QtPLWidget.stringdata0))
242 return static_cast<void*>(this);
243 if (!strcmp(_clname, "QtPLDriver"))
244 return static_cast< QtPLDriver*>(this);
245 return QWidget::qt_metacast(_clname);
246 }
247
248 int QtPLWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
249 {
250 _id = QWidget::qt_metacall(_c, _id, _a);
251 if (_id < 0)
252 return _id;
253 if (_c == QMetaObject::InvokeMetaMethod) {
254 if (_id < 6)
255 qt_static_metacall(this, _c, _id, _a);
256 _id -= 6;
257 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
258 if (_id < 6)
259 *reinterpret_cast<int*>(_a[0]) = -1;
260 _id -= 6;
261 }
262 return _id;
263 }
264 struct qt_meta_stringdata_QtExtWidget_t {
265 QByteArrayData data[7];
266 char stringdata0[81];
267 };
268 #define QT_MOC_LITERAL(idx, ofs, len) \
269 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
270 qptrdiff(offsetof(qt_meta_stringdata_QtExtWidget_t, stringdata0) + ofs \
271 - idx * sizeof(QByteArrayData)) \
272 )
273 static const qt_meta_stringdata_QtExtWidget_t qt_meta_stringdata_QtExtWidget = {
274 {
275 QT_MOC_LITERAL(0, 0, 11), // "QtExtWidget"
276 QT_MOC_LITERAL(1, 12, 14), // "mouseMoveEvent"
277 QT_MOC_LITERAL(2, 27, 0), // ""
278 QT_MOC_LITERAL(3, 28, 12), // "QMouseEvent*"
279 QT_MOC_LITERAL(4, 41, 5), // "event"
280 QT_MOC_LITERAL(5, 47, 17), // "mouseReleaseEvent"
281 QT_MOC_LITERAL(6, 65, 15) // "mousePressEvent"
282
283 },
284 "QtExtWidget\0mouseMoveEvent\0\0QMouseEvent*\0"
285 "event\0mouseReleaseEvent\0mousePressEvent"
286 };
287 #undef QT_MOC_LITERAL
288
289 static const uint qt_meta_data_QtExtWidget[] = {
290
291 // content:
292 7, // revision
293 0, // classname
294 0, 0, // classinfo
295 3, 14, // methods
296 0, 0, // properties
297 0, 0, // enums/sets
298 0, 0, // constructors
299 0, // flags
300 0, // signalCount
301
302 // slots: name, argc, parameters, tag, flags
303 1, 1, 29, 2, 0x0a /* Public */,
304 5, 1, 32, 2, 0x0a /* Public */,
305 6, 1, 35, 2, 0x0a /* Public */,
306
307 // slots: parameters
308 QMetaType::Void, 0x80000000 | 3, 4,
309 QMetaType::Void, 0x80000000 | 3, 4,
310 QMetaType::Void, 0x80000000 | 3, 4,
311
312 0 // eod
313 };
314
315 void QtExtWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
316 {
317 if (_c == QMetaObject::InvokeMetaMethod) {
318 QtExtWidget *_t = static_cast<QtExtWidget *>(_o);
319 Q_UNUSED(_t)
320 switch (_id) {
321 case 0: _t->mouseMoveEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
322 case 1: _t->mouseReleaseEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
323 case 2: _t->mousePressEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
324 default: ;
325 }
326 }
327 }
328
329 QT_INIT_METAOBJECT const QMetaObject QtExtWidget::staticMetaObject = {
330 { &QtPLWidget::staticMetaObject, qt_meta_stringdata_QtExtWidget.data,
331 qt_meta_data_QtExtWidget, qt_static_metacall, nullptr, nullptr}
332 };
333
334
335 const QMetaObject *QtExtWidget::metaObject() const
336 {
337 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
338 }
339
340 void *QtExtWidget::qt_metacast(const char *_clname)
341 {
342 if (!_clname) return nullptr;
343 if (!strcmp(_clname, qt_meta_stringdata_QtExtWidget.stringdata0))
344 return static_cast<void*>(this);
345 return QtPLWidget::qt_metacast(_clname);
346 }
347
348 int QtExtWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
349 {
350 _id = QtPLWidget::qt_metacall(_c, _id, _a);
351 if (_id < 0)
352 return _id;
353 if (_c == QMetaObject::InvokeMetaMethod) {
354 if (_id < 3)
355 qt_static_metacall(this, _c, _id, _a);
356 _id -= 3;
357 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
358 if (_id < 3)
359 *reinterpret_cast<int*>(_a[0]) = -1;
360 _id -= 3;
361 }
362 return _id;
363 }
364 QT_WARNING_POP
365 QT_END_MOC_NAMESPACE
MasterHandler::MasterClosed
void MasterClosed()
Definition: moc_qt.cpp:142
qt_meta_stringdata_MasterHandler_t::stringdata0
char stringdata0[46]
Definition: moc_qt.cpp:25
MasterHandler
Definition: qt.h:96
qt_meta_data_QtExtWidget
static const uint qt_meta_data_QtExtWidget[]
Definition: moc_qt.cpp:289
qt_meta_stringdata_QtExtWidget
static const qt_meta_stringdata_QtExtWidget_t qt_meta_stringdata_QtExtWidget
Definition: moc_qt.cpp:273
qt_meta_data_QtPLWidget
static const uint qt_meta_data_QtPLWidget[]
Definition: moc_qt.cpp:178
qt_meta_stringdata_QtExtWidget_t::data
QByteArrayData data[7]
Definition: moc_qt.cpp:265
qt_meta_stringdata_QtPLWidget_t::data
QByteArrayData data[12]
Definition: moc_qt.cpp:147
qt_meta_stringdata_QtExtWidget_t::stringdata0
char stringdata0[81]
Definition: moc_qt.cpp:266
MasterHandler::MasterChangedPage
void MasterChangedPage()
Definition: moc_qt.cpp:136
qt_meta_stringdata_QtPLWidget_t::stringdata0
char stringdata0[138]
Definition: moc_qt.cpp:148
qt_meta_stringdata_QtPLWidget_t
Definition: moc_qt.cpp:146
qt_meta_stringdata_MasterHandler
static const qt_meta_stringdata_MasterHandler_t qt_meta_stringdata_MasterHandler
Definition: moc_qt.cpp:32
qt_meta_stringdata_MasterHandler_t::data
QByteArrayData data[4]
Definition: moc_qt.cpp:24
qt_meta_stringdata_QtPLWidget
static const qt_meta_stringdata_QtPLWidget_t qt_meta_stringdata_QtPLWidget
Definition: moc_qt.cpp:155
qt_meta_stringdata_QtExtWidget_t
Definition: moc_qt.cpp:264
QT_MOC_LITERAL
#define QT_MOC_LITERAL(idx, ofs, len)
Definition: moc_qt.cpp:268
qt_meta_stringdata_MasterHandler_t
Definition: moc_qt.cpp:23
qt_meta_data_MasterHandler
static const uint qt_meta_data_MasterHandler[]
Definition: moc_qt.cpp:45