/****************************************************************************
** Meta object code from reading C++ file 'execute.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/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.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_Execute_t {
    QByteArrayData data[30];
    char stringdata[395];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Execute_t, stringdata) + 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, 14), // "addObservation"
QT_MOC_LITERAL(6, 60, 14), // "slotEndSession"
QT_MOC_LITERAL(7, 75, 12), // "slotLocation"
QT_MOC_LITERAL(8, 88, 11), // "loadTargets"
QT_MOC_LITERAL(9, 100, 14), // "sortTargetList"
QT_MOC_LITERAL(10, 115, 12), // "timeLessThan"
QT_MOC_LITERAL(11, 128, 10), // "SkyObject*"
QT_MOC_LITERAL(12, 139, 13), // "slotSetTarget"
QT_MOC_LITERAL(13, 153, 4), // "name"
QT_MOC_LITERAL(14, 158, 13), // "loadEquipment"
QT_MOC_LITERAL(15, 172, 13), // "loadObservers"
QT_MOC_LITERAL(16, 186, 18), // "loadObservationTab"
QT_MOC_LITERAL(17, 205, 13), // "getObjectName"
QT_MOC_LITERAL(18, 219, 16), // "const SkyObject*"
QT_MOC_LITERAL(19, 236, 1), // "o"
QT_MOC_LITERAL(20, 238, 10), // "translated"
QT_MOC_LITERAL(21, 249, 16), // "selectNextTarget"
QT_MOC_LITERAL(22, 266, 16), // "loadCurrentItems"
QT_MOC_LITERAL(23, 283, 21), // "slotSetCurrentObjects"
QT_MOC_LITERAL(24, 305, 8), // "slotSlew"
QT_MOC_LITERAL(25, 314, 15), // "slotShowSession"
QT_MOC_LITERAL(26, 330, 15), // "slotShowTargets"
QT_MOC_LITERAL(27, 346, 17), // "findIndexOfTarget"
QT_MOC_LITERAL(28, 364, 13), // "slotAddObject"
QT_MOC_LITERAL(29, 378, 16) // "slotRemoveObject"

    },
    "Execute\0slotNext\0\0saveSession\0"
    "addTargetNotes\0addObservation\0"
    "slotEndSession\0slotLocation\0loadTargets\0"
    "sortTargetList\0timeLessThan\0SkyObject*\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,    2,  142,    2, 0x0a /* Public */,
      12,    1,  147,    2, 0x0a /* Public */,
      14,    0,  150,    2, 0x0a /* Public */,
      15,    0,  151,    2, 0x0a /* Public */,
      16,    0,  152,    2, 0x0a /* Public */,
      17,    2,  153,    2, 0x0a /* Public */,
      17,    1,  158,    2, 0x2a /* Public | MethodCloned */,
      21,    0,  161,    2, 0x0a /* Public */,
      22,    0,  162,    2, 0x0a /* Public */,
      23,    0,  163,    2, 0x0a /* Public */,
      24,    0,  164,    2, 0x0a /* Public */,
      25,    0,  165,    2, 0x0a /* Public */,
      26,    0,  166,    2, 0x0a /* Public */,
      27,    1,  167,    2, 0x0a /* Public */,
      28,    0,  170,    2, 0x0a /* Public */,
      29,    0,  171,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool, 0x80000000 | 11, 0x80000000 | 11,    2,    2,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::QString, 0x80000000 | 18, QMetaType::Bool,   19,   20,
    QMetaType::QString, 0x80000000 | 18,   19,
    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);
        switch (_id) {
        case 0: _t->slotNext(); break;
        case 1: { bool _r = _t->saveSession();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 2: _t->addTargetNotes(); break;
        case 3: { bool _r = _t->addObservation();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 4: _t->slotEndSession(); break;
        case 5: _t->slotLocation(); break;
        case 6: _t->loadTargets(); break;
        case 7: _t->sortTargetList(); break;
        case 8: { bool _r = _t->timeLessThan((*reinterpret_cast< SkyObject*(*)>(_a[1])),(*reinterpret_cast< SkyObject*(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  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]) = _r; }  break;
        case 14: { QString _r = _t->getObjectName((*reinterpret_cast< const SkyObject*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _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]) = _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, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Execute.stringdata))
        return static_cast<void*>(const_cast< Execute*>(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_END_MOC_NAMESPACE
