/****************************************************************************
** Meta object code from reading C++ file 'MarbleModel.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/MarbleModel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MarbleModel.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__MarbleModel_t {
    QByteArrayData data[26];
    char stringdata0[375];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__MarbleModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__MarbleModel_t qt_meta_stringdata_Marble__MarbleModel = {
    {
QT_MOC_LITERAL(0, 0, 19), // "Marble::MarbleModel"
QT_MOC_LITERAL(1, 20, 18), // "creatingTilesStart"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 12), // "TileCreator*"
QT_MOC_LITERAL(4, 53, 4), // "name"
QT_MOC_LITERAL(5, 58, 11), // "description"
QT_MOC_LITERAL(6, 70, 12), // "themeChanged"
QT_MOC_LITERAL(7, 83, 8), // "mapTheme"
QT_MOC_LITERAL(8, 92, 18), // "workOfflineChanged"
QT_MOC_LITERAL(9, 111, 23), // "trackedPlacemarkChanged"
QT_MOC_LITERAL(10, 135, 23), // "const GeoDataPlacemark*"
QT_MOC_LITERAL(11, 159, 9), // "placemark"
QT_MOC_LITERAL(12, 169, 11), // "homeChanged"
QT_MOC_LITERAL(13, 181, 18), // "GeoDataCoordinates"
QT_MOC_LITERAL(14, 200, 12), // "newHomePoint"
QT_MOC_LITERAL(15, 213, 24), // "clearPersistentTileCache"
QT_MOC_LITERAL(16, 238, 27), // "setPersistentTileCacheLimit"
QT_MOC_LITERAL(17, 266, 9), // "kiloBytes"
QT_MOC_LITERAL(18, 276, 19), // "setTrackedPlacemark"
QT_MOC_LITERAL(19, 296, 14), // "updateProperty"
QT_MOC_LITERAL(20, 311, 8), // "property"
QT_MOC_LITERAL(21, 320, 5), // "value"
QT_MOC_LITERAL(22, 326, 16), // "assignFillColors"
QT_MOC_LITERAL(23, 343, 8), // "filePath"
QT_MOC_LITERAL(24, 352, 10), // "mapThemeId"
QT_MOC_LITERAL(25, 363, 11) // "workOffline"

    },
    "Marble::MarbleModel\0creatingTilesStart\0"
    "\0TileCreator*\0name\0description\0"
    "themeChanged\0mapTheme\0workOfflineChanged\0"
    "trackedPlacemarkChanged\0const GeoDataPlacemark*\0"
    "placemark\0homeChanged\0GeoDataCoordinates\0"
    "newHomePoint\0clearPersistentTileCache\0"
    "setPersistentTileCacheLimit\0kiloBytes\0"
    "setTrackedPlacemark\0updateProperty\0"
    "property\0value\0assignFillColors\0"
    "filePath\0mapThemeId\0workOffline"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__MarbleModel[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
       2,   96, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    3,   64,    2, 0x06 /* Public */,
       6,    1,   71,    2, 0x06 /* Public */,
       8,    0,   74,    2, 0x06 /* Public */,
       9,    1,   75,    2, 0x06 /* Public */,
      12,    1,   78,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    0,   81,    2, 0x0a /* Public */,
      16,    1,   82,    2, 0x0a /* Public */,
      18,    1,   85,    2, 0x0a /* Public */,
      19,    2,   88,    2, 0x0a /* Public */,
      22,    1,   93,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString, QMetaType::QString,    2,    4,    5,
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, 0x80000000 | 13,   14,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::ULongLong,   17,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,   20,   21,
    QMetaType::Void, QMetaType::QString,   23,

 // properties: name, type, flags
      24, QMetaType::QString, 0x00495103,
      25, QMetaType::Bool, 0x00495103,

 // properties: notify_signal_id
       1,
       2,

       0        // eod
};

void Marble::MarbleModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MarbleModel *_t = static_cast<MarbleModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->creatingTilesStart((*reinterpret_cast< TileCreator*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 1: _t->themeChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->workOfflineChanged(); break;
        case 3: _t->trackedPlacemarkChanged((*reinterpret_cast< const GeoDataPlacemark*(*)>(_a[1]))); break;
        case 4: _t->homeChanged((*reinterpret_cast< const GeoDataCoordinates(*)>(_a[1]))); break;
        case 5: _t->clearPersistentTileCache(); break;
        case 6: _t->setPersistentTileCacheLimit((*reinterpret_cast< quint64(*)>(_a[1]))); break;
        case 7: _t->setTrackedPlacemark((*reinterpret_cast< const GeoDataPlacemark*(*)>(_a[1]))); break;
        case 8: _t->updateProperty((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 9: _t->d->assignFillColors((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (MarbleModel::*_t)(TileCreator * , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarbleModel::creatingTilesStart)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (MarbleModel::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarbleModel::themeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (MarbleModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarbleModel::workOfflineChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (MarbleModel::*_t)(const GeoDataPlacemark * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarbleModel::trackedPlacemarkChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (MarbleModel::*_t)(const GeoDataCoordinates & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarbleModel::homeChanged)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        MarbleModel *_t = static_cast<MarbleModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->mapThemeId(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->workOffline(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        MarbleModel *_t = static_cast<MarbleModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setMapThemeId(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setWorkOffline(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Marble::MarbleModel::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__MarbleModel.data,
      qt_meta_data_Marble__MarbleModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

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

// SIGNAL 2
void Marble::MarbleModel::workOfflineChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

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

// SIGNAL 4
void Marble::MarbleModel::homeChanged(const GeoDataCoordinates & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
