/****************************************************************************
** Meta object code from reading C++ file 'StelGui.hpp'
**
** 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/stellarium-0.14.3/src/gui/StelGui.hpp"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'StelGui.hpp' 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_StelGui_t {
    QByteArrayData data[29];
    char stringdata0[499];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_StelGui_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_StelGui_t qt_meta_stringdata_StelGui = {
    {
QT_MOC_LITERAL(0, 0, 7), // "StelGui"
QT_MOC_LITERAL(1, 8, 22), // "setFlagShowFlipButtons"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 1), // "b"
QT_MOC_LITERAL(4, 34, 33), // "setFlagShowNebulaBackgroundBu..."
QT_MOC_LITERAL(5, 68, 25), // "setFlagShowDecimalDegrees"
QT_MOC_LITERAL(6, 94, 30), // "getAutoHideHorizontalButtonBar"
QT_MOC_LITERAL(7, 125, 30), // "setAutoHideHorizontalButtonBar"
QT_MOC_LITERAL(8, 156, 28), // "getAutoHideVerticalButtonBar"
QT_MOC_LITERAL(9, 185, 28), // "setAutoHideVerticalButtonBar"
QT_MOC_LITERAL(10, 214, 13), // "setScriptKeys"
QT_MOC_LITERAL(11, 228, 19), // "increaseScriptSpeed"
QT_MOC_LITERAL(12, 248, 19), // "decreaseScriptSpeed"
QT_MOC_LITERAL(13, 268, 18), // "setRealScriptSpeed"
QT_MOC_LITERAL(14, 287, 10), // "stopScript"
QT_MOC_LITERAL(15, 298, 11), // "pauseScript"
QT_MOC_LITERAL(16, 310, 12), // "resumeScript"
QT_MOC_LITERAL(17, 323, 13), // "setGuiVisible"
QT_MOC_LITERAL(18, 337, 11), // "reloadStyle"
QT_MOC_LITERAL(19, 349, 13), // "scriptStarted"
QT_MOC_LITERAL(20, 363, 13), // "scriptStopped"
QT_MOC_LITERAL(21, 377, 12), // "setStelStyle"
QT_MOC_LITERAL(22, 390, 7), // "section"
QT_MOC_LITERAL(23, 398, 4), // "quit"
QT_MOC_LITERAL(24, 403, 10), // "updateI18n"
QT_MOC_LITERAL(25, 414, 22), // "copySelectedObjectInfo"
QT_MOC_LITERAL(26, 437, 7), // "visible"
QT_MOC_LITERAL(27, 445, 27), // "autoHideHorizontalButtonBar"
QT_MOC_LITERAL(28, 473, 25) // "autoHideVerticalButtonBar"

    },
    "StelGui\0setFlagShowFlipButtons\0\0b\0"
    "setFlagShowNebulaBackgroundButton\0"
    "setFlagShowDecimalDegrees\0"
    "getAutoHideHorizontalButtonBar\0"
    "setAutoHideHorizontalButtonBar\0"
    "getAutoHideVerticalButtonBar\0"
    "setAutoHideVerticalButtonBar\0setScriptKeys\0"
    "increaseScriptSpeed\0decreaseScriptSpeed\0"
    "setRealScriptSpeed\0stopScript\0pauseScript\0"
    "resumeScript\0setGuiVisible\0reloadStyle\0"
    "scriptStarted\0scriptStopped\0setStelStyle\0"
    "section\0quit\0updateI18n\0copySelectedObjectInfo\0"
    "visible\0autoHideHorizontalButtonBar\0"
    "autoHideVerticalButtonBar"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_StelGui[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,  124,    2, 0x0a /* Public */,
       4,    1,  127,    2, 0x0a /* Public */,
       5,    1,  130,    2, 0x0a /* Public */,
       6,    0,  133,    2, 0x0a /* Public */,
       7,    1,  134,    2, 0x0a /* Public */,
       8,    0,  137,    2, 0x0a /* Public */,
       9,    1,  138,    2, 0x0a /* Public */,
      10,    1,  141,    2, 0x0a /* Public */,
      11,    0,  144,    2, 0x0a /* Public */,
      12,    0,  145,    2, 0x0a /* Public */,
      13,    0,  146,    2, 0x0a /* Public */,
      14,    0,  147,    2, 0x0a /* Public */,
      15,    0,  148,    2, 0x0a /* Public */,
      16,    0,  149,    2, 0x0a /* Public */,
      17,    1,  150,    2, 0x0a /* Public */,
      18,    0,  153,    2, 0x08 /* Private */,
      19,    0,  154,    2, 0x08 /* Private */,
      20,    0,  155,    2, 0x08 /* Private */,
      21,    1,  156,    2, 0x08 /* Private */,
      23,    0,  159,    2, 0x08 /* Private */,
      24,    0,  160,    2, 0x08 /* Private */,
      25,    0,  161,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Bool,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Bool,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   22,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      26, QMetaType::Bool, 0x00095103,
      27, QMetaType::Bool, 0x00095103,
      28, QMetaType::Bool, 0x00095103,

       0        // eod
};

void StelGui::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        StelGui *_t = static_cast<StelGui *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setFlagShowFlipButtons((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->setFlagShowNebulaBackgroundButton((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->setFlagShowDecimalDegrees((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: { bool _r = _t->getAutoHideHorizontalButtonBar();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 4: _t->setAutoHideHorizontalButtonBar((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: { bool _r = _t->getAutoHideVerticalButtonBar();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 6: _t->setAutoHideVerticalButtonBar((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->setScriptKeys((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->increaseScriptSpeed(); break;
        case 9: _t->decreaseScriptSpeed(); break;
        case 10: _t->setRealScriptSpeed(); break;
        case 11: _t->stopScript(); break;
        case 12: _t->pauseScript(); break;
        case 13: _t->resumeScript(); break;
        case 14: _t->setGuiVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->reloadStyle(); break;
        case 16: _t->scriptStarted(); break;
        case 17: _t->scriptStopped(); break;
        case 18: _t->setStelStyle((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: _t->quit(); break;
        case 20: _t->updateI18n(); break;
        case 21: _t->copySelectedObjectInfo(); break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        StelGui *_t = static_cast<StelGui *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->getVisible(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->getAutoHideHorizontalButtonBar(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->getAutoHideVerticalButtonBar(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        StelGui *_t = static_cast<StelGui *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setVisible(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setAutoHideHorizontalButtonBar(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setAutoHideVerticalButtonBar(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject StelGui::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_StelGui.data,
      qt_meta_data_StelGui,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *StelGui::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_StelGui.stringdata0))
        return static_cast<void*>(const_cast< StelGui*>(this));
    if (!strcmp(_clname, "StelGuiBase"))
        return static_cast< StelGuiBase*>(const_cast< StelGui*>(this));
    return QObject::qt_metacast(_clname);
}

int StelGui::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 22;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
