/****************************************************************************
** Meta object code from reading C++ file 'OsmRelationManagerWidget.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/osm/OsmRelationManagerWidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'OsmRelationManagerWidget.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__OsmRelationManagerWidget_t {
    QByteArrayData data[16];
    char stringdata0[218];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__OsmRelationManagerWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__OsmRelationManagerWidget_t qt_meta_stringdata_Marble__OsmRelationManagerWidget = {
    {
QT_MOC_LITERAL(0, 0, 32), // "Marble::OsmRelationManagerWidget"
QT_MOC_LITERAL(1, 33, 15), // "relationCreated"
QT_MOC_LITERAL(2, 49, 0), // ""
QT_MOC_LITERAL(3, 50, 16), // "OsmPlacemarkData"
QT_MOC_LITERAL(4, 67, 12), // "relationData"
QT_MOC_LITERAL(5, 80, 11), // "addRelation"
QT_MOC_LITERAL(6, 92, 8), // "QAction*"
QT_MOC_LITERAL(7, 101, 6), // "action"
QT_MOC_LITERAL(8, 108, 16), // "handleItemChange"
QT_MOC_LITERAL(9, 125, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(10, 142, 4), // "item"
QT_MOC_LITERAL(11, 147, 6), // "column"
QT_MOC_LITERAL(12, 154, 17), // "handleDoubleClick"
QT_MOC_LITERAL(13, 172, 32), // "handleRelationContextMenuRequest"
QT_MOC_LITERAL(14, 205, 5), // "point"
QT_MOC_LITERAL(15, 211, 6) // "update"

    },
    "Marble::OsmRelationManagerWidget\0"
    "relationCreated\0\0OsmPlacemarkData\0"
    "relationData\0addRelation\0QAction*\0"
    "action\0handleItemChange\0QTreeWidgetItem*\0"
    "item\0column\0handleDoubleClick\0"
    "handleRelationContextMenuRequest\0point\0"
    "update"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__OsmRelationManagerWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   44,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,   47,    2, 0x0a /* Public */,
       8,    2,   50,    2, 0x0a /* Public */,
      12,    2,   55,    2, 0x0a /* Public */,
      13,    1,   60,    2, 0x0a /* Public */,
      15,    0,   63,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 9, QMetaType::Int,   10,   11,
    QMetaType::Void, 0x80000000 | 9, QMetaType::Int,   10,   11,
    QMetaType::Void, QMetaType::QPoint,   14,
    QMetaType::Void,

       0        // eod
};

void Marble::OsmRelationManagerWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        OsmRelationManagerWidget *_t = static_cast<OsmRelationManagerWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->relationCreated((*reinterpret_cast< const OsmPlacemarkData(*)>(_a[1]))); break;
        case 1: _t->addRelation((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 2: _t->handleItemChange((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->handleDoubleClick((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: _t->handleRelationContextMenuRequest((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 5: _t->update(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (OsmRelationManagerWidget::*_t)(const OsmPlacemarkData & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OsmRelationManagerWidget::relationCreated)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Marble::OsmRelationManagerWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Marble__OsmRelationManagerWidget.data,
      qt_meta_data_Marble__OsmRelationManagerWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Marble::OsmRelationManagerWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
    return _id;
}

// SIGNAL 0
void Marble::OsmRelationManagerWidget::relationCreated(const OsmPlacemarkData & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
