/****************************************************************************
** Meta object code from reading C++ file 'AbstractDataPluginItem.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/AbstractDataPluginItem.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'AbstractDataPluginItem.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__AbstractDataPluginItem_t {
    QByteArrayData data[11];
    char stringdata0[125];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__AbstractDataPluginItem_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__AbstractDataPluginItem_t qt_meta_stringdata_Marble__AbstractDataPluginItem = {
    {
QT_MOC_LITERAL(0, 0, 30), // "Marble::AbstractDataPluginItem"
QT_MOC_LITERAL(1, 31, 7), // "updated"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 9), // "idChanged"
QT_MOC_LITERAL(4, 50, 15), // "favoriteChanged"
QT_MOC_LITERAL(5, 66, 2), // "id"
QT_MOC_LITERAL(6, 69, 8), // "favorite"
QT_MOC_LITERAL(7, 78, 13), // "stickyChanged"
QT_MOC_LITERAL(8, 92, 14), // "toggleFavorite"
QT_MOC_LITERAL(9, 107, 10), // "identifier"
QT_MOC_LITERAL(10, 118, 6) // "sticky"

    },
    "Marble::AbstractDataPluginItem\0updated\0"
    "\0idChanged\0favoriteChanged\0id\0favorite\0"
    "stickyChanged\0toggleFavorite\0identifier\0"
    "sticky"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__AbstractDataPluginItem[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   39,    2, 0x06 /* Public */,
       3,    0,   40,    2, 0x06 /* Public */,
       4,    2,   41,    2, 0x06 /* Public */,
       7,    0,   46,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   47,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    5,    6,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,

 // properties: name, type, flags
       9, QMetaType::QString, 0x00495003,
       6, QMetaType::Bool, 0x00495103,
      10, QMetaType::Bool, 0x00495103,

 // properties: notify_signal_id
       1,
       2,
       3,

       0        // eod
};

void Marble::AbstractDataPluginItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AbstractDataPluginItem *_t = static_cast<AbstractDataPluginItem *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->updated(); break;
        case 1: _t->idChanged(); break;
        case 2: _t->favoriteChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 3: _t->stickyChanged(); break;
        case 4: _t->toggleFavorite(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (AbstractDataPluginItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractDataPluginItem::updated)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AbstractDataPluginItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractDataPluginItem::idChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (AbstractDataPluginItem::*_t)(const QString & , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractDataPluginItem::favoriteChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (AbstractDataPluginItem::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractDataPluginItem::stickyChanged)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        AbstractDataPluginItem *_t = static_cast<AbstractDataPluginItem *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->id(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isFavorite(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isSticky(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        AbstractDataPluginItem *_t = static_cast<AbstractDataPluginItem *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setId(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setFavorite(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setSticky(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Marble::AbstractDataPluginItem::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__AbstractDataPluginItem.data,
      qt_meta_data_Marble__AbstractDataPluginItem,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Marble::AbstractDataPluginItem::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 < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 5;
    }
#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 -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Marble::AbstractDataPluginItem::updated()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

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

// SIGNAL 2
void Marble::AbstractDataPluginItem::favoriteChanged(const QString & _t1, bool _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, 2, _a);
}

// SIGNAL 3
void Marble::AbstractDataPluginItem::stickyChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
