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

#include "../../src/kstars-15.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.4.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_FITSLabel_t {
    QByteArrayData data[9];
    char stringdata[54];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FITSLabel_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FITSLabel_t qt_meta_stringdata_FITSLabel = {
    {
QT_MOC_LITERAL(0, 0, 9), // "FITSLabel"
QT_MOC_LITERAL(1, 10, 9), // "newStatus"
QT_MOC_LITERAL(2, 20, 0), // ""
QT_MOC_LITERAL(3, 21, 3), // "msg"
QT_MOC_LITERAL(4, 25, 7), // "FITSBar"
QT_MOC_LITERAL(5, 33, 2), // "id"
QT_MOC_LITERAL(6, 36, 13), // "pointSelected"
QT_MOC_LITERAL(7, 50, 1), // "x"
QT_MOC_LITERAL(8, 52, 1) // "y"

    },
    "FITSLabel\0newStatus\0\0msg\0FITSBar\0id\0"
    "pointSelected\0x\0y"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FITSLabel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   24,    2, 0x06 /* Public */,
       6,    2,   29,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, 0x80000000 | 4,    3,    5,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    7,    8,

       0        // eod
};

void FITSLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FITSLabel *_t = static_cast<FITSLabel *>(_o);
        switch (_id) {
        case 0: _t->newStatus((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< FITSBar(*)>(_a[2]))); break;
        case 1: _t->pointSelected((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (FITSLabel::*_t)(const QString & , FITSBar );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FITSLabel::newStatus)) {
                *result = 0;
            }
        }
        {
            typedef void (FITSLabel::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FITSLabel::pointSelected)) {
                *result = 1;
            }
        }
    }
}

const QMetaObject FITSLabel::staticMetaObject = {
    { &QLabel::staticMetaObject, qt_meta_stringdata_FITSLabel.data,
      qt_meta_data_FITSLabel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *FITSLabel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_FITSLabel.stringdata))
        return static_cast<void*>(const_cast< FITSLabel*>(this));
    return QLabel::qt_metacast(_clname);
}

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

// SIGNAL 0
void FITSLabel::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 FITSLabel::pointSelected(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, 1, _a);
}
struct qt_meta_stringdata_FITSView_t {
    QByteArrayData data[17];
    char stringdata[147];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FITSView_t, stringdata) + 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, 13), // "actionUpdated"
QT_MOC_LITERAL(8, 64, 4), // "name"
QT_MOC_LITERAL(9, 69, 6), // "enable"
QT_MOC_LITERAL(10, 76, 17), // "guideStarSelected"
QT_MOC_LITERAL(11, 94, 1), // "x"
QT_MOC_LITERAL(12, 96, 1), // "y"
QT_MOC_LITERAL(13, 98, 6), // "ZoomIn"
QT_MOC_LITERAL(14, 105, 7), // "ZoomOut"
QT_MOC_LITERAL(15, 113, 11), // "ZoomDefault"
QT_MOC_LITERAL(16, 125, 21) // "processPointSelection"

    },
    "FITSView\0newStatus\0\0msg\0FITSBar\0id\0"
    "debayerToggled\0actionUpdated\0name\0"
    "enable\0guideStarSelected\0x\0y\0ZoomIn\0"
    "ZoomOut\0ZoomDefault\0processPointSelection"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FITSView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   54,    2, 0x06 /* Public */,
       6,    1,   59,    2, 0x06 /* Public */,
       7,    2,   62,    2, 0x06 /* Public */,
      10,    2,   67,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    0,   72,    2, 0x0a /* Public */,
      14,    0,   73,    2, 0x0a /* Public */,
      15,    0,   74,    2, 0x0a /* Public */,
      16,    2,   75,    2, 0x0a /* Public */,

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

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

       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);
        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->actionUpdated((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 3: _t->guideStarSelected((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: _t->ZoomIn(); break;
        case 5: _t->ZoomOut(); break;
        case 6: _t->ZoomDefault(); break;
        case 7: _t->processPointSelection((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); 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;
            }
        }
        {
            typedef void (FITSView::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FITSView::debayerToggled)) {
                *result = 1;
            }
        }
        {
            typedef void (FITSView::*_t)(const QString & , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FITSView::actionUpdated)) {
                *result = 2;
            }
        }
        {
            typedef void (FITSView::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FITSView::guideStarSelected)) {
                *result = 3;
            }
        }
    }
}

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

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