/****************************************************************************
** Meta object code from reading C++ file 'execute.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/oal/execute.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'execute.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_Execute_t {
    QByteArrayData data[29];
    char stringdata0[387];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Execute_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Execute_t qt_meta_stringdata_Execute = {
    {
QT_MOC_LITERAL(0, 0, 7), // "Execute"
QT_MOC_LITERAL(1, 8, 8), // "slotNext"
QT_MOC_LITERAL(2, 17, 0), // ""
QT_MOC_LITERAL(3, 18, 11), // "saveSession"
QT_MOC_LITERAL(4, 30, 14), // "addTargetNotes"
QT_MOC_LITERAL(5, 45, 15), // "slotObserverAdd"
QT_MOC_LITERAL(6, 61, 14), // "addObservation"
QT_MOC_LITERAL(7, 76, 14), // "slotEndSession"
QT_MOC_LITERAL(8, 91, 12), // "slotLocation"
QT_MOC_LITERAL(9, 104, 11), // "loadTargets"
QT_MOC_LITERAL(10, 116, 14), // "sortTargetList"
QT_MOC_LITERAL(11, 131, 13), // "slotSetTarget"
QT_MOC_LITERAL(12, 145, 4), // "name"
QT_MOC_LITERAL(13, 150, 13), // "loadEquipment"
QT_MOC_LITERAL(14, 164, 13), // "loadObservers"
QT_MOC_LITERAL(15, 178, 18), // "loadObservationTab"
QT_MOC_LITERAL(16, 197, 13), // "getObjectName"
QT_MOC_LITERAL(17, 211, 16), // "const SkyObject*"
QT_MOC_LITERAL(18, 228, 1), // "o"
QT_MOC_LITERAL(19, 230, 10), // "translated"
QT_MOC_LITERAL(20, 241, 16), // "selectNextTarget"
QT_MOC_LITERAL(21, 258, 16), // "loadCurrentItems"
QT_MOC_LITERAL(22, 275, 21), // "slotSetCurrentObjects"
QT_MOC_LITERAL(23, 297, 8), // "slotSlew"
QT_MOC_LITERAL(24, 306, 15), // "slotShowSession"
QT_MOC_LITERAL(25, 322, 15), // "slotShowTargets"
QT_MOC_LITERAL(26, 338, 17), // "findIndexOfTarget"
QT_MOC_LITERAL(27, 356, 13), // "slotAddObject"
QT_MOC_LITERAL(28, 370, 16) // "slotRemoveObject"

    },
    "Execute\0slotNext\0\0saveSession\0"
    "addTargetNotes\0slotObserverAdd\0"
    "addObservation\0slotEndSession\0"
    "slotLocation\0loadTargets\0sortTargetList\0"
    "slotSetTarget\0name\0loadEquipment\0"
    "loadObservers\0loadObservationTab\0"
    "getObjectName\0const SkyObject*\0o\0"
    "translated\0selectNextTarget\0"
    "loadCurrentItems\0slotSetCurrentObjects\0"
    "slotSlew\0slotShowSession\0slotShowTargets\0"
    "findIndexOfTarget\0slotAddObject\0"
    "slotRemoveObject"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Execute[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  134,    2, 0x0a /* Public */,
       3,    0,  135,    2, 0x0a /* Public */,
       4,    0,  136,    2, 0x0a /* Public */,
       5,    0,  137,    2, 0x0a /* Public */,
       6,    0,  138,    2, 0x0a /* Public */,
       7,    0,  139,    2, 0x0a /* Public */,
       8,    0,  140,    2, 0x0a /* Public */,
       9,    0,  141,    2, 0x0a /* Public */,
      10,    0,  142,    2, 0x0a /* Public */,
      11,    1,  143,    2, 0x0a /* Public */,
      13,    0,  146,    2, 0x0a /* Public */,
      14,    0,  147,    2, 0x0a /* Public */,
      15,    0,  148,    2, 0x0a /* Public */,
      16,    2,  149,    2, 0x0a /* Public */,
      16,    1,  154,    2, 0x2a /* Public | MethodCloned */,
      20,    0,  157,    2, 0x0a /* Public */,
      21,    0,  158,    2, 0x0a /* Public */,
      22,    0,  159,    2, 0x0a /* Public */,
      23,    0,  160,    2, 0x0a /* Public */,
      24,    0,  161,    2, 0x0a /* Public */,
      25,    0,  162,    2, 0x0a /* Public */,
      26,    1,  163,    2, 0x0a /* Public */,
      27,    0,  166,    2, 0x0a /* Public */,
      28,    0,  167,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   12,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::QString, 0x80000000 | 17, QMetaType::Bool,   18,   19,
    QMetaType::QString, 0x80000000 | 17,   18,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Int, QMetaType::QString,    2,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Execute::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Execute *_t = static_cast<Execute *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotNext(); break;
        case 1: { bool _r = _t->saveSession();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 2: _t->addTargetNotes(); break;
        case 3: _t->slotObserverAdd(); break;
        case 4: { bool _r = _t->addObservation();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->slotEndSession(); break;
        case 6: _t->slotLocation(); break;
        case 7: _t->loadTargets(); break;
        case 8: _t->sortTargetList(); break;
        case 9: _t->slotSetTarget((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 10: _t->loadEquipment(); break;
        case 11: _t->loadObservers(); break;
        case 12: _t->loadObservationTab(); break;
        case 13: { QString _r = _t->getObjectName((*reinterpret_cast< const SkyObject*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 14: { QString _r = _t->getObjectName((*reinterpret_cast< const SkyObject*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 15: _t->selectNextTarget(); break;
        case 16: _t->loadCurrentItems(); break;
        case 17: _t->slotSetCurrentObjects(); break;
        case 18: _t->slotSlew(); break;
        case 19: _t->slotShowSession(); break;
        case 20: _t->slotShowTargets(); break;
        case 21: { int _r = _t->findIndexOfTarget((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 22: _t->slotAddObject(); break;
        case 23: _t->slotRemoveObject(); break;
        default: ;
        }
    }
}

const QMetaObject Execute::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_Execute.data,
      qt_meta_data_Execute,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Execute::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 < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 24;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
