/****************************************************************************
** Meta object code from reading C++ file 'EditPolygonDialog.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/annotate/EditPolygonDialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'EditPolygonDialog.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__EditPolygonDialog_t {
    QByteArrayData data[22];
    char stringdata0[298];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__EditPolygonDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__EditPolygonDialog_t qt_meta_stringdata_Marble__EditPolygonDialog = {
    {
QT_MOC_LITERAL(0, 0, 25), // "Marble::EditPolygonDialog"
QT_MOC_LITERAL(1, 26, 14), // "polygonUpdated"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 15), // "GeoDataFeature*"
QT_MOC_LITERAL(4, 58, 7), // "feature"
QT_MOC_LITERAL(5, 66, 15), // "relationCreated"
QT_MOC_LITERAL(6, 82, 16), // "OsmPlacemarkData"
QT_MOC_LITERAL(7, 99, 8), // "relation"
QT_MOC_LITERAL(8, 108, 16), // "handleAddingNode"
QT_MOC_LITERAL(9, 125, 18), // "GeoDataCoordinates"
QT_MOC_LITERAL(10, 144, 4), // "node"
QT_MOC_LITERAL(11, 149, 16), // "handleItemMoving"
QT_MOC_LITERAL(12, 166, 17), // "GeoDataPlacemark*"
QT_MOC_LITERAL(13, 184, 4), // "item"
QT_MOC_LITERAL(14, 189, 19), // "handleChangingStyle"
QT_MOC_LITERAL(15, 209, 13), // "updatePolygon"
QT_MOC_LITERAL(16, 223, 17), // "updateLinesDialog"
QT_MOC_LITERAL(17, 241, 5), // "color"
QT_MOC_LITERAL(18, 247, 16), // "updatePolyDialog"
QT_MOC_LITERAL(19, 264, 11), // "checkFields"
QT_MOC_LITERAL(20, 276, 14), // "restoreInitial"
QT_MOC_LITERAL(21, 291, 6) // "result"

    },
    "Marble::EditPolygonDialog\0polygonUpdated\0"
    "\0GeoDataFeature*\0feature\0relationCreated\0"
    "OsmPlacemarkData\0relation\0handleAddingNode\0"
    "GeoDataCoordinates\0node\0handleItemMoving\0"
    "GeoDataPlacemark*\0item\0handleChangingStyle\0"
    "updatePolygon\0updateLinesDialog\0color\0"
    "updatePolyDialog\0checkFields\0"
    "restoreInitial\0result"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__EditPolygonDialog[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       5,    1,   67,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,   70,    2, 0x0a /* Public */,
      11,    1,   73,    2, 0x0a /* Public */,
      14,    0,   76,    2, 0x0a /* Public */,
      15,    0,   77,    2, 0x0a /* Public */,
      16,    1,   78,    2, 0x08 /* Private */,
      18,    1,   81,    2, 0x08 /* Private */,
      19,    0,   84,    2, 0x08 /* Private */,
      20,    1,   85,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QColor,   17,
    QMetaType::Void, QMetaType::QColor,   17,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   21,

       0        // eod
};

void Marble::EditPolygonDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        EditPolygonDialog *_t = static_cast<EditPolygonDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->polygonUpdated((*reinterpret_cast< GeoDataFeature*(*)>(_a[1]))); break;
        case 1: _t->relationCreated((*reinterpret_cast< const OsmPlacemarkData(*)>(_a[1]))); break;
        case 2: _t->handleAddingNode((*reinterpret_cast< const GeoDataCoordinates(*)>(_a[1]))); break;
        case 3: _t->handleItemMoving((*reinterpret_cast< GeoDataPlacemark*(*)>(_a[1]))); break;
        case 4: _t->handleChangingStyle(); break;
        case 5: _t->updatePolygon(); break;
        case 6: _t->updateLinesDialog((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 7: _t->updatePolyDialog((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 8: _t->checkFields(); break;
        case 9: _t->restoreInitial((*reinterpret_cast< int(*)>(_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 (EditPolygonDialog::*_t)(GeoDataFeature * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EditPolygonDialog::polygonUpdated)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (EditPolygonDialog::*_t)(const OsmPlacemarkData & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EditPolygonDialog::relationCreated)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject Marble::EditPolygonDialog::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_Marble__EditPolygonDialog.data,
      qt_meta_data_Marble__EditPolygonDialog,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

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

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