/****************************************************************************
** Meta object code from reading C++ file 'fitsview.h'
**
** 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/kstars-17.04.3/kstars/fitsviewer/fitsview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'fitsview.h' 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_FITSView_t {
    QByteArrayData data[26];
    char stringdata0[289];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FITSView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FITSView_t qt_meta_stringdata_FITSView = {
    {
QT_MOC_LITERAL(0, 0, 8), // "FITSView"
QT_MOC_LITERAL(1, 9, 9), // "newStatus"
QT_MOC_LITERAL(2, 19, 0), // ""
QT_MOC_LITERAL(3, 20, 3), // "msg"
QT_MOC_LITERAL(4, 24, 7), // "FITSBar"
QT_MOC_LITERAL(5, 32, 2), // "id"
QT_MOC_LITERAL(6, 35, 14), // "debayerToggled"
QT_MOC_LITERAL(7, 50, 10), // "wcsToggled"
QT_MOC_LITERAL(8, 61, 13), // "actionUpdated"
QT_MOC_LITERAL(9, 75, 4), // "name"
QT_MOC_LITERAL(10, 80, 6), // "enable"
QT_MOC_LITERAL(11, 87, 20), // "trackingStarSelected"
QT_MOC_LITERAL(12, 108, 1), // "x"
QT_MOC_LITERAL(13, 110, 1), // "y"
QT_MOC_LITERAL(14, 112, 6), // "ZoomIn"
QT_MOC_LITERAL(15, 119, 7), // "ZoomOut"
QT_MOC_LITERAL(16, 127, 11), // "ZoomDefault"
QT_MOC_LITERAL(17, 139, 9), // "ZoomToFit"
QT_MOC_LITERAL(18, 149, 12), // "toggleEQGrid"
QT_MOC_LITERAL(19, 162, 13), // "toggleObjects"
QT_MOC_LITERAL(20, 176, 15), // "togglePixelGrid"
QT_MOC_LITERAL(21, 192, 15), // "toggleCrosshair"
QT_MOC_LITERAL(22, 208, 15), // "centerTelescope"
QT_MOC_LITERAL(23, 224, 21), // "processPointSelection"
QT_MOC_LITERAL(24, 246, 22), // "processMarkerSelection"
QT_MOC_LITERAL(25, 269, 19) // "handleWCSCompletion"

    },
    "FITSView\0newStatus\0\0msg\0FITSBar\0id\0"
    "debayerToggled\0wcsToggled\0actionUpdated\0"
    "name\0enable\0trackingStarSelected\0x\0y\0"
    "ZoomIn\0ZoomOut\0ZoomDefault\0ZoomToFit\0"
    "toggleEQGrid\0toggleObjects\0togglePixelGrid\0"
    "toggleCrosshair\0centerTelescope\0"
    "processPointSelection\0processMarkerSelection\0"
    "handleWCSCompletion"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FITSView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   99,    2, 0x06 /* Public */,
       6,    1,  104,    2, 0x06 /* Public */,
       7,    1,  107,    2, 0x06 /* Public */,
       8,    2,  110,    2, 0x06 /* Public */,
      11,    2,  115,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    0,  120,    2, 0x0a /* Public */,
      15,    0,  121,    2, 0x0a /* Public */,
      16,    0,  122,    2, 0x0a /* Public */,
      17,    0,  123,    2, 0x0a /* Public */,
      18,    0,  124,    2, 0x0a /* Public */,
      19,    0,  125,    2, 0x0a /* Public */,
      20,    0,  126,    2, 0x0a /* Public */,
      21,    0,  127,    2, 0x0a /* Public */,
      22,    0,  128,    2, 0x0a /* Public */,
      23,    2,  129,    2, 0x0a /* Public */,
      24,    2,  134,    2, 0x0a /* Public */,
      25,    0,  139,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, 0x80000000 | 4,    3,    5,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    9,   10,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   12,   13,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   12,   13,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   12,   13,
    QMetaType::Void,

       0        // eod
};

void FITSView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FITSView *_t = static_cast<FITSView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->newStatus((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< FITSBar(*)>(_a[2]))); break;
        case 1: _t->debayerToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->wcsToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->actionUpdated((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 4: _t->trackingStarSelected((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->ZoomIn(); break;
        case 6: _t->ZoomOut(); break;
        case 7: _t->ZoomDefault(); break;
        case 8: _t->ZoomToFit(); break;
        case 9: _t->toggleEQGrid(); break;
        case 10: _t->toggleObjects(); break;
        case 11: _t->togglePixelGrid(); break;
        case 12: _t->toggleCrosshair(); break;
        case 13: _t->centerTelescope(); break;
        case 14: _t->processPointSelection((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 15: _t->processMarkerSelection((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 16: _t->handleWCSCompletion(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (FITSView::*_t)(const QString & , FITSBar );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FITSView::newStatus)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (FITSView::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FITSView::debayerToggled)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (FITSView::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FITSView::wcsToggled)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (FITSView::*_t)(const QString & , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FITSView::actionUpdated)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (FITSView::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FITSView::trackingStarSelected)) {
                *result = 4;
                return;
            }
        }
    }
}

const QMetaObject FITSView::staticMetaObject = {
    { &QScrollArea::staticMetaObject, qt_meta_stringdata_FITSView.data,
      qt_meta_data_FITSView,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int FITSView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QScrollArea::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 17;
    }
    return _id;
}

// SIGNAL 0
void FITSView::newStatus(const QString & _t1, FITSBar _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 FITSView::debayerToggled(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

// SIGNAL 3
void FITSView::actionUpdated(const QString & _t1, bool _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, 3, _a);
}

// SIGNAL 4
void FITSView::trackingStarSelected(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, 4, _a);
}
QT_END_MOC_NAMESPACE
