/****************************************************************************
** Meta object code from reading C++ file 'AbstractDataPluginModel.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/AbstractDataPluginModel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'AbstractDataPluginModel.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__AbstractDataPluginModel_t {
    QByteArrayData data[23];
    char stringdata0[356];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__AbstractDataPluginModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__AbstractDataPluginModel_t qt_meta_stringdata_Marble__AbstractDataPluginModel = {
    {
QT_MOC_LITERAL(0, 0, 31), // "Marble::AbstractDataPluginModel"
QT_MOC_LITERAL(1, 32, 12), // "itemsUpdated"
QT_MOC_LITERAL(2, 45, 0), // ""
QT_MOC_LITERAL(3, 46, 20), // "favoriteItemsChanged"
QT_MOC_LITERAL(4, 67, 13), // "favoriteItems"
QT_MOC_LITERAL(5, 81, 24), // "favoriteItemsOnlyChanged"
QT_MOC_LITERAL(6, 106, 14), // "addItemsToList"
QT_MOC_LITERAL(7, 121, 30), // "QList<AbstractDataPluginItem*>"
QT_MOC_LITERAL(8, 152, 5), // "items"
QT_MOC_LITERAL(9, 158, 13), // "addItemToList"
QT_MOC_LITERAL(10, 172, 23), // "AbstractDataPluginItem*"
QT_MOC_LITERAL(11, 196, 4), // "item"
QT_MOC_LITERAL(12, 201, 5), // "clear"
QT_MOC_LITERAL(13, 207, 21), // "handleChangedViewport"
QT_MOC_LITERAL(14, 229, 18), // "processFinishedJob"
QT_MOC_LITERAL(15, 248, 17), // "relativeUrlString"
QT_MOC_LITERAL(16, 266, 2), // "id"
QT_MOC_LITERAL(17, 269, 10), // "removeItem"
QT_MOC_LITERAL(18, 280, 19), // "favoriteItemChanged"
QT_MOC_LITERAL(19, 300, 10), // "isFavorite"
QT_MOC_LITERAL(20, 311, 16), // "scheduleItemSort"
QT_MOC_LITERAL(21, 328, 12), // "themeChanged"
QT_MOC_LITERAL(22, 341, 14) // "favoritesModel"

    },
    "Marble::AbstractDataPluginModel\0"
    "itemsUpdated\0\0favoriteItemsChanged\0"
    "favoriteItems\0favoriteItemsOnlyChanged\0"
    "addItemsToList\0QList<AbstractDataPluginItem*>\0"
    "items\0addItemToList\0AbstractDataPluginItem*\0"
    "item\0clear\0handleChangedViewport\0"
    "processFinishedJob\0relativeUrlString\0"
    "id\0removeItem\0favoriteItemChanged\0"
    "isFavorite\0scheduleItemSort\0themeChanged\0"
    "favoritesModel"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__AbstractDataPluginModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   74,    2, 0x06 /* Public */,
       3,    1,   75,    2, 0x06 /* Public */,
       5,    0,   78,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,   79,    2, 0x0a /* Public */,
       9,    1,   82,    2, 0x0a /* Public */,
      12,    0,   85,    2, 0x0a /* Public */,
      13,    0,   86,    2, 0x08 /* Private */,
      14,    2,   87,    2, 0x08 /* Private */,
      17,    1,   92,    2, 0x08 /* Private */,
      18,    2,   95,    2, 0x08 /* Private */,
      20,    0,  100,    2, 0x08 /* Private */,
      21,    0,  101,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QStringList,    4,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   15,   16,
    QMetaType::Void, QMetaType::QObjectStar,   11,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,   16,   19,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      22, QMetaType::QObjectStar, 0x00095401,

       0        // eod
};

void Marble::AbstractDataPluginModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AbstractDataPluginModel *_t = static_cast<AbstractDataPluginModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->itemsUpdated(); break;
        case 1: _t->favoriteItemsChanged((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 2: _t->favoriteItemsOnlyChanged(); break;
        case 3: _t->addItemsToList((*reinterpret_cast< const QList<AbstractDataPluginItem*>(*)>(_a[1]))); break;
        case 4: _t->addItemToList((*reinterpret_cast< AbstractDataPluginItem*(*)>(_a[1]))); break;
        case 5: _t->clear(); break;
        case 6: _t->handleChangedViewport(); break;
        case 7: _t->processFinishedJob((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 8: _t->removeItem((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 9: _t->favoriteItemChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 10: _t->scheduleItemSort(); break;
        case 11: _t->themeChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (AbstractDataPluginModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractDataPluginModel::itemsUpdated)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AbstractDataPluginModel::*_t)(const QStringList & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractDataPluginModel::favoriteItemsChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (AbstractDataPluginModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractDataPluginModel::favoriteItemsOnlyChanged)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        AbstractDataPluginModel *_t = static_cast<AbstractDataPluginModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QObject**>(_v) = _t->favoritesModel(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Marble::AbstractDataPluginModel::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__AbstractDataPluginModel.data,
      qt_meta_data_Marble__AbstractDataPluginModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Marble::AbstractDataPluginModel::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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 12;
    }
#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::AbstractDataPluginModel::itemsUpdated()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void Marble::AbstractDataPluginModel::favoriteItemsChanged(const QStringList & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Marble::AbstractDataPluginModel::favoriteItemsOnlyChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
