/****************************************************************************
** Meta object code from reading C++ file 'MarbleDBusInterface.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/marble-17.08.3/src/lib/marble/MarbleDBusInterface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MarbleDBusInterface.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_Marble__MarbleDBusInterface_t {
    QByteArrayData data[22];
    char stringdata0[282];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__MarbleDBusInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__MarbleDBusInterface_t qt_meta_stringdata_Marble__MarbleDBusInterface = {
    {
QT_MOC_LITERAL(0, 0, 27), // "Marble::MarbleDBusInterface"
QT_MOC_LITERAL(1, 28, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 44, 14), // "org.kde.marble"
QT_MOC_LITERAL(3, 59, 15), // "mapThemeChanged"
QT_MOC_LITERAL(4, 75, 0), // ""
QT_MOC_LITERAL(5, 76, 8), // "mapTheme"
QT_MOC_LITERAL(6, 85, 16), // "tileLevelChanged"
QT_MOC_LITERAL(7, 102, 9), // "tileLevel"
QT_MOC_LITERAL(8, 112, 11), // "zoomChanged"
QT_MOC_LITERAL(9, 124, 4), // "zoom"
QT_MOC_LITERAL(10, 129, 13), // "centerChanged"
QT_MOC_LITERAL(11, 143, 6), // "center"
QT_MOC_LITERAL(12, 150, 11), // "setMapTheme"
QT_MOC_LITERAL(13, 162, 7), // "setZoom"
QT_MOC_LITERAL(14, 170, 10), // "properties"
QT_MOC_LITERAL(15, 181, 9), // "setCenter"
QT_MOC_LITERAL(16, 191, 18), // "setPropertyEnabled"
QT_MOC_LITERAL(17, 210, 3), // "key"
QT_MOC_LITERAL(18, 214, 7), // "enabled"
QT_MOC_LITERAL(19, 222, 17), // "isPropertyEnabled"
QT_MOC_LITERAL(20, 240, 31), // "handleVisibleLatLonAltBoxChange"
QT_MOC_LITERAL(21, 272, 9) // "mapThemes"

    },
    "Marble::MarbleDBusInterface\0D-Bus Interface\0"
    "org.kde.marble\0mapThemeChanged\0\0"
    "mapTheme\0tileLevelChanged\0tileLevel\0"
    "zoomChanged\0zoom\0centerChanged\0center\0"
    "setMapTheme\0setZoom\0properties\0setCenter\0"
    "setPropertyEnabled\0key\0enabled\0"
    "isPropertyEnabled\0handleVisibleLatLonAltBoxChange\0"
    "mapThemes"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__MarbleDBusInterface[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
      11,   16, // methods
       6,  102, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    1,   71,    4, 0x06 /* Public */,
       6,    1,   74,    4, 0x06 /* Public */,
       8,    1,   77,    4, 0x06 /* Public */,
      10,    1,   80,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    1,   83,    4, 0x0a /* Public */,
      13,    1,   86,    4, 0x0a /* Public */,
      14,    0,   89,    4, 0x0a /* Public */,
      15,    1,   90,    4, 0x0a /* Public */,
      16,    2,   93,    4, 0x0a /* Public */,
      19,    1,   98,    4, 0x0a /* Public */,
      20,    0,  101,    4, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::QPointF,   11,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::QStringList,
    QMetaType::Void, QMetaType::QPointF,   11,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,   17,   18,
    QMetaType::Bool, QMetaType::QString,   17,
    QMetaType::Void,

 // properties: name, type, flags
       5, QMetaType::QString, 0x00495103,
      21, QMetaType::QStringList, 0x00095001,
       7, QMetaType::Int, 0x00495001,
       9, QMetaType::Int, 0x00495103,
      14, QMetaType::QStringList, 0x00095001,
      11, QMetaType::QPointF, 0x00495103,

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

       0        // eod
};

void Marble::MarbleDBusInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MarbleDBusInterface *_t = static_cast<MarbleDBusInterface *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->mapThemeChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->tileLevelChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->zoomChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->centerChanged((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 4: _t->setMapTheme((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->setZoom((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: { QStringList _r = _t->properties();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->setCenter((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 8: _t->setPropertyEnabled((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 9: { bool _r = _t->isPropertyEnabled((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->handleVisibleLatLonAltBoxChange(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (MarbleDBusInterface::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleDBusInterface::mapThemeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (MarbleDBusInterface::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleDBusInterface::tileLevelChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (MarbleDBusInterface::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleDBusInterface::zoomChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (MarbleDBusInterface::*_t)(const QPointF & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleDBusInterface::centerChanged)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        MarbleDBusInterface *_t = static_cast<MarbleDBusInterface *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->mapTheme(); break;
        case 1: *reinterpret_cast< QStringList*>(_v) = _t->mapThemes(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->tileLevel(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->zoom(); break;
        case 4: *reinterpret_cast< QStringList*>(_v) = _t->properties(); break;
        case 5: *reinterpret_cast< QPointF*>(_v) = _t->center(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        MarbleDBusInterface *_t = static_cast<MarbleDBusInterface *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setMapTheme(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setZoom(*reinterpret_cast< int*>(_v)); break;
        case 5: _t->setCenter(*reinterpret_cast< QPointF*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Marble::MarbleDBusInterface::staticMetaObject = {
    { &QDBusAbstractAdaptor::staticMetaObject, qt_meta_stringdata_Marble__MarbleDBusInterface.data,
      qt_meta_data_Marble__MarbleDBusInterface,  qt_static_metacall, nullptr, nullptr}
};


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

void *Marble::MarbleDBusInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Marble__MarbleDBusInterface.stringdata0))
        return static_cast<void*>(this);
    return QDBusAbstractAdaptor::qt_metacast(_clname);
}

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

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

// SIGNAL 1
void Marble::MarbleDBusInterface::tileLevelChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

// SIGNAL 3
void Marble::MarbleDBusInterface::centerChanged(const QPointF & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
