/****************************************************************************
** Meta object code from reading C++ file 'RouteSyncManager.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/cloudsync/RouteSyncManager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QVector>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'RouteSyncManager.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__RouteSyncManager_t {
    QByteArrayData data[21];
    char stringdata0[309];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__RouteSyncManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__RouteSyncManager_t qt_meta_stringdata_Marble__RouteSyncManager = {
    {
QT_MOC_LITERAL(0, 0, 24), // "Marble::RouteSyncManager"
QT_MOC_LITERAL(1, 25, 23), // "routeSyncEnabledChanged"
QT_MOC_LITERAL(2, 49, 0), // ""
QT_MOC_LITERAL(3, 50, 7), // "enabled"
QT_MOC_LITERAL(4, 58, 25), // "routeListDownloadProgress"
QT_MOC_LITERAL(5, 84, 8), // "received"
QT_MOC_LITERAL(6, 93, 5), // "total"
QT_MOC_LITERAL(7, 99, 19), // "routeUploadProgress"
QT_MOC_LITERAL(8, 119, 4), // "sent"
QT_MOC_LITERAL(9, 124, 11), // "uploadRoute"
QT_MOC_LITERAL(10, 136, 9), // "timestamp"
QT_MOC_LITERAL(11, 146, 16), // "prepareRouteList"
QT_MOC_LITERAL(12, 163, 13), // "downloadRoute"
QT_MOC_LITERAL(13, 177, 9), // "openRoute"
QT_MOC_LITERAL(14, 187, 11), // "deleteRoute"
QT_MOC_LITERAL(15, 199, 20), // "removeRouteFromCache"
QT_MOC_LITERAL(16, 220, 23), // "updateUploadProgressbar"
QT_MOC_LITERAL(17, 244, 18), // "setRouteModelItems"
QT_MOC_LITERAL(18, 263, 18), // "QVector<RouteItem>"
QT_MOC_LITERAL(19, 282, 9), // "routeList"
QT_MOC_LITERAL(20, 292, 16) // "routeSyncEnabled"

    },
    "Marble::RouteSyncManager\0"
    "routeSyncEnabledChanged\0\0enabled\0"
    "routeListDownloadProgress\0received\0"
    "total\0routeUploadProgress\0sent\0"
    "uploadRoute\0timestamp\0prepareRouteList\0"
    "downloadRoute\0openRoute\0deleteRoute\0"
    "removeRouteFromCache\0updateUploadProgressbar\0"
    "setRouteModelItems\0QVector<RouteItem>\0"
    "routeList\0routeSyncEnabled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__RouteSyncManager[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      11,   14, // methods
       1,  106, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x06 /* Public */,
       4,    2,   72,    2, 0x06 /* Public */,
       7,    2,   77,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    1,   82,    2, 0x0a /* Public */,
      11,    0,   85,    2, 0x0a /* Public */,
      12,    1,   86,    2, 0x0a /* Public */,
      13,    1,   89,    2, 0x0a /* Public */,
      14,    1,   92,    2, 0x0a /* Public */,
      15,    1,   95,    2, 0x0a /* Public */,
      16,    2,   98,    2, 0x0a /* Public */,
      17,    1,  103,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,    5,    6,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,    8,    6,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,    8,    6,
    QMetaType::Void, 0x80000000 | 18,   19,

 // properties: name, type, flags
      20, QMetaType::Bool, 0x00495103,

 // properties: notify_signal_id
       0,

       0        // eod
};

void Marble::RouteSyncManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        RouteSyncManager *_t = static_cast<RouteSyncManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->routeSyncEnabledChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->routeListDownloadProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 2: _t->routeUploadProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 3: _t->uploadRoute((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->prepareRouteList(); break;
        case 5: _t->downloadRoute((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->openRoute((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->deleteRoute((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->removeRouteFromCache((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->updateUploadProgressbar((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 10: _t->setRouteModelItems((*reinterpret_cast< const QVector<RouteItem>(*)>(_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 (RouteSyncManager::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RouteSyncManager::routeSyncEnabledChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (RouteSyncManager::*_t)(qint64 , qint64 );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RouteSyncManager::routeListDownloadProgress)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (RouteSyncManager::*_t)(qint64 , qint64 );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RouteSyncManager::routeUploadProgress)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        RouteSyncManager *_t = static_cast<RouteSyncManager *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isRouteSyncEnabled(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        RouteSyncManager *_t = static_cast<RouteSyncManager *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setRouteSyncEnabled(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Marble::RouteSyncManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__RouteSyncManager.data,
      qt_meta_data_Marble__RouteSyncManager,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Marble::RouteSyncManager::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 < 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 -= 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 Marble::RouteSyncManager::routeSyncEnabledChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Marble::RouteSyncManager::routeListDownloadProgress(qint64 _t1, qint64 _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 Marble::RouteSyncManager::routeUploadProgress(qint64 _t1, qint64 _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
