/****************************************************************************
** Meta object code from reading C++ file 'horizonmanager.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/tools/horizonmanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'horizonmanager.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_HorizonManagerUI_t {
    QByteArrayData data[1];
    char stringdata0[17];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_HorizonManagerUI_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_HorizonManagerUI_t qt_meta_stringdata_HorizonManagerUI = {
    {
QT_MOC_LITERAL(0, 0, 16) // "HorizonManagerUI"

    },
    "HorizonManagerUI"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_HorizonManagerUI[] = {

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

       0        // eod
};

void HorizonManagerUI::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject HorizonManagerUI::staticMetaObject = {
    { &QFrame::staticMetaObject, qt_meta_stringdata_HorizonManagerUI.data,
      qt_meta_data_HorizonManagerUI,  qt_static_metacall, nullptr, nullptr}
};


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

void *HorizonManagerUI::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_HorizonManagerUI.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Ui::HorizonManager"))
        return static_cast< Ui::HorizonManager*>(this);
    return QFrame::qt_metacast(_clname);
}

int HorizonManagerUI::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QFrame::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_HorizonManager_t {
    QByteArrayData data[20];
    char stringdata0[247];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_HorizonManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_HorizonManager_t qt_meta_stringdata_HorizonManager = {
    {
QT_MOC_LITERAL(0, 0, 14), // "HorizonManager"
QT_MOC_LITERAL(1, 15, 13), // "slotAddRegion"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 16), // "slotRemoveRegion"
QT_MOC_LITERAL(4, 47, 11), // "addSkyPoint"
QT_MOC_LITERAL(5, 59, 9), // "SkyPoint*"
QT_MOC_LITERAL(6, 69, 8), // "skypoint"
QT_MOC_LITERAL(7, 78, 12), // "slotAddPoint"
QT_MOC_LITERAL(8, 91, 15), // "slotRemovePoint"
QT_MOC_LITERAL(9, 107, 11), // "clearPoints"
QT_MOC_LITERAL(10, 119, 15), // "setSelectPoints"
QT_MOC_LITERAL(11, 135, 15), // "processSkyPoint"
QT_MOC_LITERAL(12, 151, 14), // "QStandardItem*"
QT_MOC_LITERAL(13, 166, 4), // "item"
QT_MOC_LITERAL(14, 171, 3), // "row"
QT_MOC_LITERAL(15, 175, 15), // "verifyItemValue"
QT_MOC_LITERAL(16, 191, 16), // "checkRegionState"
QT_MOC_LITERAL(17, 208, 15), // "slotSaveChanges"
QT_MOC_LITERAL(18, 224, 18), // "slotSetShownRegion"
QT_MOC_LITERAL(19, 243, 3) // "idx"

    },
    "HorizonManager\0slotAddRegion\0\0"
    "slotRemoveRegion\0addSkyPoint\0SkyPoint*\0"
    "skypoint\0slotAddPoint\0slotRemovePoint\0"
    "clearPoints\0setSelectPoints\0processSkyPoint\0"
    "QStandardItem*\0item\0row\0verifyItemValue\0"
    "checkRegionState\0slotSaveChanges\0"
    "slotSetShownRegion\0idx"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_HorizonManager[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   74,    2, 0x0a /* Public */,
       3,    0,   75,    2, 0x0a /* Public */,
       4,    1,   76,    2, 0x0a /* Public */,
       7,    0,   79,    2, 0x0a /* Public */,
       8,    0,   80,    2, 0x0a /* Public */,
       9,    0,   81,    2, 0x0a /* Public */,
      10,    1,   82,    2, 0x0a /* Public */,
      11,    2,   85,    2, 0x08 /* Private */,
      15,    1,   90,    2, 0x08 /* Private */,
      16,    1,   93,    2, 0x08 /* Private */,
      17,    0,   96,    2, 0x08 /* Private */,
      18,    1,   97,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, 0x80000000 | 12, QMetaType::Int,   13,   14,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex,   19,

       0        // eod
};

void HorizonManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        HorizonManager *_t = static_cast<HorizonManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotAddRegion(); break;
        case 1: _t->slotRemoveRegion(); break;
        case 2: _t->addSkyPoint((*reinterpret_cast< SkyPoint*(*)>(_a[1]))); break;
        case 3: _t->slotAddPoint(); break;
        case 4: _t->slotRemovePoint(); break;
        case 5: _t->clearPoints(); break;
        case 6: _t->setSelectPoints((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->processSkyPoint((*reinterpret_cast< QStandardItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 8: _t->verifyItemValue((*reinterpret_cast< QStandardItem*(*)>(_a[1]))); break;
        case 9: _t->checkRegionState((*reinterpret_cast< QStandardItem*(*)>(_a[1]))); break;
        case 10: _t->slotSaveChanges(); break;
        case 11: _t->slotSetShownRegion((*reinterpret_cast< QModelIndex(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject HorizonManager::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_HorizonManager.data,
      qt_meta_data_HorizonManager,  qt_static_metacall, nullptr, nullptr}
};


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

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

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