1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
|
/****************************************************************************
** Meta object code from reading C++ file 'OSPMainDialog.hpp'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../../../src/gui/OSPMainDialog.hpp"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'OSPMainDialog.hpp' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.7.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_OSPMainDialog_t {
QByteArrayData data[51];
char stringdata0[423];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_OSPMainDialog_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_OSPMainDialog_t qt_meta_stringdata_OSPMainDialog = {
{
QT_MOC_LITERAL(0, 0, 13), // "OSPMainDialog"
QT_MOC_LITERAL(1, 14, 7), // "comGOTO"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 3), // "sra"
QT_MOC_LITERAL(4, 27, 4), // "sdec"
QT_MOC_LITERAL(5, 32, 7), // "comTURN"
QT_MOC_LITERAL(6, 40, 4), // "stat"
QT_MOC_LITERAL(7, 45, 7), // "comWAIT"
QT_MOC_LITERAL(8, 53, 3), // "min"
QT_MOC_LITERAL(9, 57, 3), // "sec"
QT_MOC_LITERAL(10, 61, 7), // "comPLAY"
QT_MOC_LITERAL(11, 69, 5), // "fname"
QT_MOC_LITERAL(12, 75, 4), // "play"
QT_MOC_LITERAL(13, 80, 5), // "pause"
QT_MOC_LITERAL(14, 86, 4), // "stop"
QT_MOC_LITERAL(15, 91, 11), // "retranslate"
QT_MOC_LITERAL(16, 103, 14), // "debug_received"
QT_MOC_LITERAL(17, 118, 1), // "s"
QT_MOC_LITERAL(18, 120, 12), // "pos_received"
QT_MOC_LITERAL(19, 133, 1), // "x"
QT_MOC_LITERAL(20, 135, 1), // "y"
QT_MOC_LITERAL(21, 137, 12), // "selectDevice"
QT_MOC_LITERAL(22, 150, 10), // "initDevice"
QT_MOC_LITERAL(23, 161, 14), // "arrow_released"
QT_MOC_LITERAL(24, 176, 9), // "upPressed"
QT_MOC_LITERAL(25, 186, 11), // "downPressed"
QT_MOC_LITERAL(26, 198, 12), // "rightPressed"
QT_MOC_LITERAL(27, 211, 11), // "leftPressed"
QT_MOC_LITERAL(28, 223, 12), // "laserToggled"
QT_MOC_LITERAL(29, 236, 12), // "setReference"
QT_MOC_LITERAL(30, 249, 12), // "setIntensity"
QT_MOC_LITERAL(31, 262, 8), // "closeWin"
QT_MOC_LITERAL(32, 271, 10), // "adjToggled"
QT_MOC_LITERAL(33, 282, 4), // "goTo"
QT_MOC_LITERAL(34, 287, 10), // "openScript"
QT_MOC_LITERAL(35, 298, 10), // "saveScript"
QT_MOC_LITERAL(36, 309, 10), // "execScript"
QT_MOC_LITERAL(37, 320, 13), // "compileScript"
QT_MOC_LITERAL(38, 334, 5), // "laser"
QT_MOC_LITERAL(39, 340, 9), // "playAudio"
QT_MOC_LITERAL(40, 350, 10), // "waitforsec"
QT_MOC_LITERAL(41, 361, 4), // "move"
QT_MOC_LITERAL(42, 366, 2), // "gt"
QT_MOC_LITERAL(43, 369, 2), // "pl"
QT_MOC_LITERAL(44, 372, 2), // "lo"
QT_MOC_LITERAL(45, 375, 2), // "wt"
QT_MOC_LITERAL(46, 378, 5), // "reset"
QT_MOC_LITERAL(47, 384, 9), // "setVolume"
QT_MOC_LITERAL(48, 394, 6), // "volume"
QT_MOC_LITERAL(49, 401, 11), // "playClicked"
QT_MOC_LITERAL(50, 413, 9) // "stopClick"
},
"OSPMainDialog\0comGOTO\0\0sra\0sdec\0comTURN\0"
"stat\0comWAIT\0min\0sec\0comPLAY\0fname\0"
"play\0pause\0stop\0retranslate\0debug_received\0"
"s\0pos_received\0x\0y\0selectDevice\0"
"initDevice\0arrow_released\0upPressed\0"
"downPressed\0rightPressed\0leftPressed\0"
"laserToggled\0setReference\0setIntensity\0"
"closeWin\0adjToggled\0goTo\0openScript\0"
"saveScript\0execScript\0compileScript\0"
"laser\0playAudio\0waitforsec\0move\0gt\0"
"pl\0lo\0wt\0reset\0setVolume\0volume\0"
"playClicked\0stopClick"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_OSPMainDialog[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
39, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
7, // signalCount
// signals: name, argc, parameters, tag, flags
1, 2, 209, 2, 0x06 /* Public */,
5, 1, 214, 2, 0x06 /* Public */,
7, 2, 217, 2, 0x06 /* Public */,
10, 1, 222, 2, 0x06 /* Public */,
12, 0, 225, 2, 0x06 /* Public */,
13, 0, 226, 2, 0x06 /* Public */,
14, 0, 227, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
15, 0, 228, 2, 0x0a /* Public */,
16, 1, 229, 2, 0x0a /* Public */,
18, 2, 232, 2, 0x0a /* Public */,
21, 0, 237, 2, 0x0a /* Public */,
22, 0, 238, 2, 0x0a /* Public */,
23, 0, 239, 2, 0x0a /* Public */,
24, 0, 240, 2, 0x0a /* Public */,
25, 0, 241, 2, 0x0a /* Public */,
26, 0, 242, 2, 0x0a /* Public */,
27, 0, 243, 2, 0x0a /* Public */,
28, 0, 244, 2, 0x0a /* Public */,
29, 0, 245, 2, 0x0a /* Public */,
30, 1, 246, 2, 0x0a /* Public */,
31, 0, 249, 2, 0x0a /* Public */,
32, 0, 250, 2, 0x0a /* Public */,
33, 0, 251, 2, 0x0a /* Public */,
34, 0, 252, 2, 0x0a /* Public */,
35, 0, 253, 2, 0x0a /* Public */,
36, 0, 254, 2, 0x0a /* Public */,
37, 0, 255, 2, 0x0a /* Public */,
38, 1, 256, 2, 0x0a /* Public */,
39, 1, 259, 2, 0x0a /* Public */,
40, 2, 262, 2, 0x0a /* Public */,
41, 2, 267, 2, 0x0a /* Public */,
42, 0, 272, 2, 0x0a /* Public */,
43, 0, 273, 2, 0x0a /* Public */,
44, 0, 274, 2, 0x0a /* Public */,
45, 0, 275, 2, 0x0a /* Public */,
46, 0, 276, 2, 0x0a /* Public */,
47, 1, 277, 2, 0x0a /* Public */,
49, 0, 280, 2, 0x0a /* Public */,
50, 0, 281, 2, 0x0a /* Public */,
// signals: parameters
QMetaType::Void, QMetaType::QString, QMetaType::QString, 3, 4,
QMetaType::Void, QMetaType::Bool, 6,
QMetaType::Void, QMetaType::Int, QMetaType::Int, 8, 9,
QMetaType::Void, QMetaType::QString, 11,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
// slots: parameters
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 17,
QMetaType::Void, QMetaType::QString, QMetaType::QString, 19, 20,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 19,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Bool, 6,
QMetaType::Void, QMetaType::QString, 11,
QMetaType::Void, QMetaType::Int, QMetaType::Int, 8, 9,
QMetaType::Void, QMetaType::QString, QMetaType::QString, 2, 2,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 48,
QMetaType::Void,
QMetaType::Void,
0 // eod
};
void OSPMainDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
OSPMainDialog *_t = static_cast<OSPMainDialog *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->comGOTO((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
case 1: _t->comTURN((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 2: _t->comWAIT((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
case 3: _t->comPLAY((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 4: _t->play(); break;
case 5: _t->pause(); break;
case 6: _t->stop(); break;
case 7: _t->retranslate(); break;
case 8: _t->debug_received((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 9: _t->pos_received((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
case 10: _t->selectDevice(); break;
case 11: _t->initDevice(); break;
case 12: _t->arrow_released(); break;
case 13: _t->upPressed(); break;
case 14: _t->downPressed(); break;
case 15: _t->rightPressed(); break;
case 16: _t->leftPressed(); break;
case 17: _t->laserToggled(); break;
case 18: _t->setReference(); break;
case 19: _t->setIntensity((*reinterpret_cast< int(*)>(_a[1]))); break;
case 20: _t->closeWin(); break;
case 21: _t->adjToggled(); break;
case 22: _t->goTo(); break;
case 23: _t->openScript(); break;
case 24: _t->saveScript(); break;
case 25: _t->execScript(); break;
case 26: _t->compileScript(); break;
case 27: _t->laser((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 28: _t->playAudio((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 29: _t->waitforsec((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
case 30: _t->move((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
case 31: _t->gt(); break;
case 32: _t->pl(); break;
case 33: _t->lo(); break;
case 34: _t->wt(); break;
case 35: _t->reset(); break;
case 36: _t->setVolume((*reinterpret_cast< int(*)>(_a[1]))); break;
case 37: _t->playClicked(); break;
case 38: _t->stopClick(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
void **func = reinterpret_cast<void **>(_a[1]);
{
typedef void (OSPMainDialog::*_t)(QString , QString );
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OSPMainDialog::comGOTO)) {
*result = 0;
return;
}
}
{
typedef void (OSPMainDialog::*_t)(bool );
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OSPMainDialog::comTURN)) {
*result = 1;
return;
}
}
{
typedef void (OSPMainDialog::*_t)(int , int );
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OSPMainDialog::comWAIT)) {
*result = 2;
return;
}
}
{
typedef void (OSPMainDialog::*_t)(QString );
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OSPMainDialog::comPLAY)) {
*result = 3;
return;
}
}
{
typedef void (OSPMainDialog::*_t)();
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OSPMainDialog::play)) {
*result = 4;
return;
}
}
{
typedef void (OSPMainDialog::*_t)();
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OSPMainDialog::pause)) {
*result = 5;
return;
}
}
{
typedef void (OSPMainDialog::*_t)();
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OSPMainDialog::stop)) {
*result = 6;
return;
}
}
}
}
const QMetaObject OSPMainDialog::staticMetaObject = {
{ &StelDialog::staticMetaObject, qt_meta_stringdata_OSPMainDialog.data,
qt_meta_data_OSPMainDialog, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};
const QMetaObject *OSPMainDialog::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *OSPMainDialog::qt_metacast(const char *_clname)
{
if (!_clname) return Q_NULLPTR;
if (!strcmp(_clname, qt_meta_stringdata_OSPMainDialog.stringdata0))
return static_cast<void*>(const_cast< OSPMainDialog*>(this));
return StelDialog::qt_metacast(_clname);
}
int OSPMainDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = StelDialog::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 39)
qt_static_metacall(this, _c, _id, _a);
_id -= 39;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 39)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 39;
}
return _id;
}
// SIGNAL 0
void OSPMainDialog::comGOTO(QString _t1, QString _t2)
{
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void OSPMainDialog::comTURN(bool _t1)
{
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
// SIGNAL 2
void OSPMainDialog::comWAIT(int _t1, int _t2)
{
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
// SIGNAL 3
void OSPMainDialog::comPLAY(QString _t1)
{
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
// SIGNAL 4
void OSPMainDialog::play()
{
QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}
// SIGNAL 5
void OSPMainDialog::pause()
{
QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}
// SIGNAL 6
void OSPMainDialog::stop()
{
QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
|