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

#include "../../../../src/marble-15.08.3/src/plugins/declarative/CloudSync.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'CloudSync.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_CloudSync[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      15,   14, // methods
       5,   89, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       7,       // signalCount

 // signals: signature, parameters, type, tag, flags
      11,   10,   10,   10, 0x05,
      24,   10,   10,   10, 0x05,
      44,   10,   10,   10, 0x05,
      70,   10,   10,   10, 0x05,
      94,   10,   10,   10, 0x05,
     120,   10,   10,   10, 0x05,
     151,  146,   10,   10, 0x05,

 // slots: signature, parameters, type, tag, flags
     185,   10,   10,   10, 0x0a,
     210,  199,   10,   10, 0x0a,
     231,  199,   10,   10, 0x0a,
     250,  199,   10,   10, 0x0a,
     273,  199,   10,   10, 0x0a,
     304,  199,   10,   10, 0x0a,
     334,   10,   10,   10, 0x0a,
     350,  146,   10,   10, 0x0a,

 // properties: name, type, flags
     395,  386, 0x88495001,
     420,  406, 0x0049510b,
     432,  424, 0x0a495103,
     447,  424, 0x0a495103,
     464,  424, 0x0a495103,

 // properties: notify_signal_id
       1,
       0,
       3,
       4,
       5,

       0        // eod
};

static const char qt_meta_stringdata_CloudSync[] = {
    "CloudSync\0\0mapChanged()\0routeModelChanged()\0"
    "cloudSyncManagerChanged()\0"
    "owncloudServerChanged()\0"
    "owncloudUsernameChanged()\0"
    "owncloudPasswordChanged()\0item\0"
    "mergeConflict(Marble::MergeItem*)\0"
    "uploadRoute()\0identifier\0uploadRoute(QString)\0"
    "openRoute(QString)\0downloadRoute(QString)\0"
    "removeRouteFromDevice(QString)\0"
    "deleteRouteFromCloud(QString)\0"
    "syncBookmarks()\0resolveConflict(Marble::MergeItem*)\0"
    "QObject*\0routeModel\0MarbleWidget*\0map\0"
    "QString\0owncloudServer\0owncloudUsername\0"
    "owncloudPassword\0"
};

void CloudSync::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        CloudSync *_t = static_cast<CloudSync *>(_o);
        switch (_id) {
        case 0: _t->mapChanged(); break;
        case 1: _t->routeModelChanged(); break;
        case 2: _t->cloudSyncManagerChanged(); break;
        case 3: _t->owncloudServerChanged(); break;
        case 4: _t->owncloudUsernameChanged(); break;
        case 5: _t->owncloudPasswordChanged(); break;
        case 6: _t->mergeConflict((*reinterpret_cast< Marble::MergeItem*(*)>(_a[1]))); break;
        case 7: _t->uploadRoute(); break;
        case 8: _t->uploadRoute((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->openRoute((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->downloadRoute((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->removeRouteFromDevice((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->deleteRouteFromCloud((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->syncBookmarks(); break;
        case 14: _t->resolveConflict((*reinterpret_cast< Marble::MergeItem*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData CloudSync::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject CloudSync::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_CloudSync,
      qt_meta_data_CloudSync, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &CloudSync::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *CloudSync::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_CloudSync))
        return static_cast<void*>(const_cast< CloudSync*>(this));
    return QObject::qt_metacast(_clname);
}

int CloudSync::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 < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QObject**>(_v) = routeModel(); break;
        case 1: *reinterpret_cast< MarbleWidget**>(_v) = map(); break;
        case 2: *reinterpret_cast< QString*>(_v) = owncloudServer(); break;
        case 3: *reinterpret_cast< QString*>(_v) = owncloudUsername(); break;
        case 4: *reinterpret_cast< QString*>(_v) = owncloudPassword(); break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 1: setMap(*reinterpret_cast< MarbleWidget**>(_v)); break;
        case 2: setOwncloudServer(*reinterpret_cast< QString*>(_v)); break;
        case 3: setOwncloudUsername(*reinterpret_cast< QString*>(_v)); break;
        case 4: setOwncloudPassword(*reinterpret_cast< QString*>(_v)); break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void CloudSync::mapChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}

// SIGNAL 1
void CloudSync::routeModelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

// SIGNAL 2
void CloudSync::cloudSyncManagerChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, 0);
}

// SIGNAL 3
void CloudSync::owncloudServerChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, 0);
}

// SIGNAL 4
void CloudSync::owncloudUsernameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, 0);
}

// SIGNAL 5
void CloudSync::owncloudPasswordChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, 0);
}

// SIGNAL 6
void CloudSync::mergeConflict(Marble::MergeItem * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_END_MOC_NAMESPACE
