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

#include "../../../../src/marble-17.12.3/src/lib/marble/RenderPlugin.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'RenderPlugin.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_Marble__RenderPlugin_t {
    QByteArrayData data[29];
    char stringdata0[342];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__RenderPlugin_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__RenderPlugin_t qt_meta_stringdata_Marble__RenderPlugin = {
    {
QT_MOC_LITERAL(0, 0, 20), // "Marble::RenderPlugin"
QT_MOC_LITERAL(1, 21, 17), // "visibilityChanged"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 7), // "visible"
QT_MOC_LITERAL(4, 48, 6), // "nameId"
QT_MOC_LITERAL(5, 55, 14), // "enabledChanged"
QT_MOC_LITERAL(6, 70, 6), // "enable"
QT_MOC_LITERAL(7, 77, 20), // "userCheckableChanged"
QT_MOC_LITERAL(8, 98, 15), // "isUserCheckable"
QT_MOC_LITERAL(9, 114, 15), // "settingsChanged"
QT_MOC_LITERAL(10, 130, 19), // "actionGroupsChanged"
QT_MOC_LITERAL(11, 150, 13), // "repaintNeeded"
QT_MOC_LITERAL(12, 164, 11), // "dirtyRegion"
QT_MOC_LITERAL(13, 176, 10), // "setEnabled"
QT_MOC_LITERAL(14, 187, 7), // "enabled"
QT_MOC_LITERAL(15, 195, 10), // "setVisible"
QT_MOC_LITERAL(16, 206, 16), // "setUserCheckable"
QT_MOC_LITERAL(17, 223, 22), // "restoreDefaultSettings"
QT_MOC_LITERAL(18, 246, 11), // "settingKeys"
QT_MOC_LITERAL(19, 258, 10), // "setSetting"
QT_MOC_LITERAL(20, 269, 3), // "key"
QT_MOC_LITERAL(21, 273, 5), // "value"
QT_MOC_LITERAL(22, 279, 7), // "setting"
QT_MOC_LITERAL(23, 287, 6), // "action"
QT_MOC_LITERAL(24, 294, 8), // "QAction*"
QT_MOC_LITERAL(25, 303, 4), // "name"
QT_MOC_LITERAL(26, 308, 7), // "version"
QT_MOC_LITERAL(27, 316, 11), // "description"
QT_MOC_LITERAL(28, 328, 13) // "userCheckable"

    },
    "Marble::RenderPlugin\0visibilityChanged\0"
    "\0visible\0nameId\0enabledChanged\0enable\0"
    "userCheckableChanged\0isUserCheckable\0"
    "settingsChanged\0actionGroupsChanged\0"
    "repaintNeeded\0dirtyRegion\0setEnabled\0"
    "enabled\0setVisible\0setUserCheckable\0"
    "restoreDefaultSettings\0settingKeys\0"
    "setSetting\0key\0value\0setting\0action\0"
    "QAction*\0name\0version\0description\0"
    "userCheckable"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__RenderPlugin[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   89,    2, 0x06 /* Public */,
       5,    1,   94,    2, 0x06 /* Public */,
       7,    1,   97,    2, 0x06 /* Public */,
       9,    1,  100,    2, 0x06 /* Public */,
      10,    0,  103,    2, 0x06 /* Public */,
      11,    1,  104,    2, 0x06 /* Public */,
      11,    0,  107,    2, 0x26 /* Public | MethodCloned */,

 // slots: name, argc, parameters, tag, flags
      13,    1,  108,    2, 0x0a /* Public */,
      15,    1,  111,    2, 0x0a /* Public */,
      16,    1,  114,    2, 0x0a /* Public */,
      17,    0,  117,    2, 0x0a /* Public */,
      18,    0,  118,    2, 0x0a /* Public */,
      19,    2,  119,    2, 0x0a /* Public */,
      22,    1,  124,    2, 0x0a /* Public */,
      23,    0,  127,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRegion,   12,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,   14,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void,
    QMetaType::QStringList,
    QMetaType::Bool, QMetaType::QString, QMetaType::QVariant,   20,   21,
    QMetaType::QVariant, QMetaType::QString,   20,
    0x80000000 | 24,

 // properties: name, type, flags
      25, QMetaType::QString, 0x00095401,
       4, QMetaType::QString, 0x00095401,
      26, QMetaType::QString, 0x00095401,
      27, QMetaType::QString, 0x00095401,
      14, QMetaType::Bool, 0x00495103,
       3, QMetaType::Bool, 0x00495103,
      28, QMetaType::Bool, 0x00495103,

 // properties: notify_signal_id
       0,
       0,
       0,
       0,
       1,
       0,
       2,

       0        // eod
};

void Marble::RenderPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        RenderPlugin *_t = static_cast<RenderPlugin *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->visibilityChanged((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->enabledChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->userCheckableChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->settingsChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->actionGroupsChanged(); break;
        case 5: _t->repaintNeeded((*reinterpret_cast< const QRegion(*)>(_a[1]))); break;
        case 6: _t->repaintNeeded(); break;
        case 7: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->setVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->setUserCheckable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->restoreDefaultSettings(); break;
        case 11: { QStringList _r = _t->settingKeys();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 12: { bool _r = _t->setSetting((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 13: { QVariant _r = _t->setting((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break;
        case 14: { QAction* _r = _t->action();
            if (_a[0]) *reinterpret_cast< QAction**>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (RenderPlugin::*_t)(bool , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RenderPlugin::visibilityChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (RenderPlugin::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RenderPlugin::enabledChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (RenderPlugin::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RenderPlugin::userCheckableChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (RenderPlugin::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RenderPlugin::settingsChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (RenderPlugin::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RenderPlugin::actionGroupsChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (RenderPlugin::*_t)(const QRegion & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RenderPlugin::repaintNeeded)) {
                *result = 5;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        RenderPlugin *_t = static_cast<RenderPlugin *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->nameId(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->version(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->description(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->enabled(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->visible(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->isUserCheckable(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        RenderPlugin *_t = static_cast<RenderPlugin *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 4: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setVisible(*reinterpret_cast< bool*>(_v)); break;
        case 6: _t->setUserCheckable(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Marble::RenderPlugin::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__RenderPlugin.data,
      qt_meta_data_Marble__RenderPlugin,  qt_static_metacall, nullptr, nullptr}
};


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

void *Marble::RenderPlugin::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Marble__RenderPlugin.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "RenderPluginInterface"))
        return static_cast< RenderPluginInterface*>(this);
    return QObject::qt_metacast(_clname);
}

int Marble::RenderPlugin::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 < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 15;
    }
#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 -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Marble::RenderPlugin::visibilityChanged(bool _t1, const QString & _t2)
{
    void *_a[] = { 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 Marble::RenderPlugin::enabledChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Marble::RenderPlugin::userCheckableChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Marble::RenderPlugin::settingsChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Marble::RenderPlugin::actionGroupsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void Marble::RenderPlugin::repaintNeeded(const QRegion & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
