/****************************************************************************
** Meta object code from reading C++ file 'TourItemDelegate.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/TourItemDelegate.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'TourItemDelegate.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__TourItemDelegate_t {
    QByteArrayData data[16];
    char stringdata0[206];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__TourItemDelegate_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__TourItemDelegate_t qt_meta_stringdata_Marble__TourItemDelegate = {
    {
QT_MOC_LITERAL(0, 0, 24), // "Marble::TourItemDelegate"
QT_MOC_LITERAL(1, 25, 14), // "editingChanged"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 5), // "index"
QT_MOC_LITERAL(4, 47, 6), // "edited"
QT_MOC_LITERAL(5, 54, 15), // "editableChanged"
QT_MOC_LITERAL(6, 70, 8), // "editable"
QT_MOC_LITERAL(7, 79, 17), // "firstFlyToChanged"
QT_MOC_LITERAL(8, 97, 13), // "newFirstFlyTo"
QT_MOC_LITERAL(9, 111, 17), // "featureIdsChanged"
QT_MOC_LITERAL(10, 129, 3), // "ids"
QT_MOC_LITERAL(11, 133, 23), // "defaultFeatureIdChanged"
QT_MOC_LITERAL(12, 157, 2), // "id"
QT_MOC_LITERAL(13, 160, 13), // "setFirstFlyTo"
QT_MOC_LITERAL(14, 174, 19), // "setDefaultFeatureId"
QT_MOC_LITERAL(15, 194, 11) // "closeEditor"

    },
    "Marble::TourItemDelegate\0editingChanged\0"
    "\0index\0edited\0editableChanged\0editable\0"
    "firstFlyToChanged\0newFirstFlyTo\0"
    "featureIdsChanged\0ids\0defaultFeatureIdChanged\0"
    "id\0setFirstFlyTo\0setDefaultFeatureId\0"
    "closeEditor"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__TourItemDelegate[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   59,    2, 0x06 /* Public */,
       4,    1,   62,    2, 0x06 /* Public */,
       5,    1,   65,    2, 0x06 /* Public */,
       7,    1,   68,    2, 0x06 /* Public */,
       9,    1,   71,    2, 0x06 /* Public */,
      11,    1,   74,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    1,   77,    2, 0x0a /* Public */,
      14,    1,   80,    2, 0x0a /* Public */,
      15,    1,   83,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QModelIndex,    3,
    QMetaType::Void, QMetaType::QModelIndex,    3,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::QPersistentModelIndex,    8,
    QMetaType::Void, QMetaType::QStringList,   10,
    QMetaType::Void, QMetaType::QString,   12,

 // slots: parameters
    QMetaType::Void, QMetaType::QPersistentModelIndex,    3,
    QMetaType::Void, QMetaType::QString,   12,
    QMetaType::Void, QMetaType::QModelIndex,    3,

       0        // eod
};

void Marble::TourItemDelegate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TourItemDelegate *_t = static_cast<TourItemDelegate *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->editingChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 1: _t->edited((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 2: _t->editableChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->firstFlyToChanged((*reinterpret_cast< const QPersistentModelIndex(*)>(_a[1]))); break;
        case 4: _t->featureIdsChanged((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 5: _t->defaultFeatureIdChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->setFirstFlyTo((*reinterpret_cast< const QPersistentModelIndex(*)>(_a[1]))); break;
        case 7: _t->setDefaultFeatureId((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->closeEditor((*reinterpret_cast< const QModelIndex(*)>(_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 (TourItemDelegate::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TourItemDelegate::editingChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TourItemDelegate::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TourItemDelegate::edited)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TourItemDelegate::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TourItemDelegate::editableChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (TourItemDelegate::*_t)(const QPersistentModelIndex & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TourItemDelegate::firstFlyToChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (TourItemDelegate::*_t)(const QStringList & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TourItemDelegate::featureIdsChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (TourItemDelegate::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TourItemDelegate::defaultFeatureIdChanged)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject Marble::TourItemDelegate::staticMetaObject = {
    { &QStyledItemDelegate::staticMetaObject, qt_meta_stringdata_Marble__TourItemDelegate.data,
      qt_meta_data_Marble__TourItemDelegate,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Marble::TourItemDelegate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QStyledItemDelegate::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::TourItemDelegate::editingChanged(const QModelIndex & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

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

// SIGNAL 3
void Marble::TourItemDelegate::firstFlyToChanged(const QPersistentModelIndex & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

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

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