/****************************************************************************
** Meta object code from reading C++ file 'AbstractWeatherService.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/plugins/render/weather/AbstractWeatherService.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'AbstractWeatherService.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__AbstractWeatherService_t {
    QByteArrayData data[22];
    char stringdata0[287];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__AbstractWeatherService_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__AbstractWeatherService_t qt_meta_stringdata_Marble__AbstractWeatherService = {
    {
QT_MOC_LITERAL(0, 0, 30), // "Marble::AbstractWeatherService"
QT_MOC_LITERAL(1, 31, 17), // "requestedDownload"
QT_MOC_LITERAL(2, 49, 0), // ""
QT_MOC_LITERAL(3, 50, 3), // "url"
QT_MOC_LITERAL(4, 54, 4), // "type"
QT_MOC_LITERAL(5, 59, 23), // "AbstractDataPluginItem*"
QT_MOC_LITERAL(6, 83, 4), // "item"
QT_MOC_LITERAL(7, 88, 12), // "createdItems"
QT_MOC_LITERAL(8, 101, 30), // "QList<AbstractDataPluginItem*>"
QT_MOC_LITERAL(9, 132, 5), // "items"
QT_MOC_LITERAL(10, 138, 32), // "downloadDescriptionFileRequested"
QT_MOC_LITERAL(11, 171, 16), // "setFavoriteItems"
QT_MOC_LITERAL(12, 188, 8), // "favorite"
QT_MOC_LITERAL(13, 197, 13), // "favoriteItems"
QT_MOC_LITERAL(14, 211, 18), // "getAdditionalItems"
QT_MOC_LITERAL(15, 230, 19), // "GeoDataLatLonAltBox"
QT_MOC_LITERAL(16, 250, 3), // "box"
QT_MOC_LITERAL(17, 254, 6), // "number"
QT_MOC_LITERAL(18, 261, 7), // "getItem"
QT_MOC_LITERAL(19, 269, 2), // "id"
QT_MOC_LITERAL(20, 272, 9), // "parseFile"
QT_MOC_LITERAL(21, 282, 4) // "file"

    },
    "Marble::AbstractWeatherService\0"
    "requestedDownload\0\0url\0type\0"
    "AbstractDataPluginItem*\0item\0createdItems\0"
    "QList<AbstractDataPluginItem*>\0items\0"
    "downloadDescriptionFileRequested\0"
    "setFavoriteItems\0favorite\0favoriteItems\0"
    "getAdditionalItems\0GeoDataLatLonAltBox\0"
    "box\0number\0getItem\0id\0parseFile\0file"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__AbstractWeatherService[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,   59,    2, 0x06 /* Public */,
       7,    1,   66,    2, 0x06 /* Public */,
      10,    1,   69,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    1,   72,    2, 0x0a /* Public */,
      13,    0,   75,    2, 0x0a /* Public */,
      14,    2,   76,    2, 0x0a /* Public */,
      14,    1,   81,    2, 0x2a /* Public | MethodCloned */,
      18,    1,   84,    2, 0x0a /* Public */,
      20,    1,   87,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QUrl, QMetaType::QString, 0x80000000 | 5,    3,    4,    6,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, QMetaType::QUrl,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::QStringList,   12,
    QMetaType::QStringList,
    QMetaType::Void, 0x80000000 | 15, QMetaType::Int,   16,   17,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, QMetaType::QString,   19,
    QMetaType::Void, QMetaType::QByteArray,   21,

       0        // eod
};

void Marble::AbstractWeatherService::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AbstractWeatherService *_t = static_cast<AbstractWeatherService *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->requestedDownload((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< AbstractDataPluginItem*(*)>(_a[3]))); break;
        case 1: _t->createdItems((*reinterpret_cast< const QList<AbstractDataPluginItem*>(*)>(_a[1]))); break;
        case 2: _t->downloadDescriptionFileRequested((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 3: _t->setFavoriteItems((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 4: { QStringList _r = _t->favoriteItems();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 5: _t->getAdditionalItems((*reinterpret_cast< const GeoDataLatLonAltBox(*)>(_a[1])),(*reinterpret_cast< qint32(*)>(_a[2]))); break;
        case 6: _t->getAdditionalItems((*reinterpret_cast< const GeoDataLatLonAltBox(*)>(_a[1]))); break;
        case 7: _t->getItem((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->parseFile((*reinterpret_cast< const QByteArray(*)>(_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 (AbstractWeatherService::*_t)(const QUrl & , const QString & , AbstractDataPluginItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractWeatherService::requestedDownload)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AbstractWeatherService::*_t)(const QList<AbstractDataPluginItem*> & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractWeatherService::createdItems)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (AbstractWeatherService::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractWeatherService::downloadDescriptionFileRequested)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject Marble::AbstractWeatherService::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__AbstractWeatherService.data,
      qt_meta_data_Marble__AbstractWeatherService,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Marble::AbstractWeatherService::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void Marble::AbstractWeatherService::requestedDownload(const QUrl & _t1, const QString & _t2, AbstractDataPluginItem * _t3)
{
    void *_a[] = { Q_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::AbstractWeatherService::createdItems(const QList<AbstractDataPluginItem*> & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Marble::AbstractWeatherService::downloadDescriptionFileRequested(const QUrl & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_END_MOC_NAMESPACE
