/****************************************************************************
** Meta object code from reading C++ file 'OcularDialog.hpp'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../src/stellarium-0.14.3/plugins/Oculars/src/gui/OcularDialog.hpp"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'OcularDialog.hpp' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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_OcularDialog_t {
    QByteArrayData data[31];
    char stringdata0[621];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_OcularDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_OcularDialog_t qt_meta_stringdata_OcularDialog = {
    {
QT_MOC_LITERAL(0, 0, 12), // "OcularDialog"
QT_MOC_LITERAL(1, 13, 23), // "requireSelectionChanged"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 5), // "state"
QT_MOC_LITERAL(4, 44, 23), // "scaleImageCircleChanged"
QT_MOC_LITERAL(5, 68, 11), // "closeWindow"
QT_MOC_LITERAL(6, 80, 17), // "deleteSelectedCCD"
QT_MOC_LITERAL(7, 98, 20), // "deleteSelectedOcular"
QT_MOC_LITERAL(8, 119, 23), // "deleteSelectedTelescope"
QT_MOC_LITERAL(9, 143, 18), // "deleteSelectedLens"
QT_MOC_LITERAL(10, 162, 12), // "insertNewCCD"
QT_MOC_LITERAL(11, 175, 15), // "insertNewOcular"
QT_MOC_LITERAL(12, 191, 18), // "insertNewTelescope"
QT_MOC_LITERAL(13, 210, 13), // "insertNewLens"
QT_MOC_LITERAL(14, 224, 20), // "moveUpSelectedSensor"
QT_MOC_LITERAL(15, 245, 20), // "moveUpSelectedOcular"
QT_MOC_LITERAL(16, 266, 23), // "moveUpSelectedTelescope"
QT_MOC_LITERAL(17, 290, 18), // "moveUpSelectedLens"
QT_MOC_LITERAL(18, 309, 22), // "moveDownSelectedSensor"
QT_MOC_LITERAL(19, 332, 22), // "moveDownSelectedOcular"
QT_MOC_LITERAL(20, 355, 25), // "moveDownSelectedTelescope"
QT_MOC_LITERAL(21, 381, 20), // "moveDownSelectedLens"
QT_MOC_LITERAL(22, 402, 11), // "retranslate"
QT_MOC_LITERAL(23, 414, 29), // "keyBindingTogglePluginChanged"
QT_MOC_LITERAL(24, 444, 9), // "newString"
QT_MOC_LITERAL(25, 454, 37), // "keyBindingPopupNavigatorConfi..."
QT_MOC_LITERAL(26, 492, 13), // "initAboutText"
QT_MOC_LITERAL(27, 506, 28), // "requireSelectionStateChanged"
QT_MOC_LITERAL(28, 535, 28), // "scaleImageCircleStateChanged"
QT_MOC_LITERAL(29, 564, 24), // "setLabelsDescriptionText"
QT_MOC_LITERAL(30, 589, 31) // "selectedCCDRotationAngleChanged"

    },
    "OcularDialog\0requireSelectionChanged\0"
    "\0state\0scaleImageCircleChanged\0"
    "closeWindow\0deleteSelectedCCD\0"
    "deleteSelectedOcular\0deleteSelectedTelescope\0"
    "deleteSelectedLens\0insertNewCCD\0"
    "insertNewOcular\0insertNewTelescope\0"
    "insertNewLens\0moveUpSelectedSensor\0"
    "moveUpSelectedOcular\0moveUpSelectedTelescope\0"
    "moveUpSelectedLens\0moveDownSelectedSensor\0"
    "moveDownSelectedOcular\0moveDownSelectedTelescope\0"
    "moveDownSelectedLens\0retranslate\0"
    "keyBindingTogglePluginChanged\0newString\0"
    "keyBindingPopupNavigatorConfigChanged\0"
    "initAboutText\0requireSelectionStateChanged\0"
    "scaleImageCircleStateChanged\0"
    "setLabelsDescriptionText\0"
    "selectedCCDRotationAngleChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_OcularDialog[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      27,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  149,    2, 0x06 /* Public */,
       4,    1,  152,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,  155,    2, 0x0a /* Public */,
       6,    0,  156,    2, 0x0a /* Public */,
       7,    0,  157,    2, 0x0a /* Public */,
       8,    0,  158,    2, 0x0a /* Public */,
       9,    0,  159,    2, 0x0a /* Public */,
      10,    0,  160,    2, 0x0a /* Public */,
      11,    0,  161,    2, 0x0a /* Public */,
      12,    0,  162,    2, 0x0a /* Public */,
      13,    0,  163,    2, 0x0a /* Public */,
      14,    0,  164,    2, 0x0a /* Public */,
      15,    0,  165,    2, 0x0a /* Public */,
      16,    0,  166,    2, 0x0a /* Public */,
      17,    0,  167,    2, 0x0a /* Public */,
      18,    0,  168,    2, 0x0a /* Public */,
      19,    0,  169,    2, 0x0a /* Public */,
      20,    0,  170,    2, 0x0a /* Public */,
      21,    0,  171,    2, 0x0a /* Public */,
      22,    0,  172,    2, 0x0a /* Public */,
      23,    1,  173,    2, 0x08 /* Private */,
      25,    1,  176,    2, 0x08 /* Private */,
      26,    0,  179,    2, 0x08 /* Private */,
      27,    1,  180,    2, 0x08 /* Private */,
      28,    1,  183,    2, 0x08 /* Private */,
      29,    1,  186,    2, 0x08 /* Private */,
      30,    0,  189,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   24,
    QMetaType::Void, QMetaType::QString,   24,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void,

       0        // eod
};

void OcularDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        OcularDialog *_t = static_cast<OcularDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->requireSelectionChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->scaleImageCircleChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->closeWindow(); break;
        case 3: _t->deleteSelectedCCD(); break;
        case 4: _t->deleteSelectedOcular(); break;
        case 5: _t->deleteSelectedTelescope(); break;
        case 6: _t->deleteSelectedLens(); break;
        case 7: _t->insertNewCCD(); break;
        case 8: _t->insertNewOcular(); break;
        case 9: _t->insertNewTelescope(); break;
        case 10: _t->insertNewLens(); break;
        case 11: _t->moveUpSelectedSensor(); break;
        case 12: _t->moveUpSelectedOcular(); break;
        case 13: _t->moveUpSelectedTelescope(); break;
        case 14: _t->moveUpSelectedLens(); break;
        case 15: _t->moveDownSelectedSensor(); break;
        case 16: _t->moveDownSelectedOcular(); break;
        case 17: _t->moveDownSelectedTelescope(); break;
        case 18: _t->moveDownSelectedLens(); break;
        case 19: _t->retranslate(); break;
        case 20: _t->keyBindingTogglePluginChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 21: _t->keyBindingPopupNavigatorConfigChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 22: _t->initAboutText(); break;
        case 23: _t->requireSelectionStateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 24: _t->scaleImageCircleStateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 25: _t->setLabelsDescriptionText((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 26: _t->selectedCCDRotationAngleChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (OcularDialog::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OcularDialog::requireSelectionChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (OcularDialog::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OcularDialog::scaleImageCircleChanged)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject OcularDialog::staticMetaObject = {
    { &StelDialog::staticMetaObject, qt_meta_stringdata_OcularDialog.data,
      qt_meta_data_OcularDialog,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


const QMetaObject *OcularDialog::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *OcularDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_OcularDialog.stringdata0))
        return static_cast<void*>(const_cast< OcularDialog*>(this));
    return StelDialog::qt_metacast(_clname);
}

int OcularDialog::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 < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 27)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 27;
    }
    return _id;
}

// SIGNAL 0
void OcularDialog::requireSelectionChanged(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void OcularDialog::scaleImageCircleChanged(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_END_MOC_NAMESPACE
