/****************************************************************************
** Meta object code from reading C++ file 'fitsviewer.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-16.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.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_FITSViewer_t {
    QByteArrayData data[41];
    char stringdata0[396];
};
#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, 17), // "guideStarSelected"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 1), // "x"
QT_MOC_LITERAL(4, 32, 1), // "y"
QT_MOC_LITERAL(5, 34, 8), // "openFile"
QT_MOC_LITERAL(6, 43, 8), // "saveFile"
QT_MOC_LITERAL(7, 52, 10), // "saveFileAs"
QT_MOC_LITERAL(8, 63, 8), // "copyFITS"
QT_MOC_LITERAL(9, 72, 8), // "statFITS"
QT_MOC_LITERAL(10, 81, 10), // "headerFITS"
QT_MOC_LITERAL(11, 92, 11), // "debayerFITS"
QT_MOC_LITERAL(12, 104, 9), // "histoFITS"
QT_MOC_LITERAL(13, 114, 11), // "stretchFITS"
QT_MOC_LITERAL(14, 126, 15), // "tabFocusUpdated"
QT_MOC_LITERAL(15, 142, 12), // "currentIndex"
QT_MOC_LITERAL(16, 155, 15), // "updateStatusBar"
QT_MOC_LITERAL(17, 171, 3), // "msg"
QT_MOC_LITERAL(18, 175, 7), // "FITSBar"
QT_MOC_LITERAL(19, 183, 2), // "id"
QT_MOC_LITERAL(20, 186, 6), // "ZoomIn"
QT_MOC_LITERAL(21, 193, 7), // "ZoomOut"
QT_MOC_LITERAL(22, 201, 11), // "ZoomDefault"
QT_MOC_LITERAL(23, 213, 12), // "updateAction"
QT_MOC_LITERAL(24, 226, 4), // "name"
QT_MOC_LITERAL(25, 231, 6), // "enable"
QT_MOC_LITERAL(26, 238, 15), // "updateTabStatus"
QT_MOC_LITERAL(27, 254, 5), // "clean"
QT_MOC_LITERAL(28, 260, 11), // "saveUnsaved"
QT_MOC_LITERAL(29, 272, 5), // "index"
QT_MOC_LITERAL(30, 278, 8), // "closeTab"
QT_MOC_LITERAL(31, 287, 11), // "toggleStars"
QT_MOC_LITERAL(32, 299, 11), // "applyFilter"
QT_MOC_LITERAL(33, 311, 5), // "ftype"
QT_MOC_LITERAL(34, 317, 8), // "rotateCW"
QT_MOC_LITERAL(35, 326, 9), // "rotateCCW"
QT_MOC_LITERAL(36, 336, 14), // "flipHorizontal"
QT_MOC_LITERAL(37, 351, 12), // "flipVertical"
QT_MOC_LITERAL(38, 364, 8), // "setGamma"
QT_MOC_LITERAL(39, 373, 5), // "value"
QT_MOC_LITERAL(40, 379, 16) // "setDebayerAction"

    },
    "FITSViewer\0guideStarSelected\0\0x\0y\0"
    "openFile\0saveFile\0saveFileAs\0copyFITS\0"
    "statFITS\0headerFITS\0debayerFITS\0"
    "histoFITS\0stretchFITS\0tabFocusUpdated\0"
    "currentIndex\0updateStatusBar\0msg\0"
    "FITSBar\0id\0ZoomIn\0ZoomOut\0ZoomDefault\0"
    "updateAction\0name\0enable\0updateTabStatus\0"
    "clean\0saveUnsaved\0index\0closeTab\0"
    "toggleStars\0applyFilter\0ftype\0rotateCW\0"
    "rotateCCW\0flipHorizontal\0flipVertical\0"
    "setGamma\0value\0setDebayerAction"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FITSViewer[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       5,    0,  154,    2, 0x0a /* Public */,
       6,    0,  155,    2, 0x0a /* Public */,
       7,    0,  156,    2, 0x0a /* Public */,
       8,    0,  157,    2, 0x0a /* Public */,
       9,    0,  158,    2, 0x0a /* Public */,
      10,    0,  159,    2, 0x0a /* Public */,
      11,    0,  160,    2, 0x0a /* Public */,
      12,    0,  161,    2, 0x0a /* Public */,
      13,    0,  162,    2, 0x0a /* Public */,
      14,    1,  163,    2, 0x0a /* Public */,
      16,    2,  166,    2, 0x0a /* Public */,
      20,    0,  171,    2, 0x0a /* Public */,
      21,    0,  172,    2, 0x0a /* Public */,
      22,    0,  173,    2, 0x0a /* Public */,
      23,    2,  174,    2, 0x0a /* Public */,
      26,    1,  179,    2, 0x0a /* Public */,
      28,    1,  182,    2, 0x0a /* Public */,
      30,    1,  185,    2, 0x0a /* Public */,
      31,    0,  188,    2, 0x0a /* Public */,
      32,    1,  189,    2, 0x0a /* Public */,
      34,    0,  192,    2, 0x0a /* Public */,
      35,    0,  193,    2, 0x0a /* Public */,
      36,    0,  194,    2, 0x0a /* Public */,
      37,    0,  195,    2, 0x0a /* Public */,
      38,    1,  196,    2, 0x0a /* Public */,
      40,    1,  199,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 18,   17,   19,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,   24,   25,
    QMetaType::Void, QMetaType::Bool,   27,
    QMetaType::Int, QMetaType::Int,   29,
    QMetaType::Void, QMetaType::Int,   29,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   33,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   39,
    QMetaType::Void, QMetaType::Bool,    2,

       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->guideStarSelected((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->openFile(); break;
        case 2: _t->saveFile(); break;
        case 3: _t->saveFileAs(); break;
        case 4: _t->copyFITS(); break;
        case 5: _t->statFITS(); break;
        case 6: _t->headerFITS(); break;
        case 7: _t->debayerFITS(); break;
        case 8: _t->histoFITS(); break;
        case 9: _t->stretchFITS(); break;
        case 10: _t->tabFocusUpdated((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->updateStatusBar((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< FITSBar(*)>(_a[2]))); break;
        case 12: _t->ZoomIn(); break;
        case 13: _t->ZoomOut(); break;
        case 14: _t->ZoomDefault(); break;
        case 15: _t->updateAction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 16: _t->updateTabStatus((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 17: { int _r = _t->saveUnsaved((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 18: _t->closeTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 19: _t->toggleStars(); break;
        case 20: _t->applyFilter((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: _t->rotateCW(); break;
        case 22: _t->rotateCCW(); break;
        case 23: _t->flipHorizontal(); break;
        case 24: _t->flipVertical(); break;
        case 25: _t->setGamma((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 26: _t->setDebayerAction((*reinterpret_cast< bool(*)>(_a[1]))); 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::guideStarSelected)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject FITSViewer::staticMetaObject = {
    { &KXmlGuiWindow::staticMetaObject, qt_meta_stringdata_FITSViewer.data,
      qt_meta_data_FITSViewer,  qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_FITSViewer.stringdata0))
        return static_cast<void*>(const_cast< FITSViewer*>(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 < 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 FITSViewer::guideStarSelected(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, 0, _a);
}
QT_END_MOC_NAMESPACE
