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

#include "../../../../src/marble-17.04.3/src/lib/marble/cloudsync/OwncloudSyncBackend.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QVector>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'OwncloudSyncBackend.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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
struct qt_meta_stringdata_Marble__OwncloudSyncBackend_t {
    QByteArrayData data[23];
    char stringdata0[353];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__OwncloudSyncBackend_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__OwncloudSyncBackend_t qt_meta_stringdata_Marble__OwncloudSyncBackend = {
    {
QT_MOC_LITERAL(0, 0, 27), // "Marble::OwncloudSyncBackend"
QT_MOC_LITERAL(1, 28, 19), // "routeListDownloaded"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 18), // "QVector<RouteItem>"
QT_MOC_LITERAL(4, 68, 9), // "routeList"
QT_MOC_LITERAL(5, 78, 15), // "routeDownloaded"
QT_MOC_LITERAL(6, 94, 12), // "routeDeleted"
QT_MOC_LITERAL(7, 107, 19), // "routeUploadProgress"
QT_MOC_LITERAL(8, 127, 4), // "sent"
QT_MOC_LITERAL(9, 132, 5), // "total"
QT_MOC_LITERAL(10, 138, 21), // "routeDownloadProgress"
QT_MOC_LITERAL(11, 160, 8), // "received"
QT_MOC_LITERAL(12, 169, 25), // "routeListDownloadProgress"
QT_MOC_LITERAL(13, 195, 16), // "removedFromCache"
QT_MOC_LITERAL(14, 212, 9), // "timestamp"
QT_MOC_LITERAL(15, 222, 12), // "cancelUpload"
QT_MOC_LITERAL(16, 235, 14), // "checkAuthReply"
QT_MOC_LITERAL(17, 250, 14), // "checkAuthError"
QT_MOC_LITERAL(18, 265, 27), // "QNetworkReply::NetworkError"
QT_MOC_LITERAL(19, 293, 5), // "error"
QT_MOC_LITERAL(20, 299, 16), // "prepareRouteList"
QT_MOC_LITERAL(21, 316, 19), // "saveDownloadedRoute"
QT_MOC_LITERAL(22, 336, 16) // "validateSettings"

    },
    "Marble::OwncloudSyncBackend\0"
    "routeListDownloaded\0\0QVector<RouteItem>\0"
    "routeList\0routeDownloaded\0routeDeleted\0"
    "routeUploadProgress\0sent\0total\0"
    "routeDownloadProgress\0received\0"
    "routeListDownloadProgress\0removedFromCache\0"
    "timestamp\0cancelUpload\0checkAuthReply\0"
    "checkAuthError\0QNetworkReply::NetworkError\0"
    "error\0prepareRouteList\0saveDownloadedRoute\0"
    "validateSettings"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__OwncloudSyncBackend[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,
       5,    0,   82,    2, 0x06 /* Public */,
       6,    0,   83,    2, 0x06 /* Public */,
       7,    2,   84,    2, 0x06 /* Public */,
      10,    2,   89,    2, 0x06 /* Public */,
      12,    2,   94,    2, 0x06 /* Public */,
      13,    1,   99,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    0,  102,    2, 0x0a /* Public */,
      16,    0,  103,    2, 0x08 /* Private */,
      17,    1,  104,    2, 0x08 /* Private */,
      20,    0,  107,    2, 0x08 /* Private */,
      21,    0,  108,    2, 0x08 /* Private */,
      22,    0,  109,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,    8,    9,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,   11,    9,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,   11,    9,
    QMetaType::Void, QMetaType::QString,   14,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 18,   19,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Marble::OwncloudSyncBackend::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        OwncloudSyncBackend *_t = static_cast<OwncloudSyncBackend *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->routeListDownloaded((*reinterpret_cast< const QVector<RouteItem>(*)>(_a[1]))); break;
        case 1: _t->routeDownloaded(); break;
        case 2: _t->routeDeleted(); break;
        case 3: _t->routeUploadProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 4: _t->routeDownloadProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 5: _t->routeListDownloadProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 6: _t->removedFromCache((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->cancelUpload(); break;
        case 8: _t->checkAuthReply(); break;
        case 9: _t->checkAuthError((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1]))); break;
        case 10: _t->prepareRouteList(); break;
        case 11: _t->saveDownloadedRoute(); break;
        case 12: _t->validateSettings(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QNetworkReply::NetworkError >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (OwncloudSyncBackend::*_t)(const QVector<RouteItem> & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OwncloudSyncBackend::routeListDownloaded)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (OwncloudSyncBackend::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OwncloudSyncBackend::routeDownloaded)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (OwncloudSyncBackend::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OwncloudSyncBackend::routeDeleted)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (OwncloudSyncBackend::*_t)(qint64 , qint64 );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OwncloudSyncBackend::routeUploadProgress)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (OwncloudSyncBackend::*_t)(qint64 , qint64 );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OwncloudSyncBackend::routeDownloadProgress)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (OwncloudSyncBackend::*_t)(qint64 , qint64 );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OwncloudSyncBackend::routeListDownloadProgress)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (OwncloudSyncBackend::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OwncloudSyncBackend::removedFromCache)) {
                *result = 6;
                return;
            }
        }
    }
}

const QMetaObject Marble::OwncloudSyncBackend::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__OwncloudSyncBackend.data,
      qt_meta_data_Marble__OwncloudSyncBackend,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Marble::OwncloudSyncBackend::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Marble__OwncloudSyncBackend.stringdata0))
        return static_cast<void*>(const_cast< OwncloudSyncBackend*>(this));
    return QObject::qt_metacast(_clname);
}

int Marble::OwncloudSyncBackend::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    return _id;
}

// SIGNAL 0
void Marble::OwncloudSyncBackend::routeListDownloaded(const QVector<RouteItem> & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Marble::OwncloudSyncBackend::routeDownloaded()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void Marble::OwncloudSyncBackend::routeDeleted()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void Marble::OwncloudSyncBackend::routeUploadProgress(qint64 _t1, qint64 _t2)
{
    void *_a[] = { Q_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 Marble::OwncloudSyncBackend::routeDownloadProgress(qint64 _t1, qint64 _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Marble::OwncloudSyncBackend::routeListDownloadProgress(qint64 _t1, qint64 _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Marble::OwncloudSyncBackend::removedFromCache(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_END_MOC_NAMESPACE
