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

#include "../../src/kstars-17.08.3/kstars/fitsviewer/fitsviewer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'fitsviewer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_FITSViewer_t {
    QByteArrayData data[50];
    char stringdata0[551];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FITSViewer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FITSViewer_t qt_meta_stringdata_FITSViewer = {
    {
QT_MOC_LITERAL(0, 0, 10), // "FITSViewer"
QT_MOC_LITERAL(1, 11, 20), // "trackingStarSelected"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 1), // "x"
QT_MOC_LITERAL(4, 35, 1), // "y"
QT_MOC_LITERAL(5, 37, 17), // "changeAlwaysOnTop"
QT_MOC_LITERAL(6, 55, 20), // "Qt::ApplicationState"
QT_MOC_LITERAL(7, 76, 5), // "state"
QT_MOC_LITERAL(8, 82, 8), // "openFile"
QT_MOC_LITERAL(9, 91, 8), // "saveFile"
QT_MOC_LITERAL(10, 100, 10), // "saveFileAs"
QT_MOC_LITERAL(11, 111, 8), // "copyFITS"
QT_MOC_LITERAL(12, 120, 8), // "statFITS"
QT_MOC_LITERAL(13, 129, 10), // "headerFITS"
QT_MOC_LITERAL(14, 140, 11), // "debayerFITS"
QT_MOC_LITERAL(15, 152, 9), // "histoFITS"
QT_MOC_LITERAL(16, 162, 11), // "stretchFITS"
QT_MOC_LITERAL(17, 174, 15), // "tabFocusUpdated"
QT_MOC_LITERAL(18, 190, 12), // "currentIndex"
QT_MOC_LITERAL(19, 203, 15), // "updateStatusBar"
QT_MOC_LITERAL(20, 219, 3), // "msg"
QT_MOC_LITERAL(21, 223, 7), // "FITSBar"
QT_MOC_LITERAL(22, 231, 2), // "id"
QT_MOC_LITERAL(23, 234, 6), // "ZoomIn"
QT_MOC_LITERAL(24, 241, 7), // "ZoomOut"
QT_MOC_LITERAL(25, 249, 11), // "ZoomDefault"
QT_MOC_LITERAL(26, 261, 9), // "ZoomToFit"
QT_MOC_LITERAL(27, 271, 12), // "updateAction"
QT_MOC_LITERAL(28, 284, 4), // "name"
QT_MOC_LITERAL(29, 289, 6), // "enable"
QT_MOC_LITERAL(30, 296, 15), // "updateTabStatus"
QT_MOC_LITERAL(31, 312, 5), // "clean"
QT_MOC_LITERAL(32, 318, 11), // "saveUnsaved"
QT_MOC_LITERAL(33, 330, 5), // "index"
QT_MOC_LITERAL(34, 336, 8), // "closeTab"
QT_MOC_LITERAL(35, 345, 11), // "toggleStars"
QT_MOC_LITERAL(36, 357, 15), // "toggleCrossHair"
QT_MOC_LITERAL(37, 373, 12), // "toggleEQGrid"
QT_MOC_LITERAL(38, 386, 13), // "toggleObjects"
QT_MOC_LITERAL(39, 400, 15), // "togglePixelGrid"
QT_MOC_LITERAL(40, 416, 15), // "centerTelescope"
QT_MOC_LITERAL(41, 432, 18), // "updateWCSFunctions"
QT_MOC_LITERAL(42, 451, 11), // "applyFilter"
QT_MOC_LITERAL(43, 463, 5), // "ftype"
QT_MOC_LITERAL(44, 469, 8), // "rotateCW"
QT_MOC_LITERAL(45, 478, 9), // "rotateCCW"
QT_MOC_LITERAL(46, 488, 14), // "flipHorizontal"
QT_MOC_LITERAL(47, 503, 12), // "flipVertical"
QT_MOC_LITERAL(48, 516, 16), // "setDebayerAction"
QT_MOC_LITERAL(49, 533, 17) // "updateScopeButton"

    },
    "FITSViewer\0trackingStarSelected\0\0x\0y\0"
    "changeAlwaysOnTop\0Qt::ApplicationState\0"
    "state\0openFile\0saveFile\0saveFileAs\0"
    "copyFITS\0statFITS\0headerFITS\0debayerFITS\0"
    "histoFITS\0stretchFITS\0tabFocusUpdated\0"
    "currentIndex\0updateStatusBar\0msg\0"
    "FITSBar\0id\0ZoomIn\0ZoomOut\0ZoomDefault\0"
    "ZoomToFit\0updateAction\0name\0enable\0"
    "updateTabStatus\0clean\0saveUnsaved\0"
    "index\0closeTab\0toggleStars\0toggleCrossHair\0"
    "toggleEQGrid\0toggleObjects\0togglePixelGrid\0"
    "centerTelescope\0updateWCSFunctions\0"
    "applyFilter\0ftype\0rotateCW\0rotateCCW\0"
    "flipHorizontal\0flipVertical\0"
    "setDebayerAction\0updateScopeButton"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FITSViewer[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  189,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,  194,    2, 0x0a /* Public */,
       8,    0,  197,    2, 0x0a /* Public */,
       9,    0,  198,    2, 0x0a /* Public */,
      10,    0,  199,    2, 0x0a /* Public */,
      11,    0,  200,    2, 0x0a /* Public */,
      12,    0,  201,    2, 0x0a /* Public */,
      13,    0,  202,    2, 0x0a /* Public */,
      14,    0,  203,    2, 0x0a /* Public */,
      15,    0,  204,    2, 0x0a /* Public */,
      16,    0,  205,    2, 0x0a /* Public */,
      17,    1,  206,    2, 0x0a /* Public */,
      19,    2,  209,    2, 0x0a /* Public */,
      23,    0,  214,    2, 0x0a /* Public */,
      24,    0,  215,    2, 0x0a /* Public */,
      25,    0,  216,    2, 0x0a /* Public */,
      26,    0,  217,    2, 0x0a /* Public */,
      27,    2,  218,    2, 0x0a /* Public */,
      30,    1,  223,    2, 0x0a /* Public */,
      32,    1,  226,    2, 0x0a /* Public */,
      34,    1,  229,    2, 0x0a /* Public */,
      35,    0,  232,    2, 0x0a /* Public */,
      36,    0,  233,    2, 0x0a /* Public */,
      37,    0,  234,    2, 0x0a /* Public */,
      38,    0,  235,    2, 0x0a /* Public */,
      39,    0,  236,    2, 0x0a /* Public */,
      40,    0,  237,    2, 0x0a /* Public */,
      41,    0,  238,    2, 0x0a /* Public */,
      42,    1,  239,    2, 0x0a /* Public */,
      44,    0,  242,    2, 0x0a /* Public */,
      45,    0,  243,    2, 0x0a /* Public */,
      46,    0,  244,    2, 0x0a /* Public */,
      47,    0,  245,    2, 0x0a /* Public */,
      48,    1,  246,    2, 0x0a /* Public */,
      49,    0,  249,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    3,    4,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 21,   20,   22,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,   28,   29,
    QMetaType::Void, QMetaType::Bool,   31,
    QMetaType::Int, QMetaType::Int,   33,
    QMetaType::Void, QMetaType::Int,   33,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   43,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,

       0        // eod
};

void FITSViewer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FITSViewer *_t = static_cast<FITSViewer *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->trackingStarSelected((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->changeAlwaysOnTop((*reinterpret_cast< Qt::ApplicationState(*)>(_a[1]))); break;
        case 2: _t->openFile(); break;
        case 3: _t->saveFile(); break;
        case 4: _t->saveFileAs(); break;
        case 5: _t->copyFITS(); break;
        case 6: _t->statFITS(); break;
        case 7: _t->headerFITS(); break;
        case 8: _t->debayerFITS(); break;
        case 9: _t->histoFITS(); break;
        case 10: _t->stretchFITS(); break;
        case 11: _t->tabFocusUpdated((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->updateStatusBar((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< FITSBar(*)>(_a[2]))); break;
        case 13: _t->ZoomIn(); break;
        case 14: _t->ZoomOut(); break;
        case 15: _t->ZoomDefault(); break;
        case 16: _t->ZoomToFit(); break;
        case 17: _t->updateAction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 18: _t->updateTabStatus((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 19: { int _r = _t->saveUnsaved((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 20: _t->closeTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: _t->toggleStars(); break;
        case 22: _t->toggleCrossHair(); break;
        case 23: _t->toggleEQGrid(); break;
        case 24: _t->toggleObjects(); break;
        case 25: _t->togglePixelGrid(); break;
        case 26: _t->centerTelescope(); break;
        case 27: _t->updateWCSFunctions(); break;
        case 28: _t->applyFilter((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 29: _t->rotateCW(); break;
        case 30: _t->rotateCCW(); break;
        case 31: _t->flipHorizontal(); break;
        case 32: _t->flipVertical(); break;
        case 33: _t->setDebayerAction((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 34: _t->updateScopeButton(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (FITSViewer::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FITSViewer::trackingStarSelected)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject FITSViewer::staticMetaObject = {
    { &KXmlGuiWindow::staticMetaObject, qt_meta_stringdata_FITSViewer.data,
      qt_meta_data_FITSViewer,  qt_static_metacall, nullptr, nullptr}
};


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

void *FITSViewer::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_FITSViewer.stringdata0))
        return static_cast<void*>(this);
    return KXmlGuiWindow::qt_metacast(_clname);
}

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

// SIGNAL 0
void FITSViewer::trackingStarSelected(int _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
