/****************************************************************************
** Meta object code from reading C++ file 'OfflineDataModel.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/declarative/OfflineDataModel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'OfflineDataModel.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_OfflineDataModel_t {
    QByteArrayData data[28];
    char stringdata0[381];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_OfflineDataModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_OfflineDataModel_t qt_meta_stringdata_OfflineDataModel = {
    {
QT_MOC_LITERAL(0, 0, 16), // "OfflineDataModel"
QT_MOC_LITERAL(1, 17, 12), // "countChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 22), // "installationProgressed"
QT_MOC_LITERAL(4, 54, 13), // "newstuffindex"
QT_MOC_LITERAL(5, 68, 8), // "progress"
QT_MOC_LITERAL(6, 77, 20), // "installationFinished"
QT_MOC_LITERAL(7, 98, 18), // "installationFailed"
QT_MOC_LITERAL(8, 117, 5), // "error"
QT_MOC_LITERAL(9, 123, 22), // "uninstallationFinished"
QT_MOC_LITERAL(10, 146, 20), // "setVehicleTypeFilter"
QT_MOC_LITERAL(11, 167, 12), // "VehicleTypes"
QT_MOC_LITERAL(12, 180, 6), // "filter"
QT_MOC_LITERAL(13, 187, 7), // "install"
QT_MOC_LITERAL(14, 195, 5), // "index"
QT_MOC_LITERAL(15, 201, 9), // "uninstall"
QT_MOC_LITERAL(16, 211, 6), // "cancel"
QT_MOC_LITERAL(17, 218, 26), // "handleInstallationProgress"
QT_MOC_LITERAL(18, 245, 26), // "handleInstallationFinished"
QT_MOC_LITERAL(19, 272, 24), // "handleInstallationFailed"
QT_MOC_LITERAL(20, 297, 28), // "handleUninstallationFinished"
QT_MOC_LITERAL(21, 326, 5), // "count"
QT_MOC_LITERAL(22, 332, 11), // "VehicleType"
QT_MOC_LITERAL(23, 344, 4), // "None"
QT_MOC_LITERAL(24, 349, 8), // "Motorcar"
QT_MOC_LITERAL(25, 358, 7), // "Bicycle"
QT_MOC_LITERAL(26, 366, 10), // "Pedestrian"
QT_MOC_LITERAL(27, 377, 3) // "Any"

    },
    "OfflineDataModel\0countChanged\0\0"
    "installationProgressed\0newstuffindex\0"
    "progress\0installationFinished\0"
    "installationFailed\0error\0"
    "uninstallationFinished\0setVehicleTypeFilter\0"
    "VehicleTypes\0filter\0install\0index\0"
    "uninstall\0cancel\0handleInstallationProgress\0"
    "handleInstallationFinished\0"
    "handleInstallationFailed\0"
    "handleUninstallationFinished\0count\0"
    "VehicleType\0None\0Motorcar\0Bicycle\0"
    "Pedestrian\0Any"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_OfflineDataModel[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      13,   14, // methods
       1,  124, // properties
       2,  128, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   79,    2, 0x06 /* Public */,
       3,    2,   80,    2, 0x06 /* Public */,
       6,    1,   85,    2, 0x06 /* Public */,
       7,    2,   88,    2, 0x06 /* Public */,
       9,    1,   93,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    1,   96,    2, 0x0a /* Public */,
      13,    1,   99,    2, 0x0a /* Public */,
      15,    1,  102,    2, 0x0a /* Public */,
      16,    1,  105,    2, 0x0a /* Public */,
      17,    2,  108,    2, 0x08 /* Private */,
      18,    1,  113,    2, 0x08 /* Private */,
      19,    2,  116,    2, 0x08 /* Private */,
      20,    1,  121,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::QReal,    4,    5,
    QMetaType::Void, QMetaType::Int,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    4,    8,
    QMetaType::Void, QMetaType::Int,    4,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::Void, QMetaType::Int, QMetaType::QReal,   14,    5,
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,   14,    8,
    QMetaType::Void, QMetaType::Int,   14,

 // properties: name, type, flags
      21, QMetaType::Int, 0x00495001,

 // properties: notify_signal_id
       0,

 // enums: name, flags, count, data
      22, 0x1,    5,  136,
      11, 0x1,    5,  146,

 // enum data: key, value
      23, uint(OfflineDataModel::None),
      24, uint(OfflineDataModel::Motorcar),
      25, uint(OfflineDataModel::Bicycle),
      26, uint(OfflineDataModel::Pedestrian),
      27, uint(OfflineDataModel::Any),
      23, uint(OfflineDataModel::None),
      24, uint(OfflineDataModel::Motorcar),
      25, uint(OfflineDataModel::Bicycle),
      26, uint(OfflineDataModel::Pedestrian),
      27, uint(OfflineDataModel::Any),

       0        // eod
};

void OfflineDataModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        OfflineDataModel *_t = static_cast<OfflineDataModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->countChanged(); break;
        case 1: _t->installationProgressed((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 2: _t->installationFinished((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->installationFailed((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 4: _t->uninstallationFinished((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->setVehicleTypeFilter((*reinterpret_cast< VehicleTypes(*)>(_a[1]))); break;
        case 6: _t->install((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->uninstall((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->cancel((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->handleInstallationProgress((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 10: _t->handleInstallationFinished((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->handleInstallationFailed((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 12: _t->handleUninstallationFinished((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (OfflineDataModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OfflineDataModel::countChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (OfflineDataModel::*_t)(int , qreal );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OfflineDataModel::installationProgressed)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (OfflineDataModel::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OfflineDataModel::installationFinished)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (OfflineDataModel::*_t)(int , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OfflineDataModel::installationFailed)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (OfflineDataModel::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OfflineDataModel::uninstallationFinished)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        OfflineDataModel *_t = static_cast<OfflineDataModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->count(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject OfflineDataModel::staticMetaObject = {
    { &QSortFilterProxyModel::staticMetaObject, qt_meta_stringdata_OfflineDataModel.data,
      qt_meta_data_OfflineDataModel,  qt_static_metacall, nullptr, nullptr}
};


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

void *OfflineDataModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_OfflineDataModel.stringdata0))
        return static_cast<void*>(this);
    return QSortFilterProxyModel::qt_metacast(_clname);
}

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

// SIGNAL 0
void OfflineDataModel::countChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

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

// SIGNAL 3
void OfflineDataModel::installationFailed(int _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, 3, _a);
}

// SIGNAL 4
void OfflineDataModel::uninstallationFinished(int _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
