From 09c89f6242ecf2495f86140a3f53ef4678f8563b Mon Sep 17 00:00:00 2001 From: SudhakarKuma Date: Wed, 25 Oct 2017 15:53:45 +0530 Subject: Updated OSP-plugin --- builds/unix/src/moc_OSPMainDialog.cpp | 385 ++++++++++++++++++++++++++++++++++ 1 file changed, 385 insertions(+) create mode 100644 builds/unix/src/moc_OSPMainDialog.cpp (limited to 'builds/unix/src/moc_OSPMainDialog.cpp') diff --git a/builds/unix/src/moc_OSPMainDialog.cpp b/builds/unix/src/moc_OSPMainDialog.cpp new file mode 100644 index 0000000..d3eef69 --- /dev/null +++ b/builds/unix/src/moc_OSPMainDialog.cpp @@ -0,0 +1,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 +#include +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'OSPMainDialog.hpp' doesn't include ." +#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(_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(_a[0]); + void **func = reinterpret_cast(_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(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(_a[0]) = -1; + _id -= 39; + } + return _id; +} + +// SIGNAL 0 +void OSPMainDialog::comGOTO(QString _t1, QString _t2) +{ + void *_a[] = { Q_NULLPTR, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; + QMetaObject::activate(this, &staticMetaObject, 0, _a); +} + +// SIGNAL 1 +void OSPMainDialog::comTURN(bool _t1) +{ + void *_a[] = { Q_NULLPTR, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 1, _a); +} + +// SIGNAL 2 +void OSPMainDialog::comWAIT(int _t1, int _t2) +{ + void *_a[] = { Q_NULLPTR, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; + QMetaObject::activate(this, &staticMetaObject, 2, _a); +} + +// SIGNAL 3 +void OSPMainDialog::comPLAY(QString _t1) +{ + void *_a[] = { Q_NULLPTR, const_cast(reinterpret_cast(&_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 -- cgit