/****************************************************************************
** Meta object code from reading C++ file 'MeasureToolPlugin.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.4)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../../src/marble-17.12.3/src/plugins/render/measure/MeasureToolPlugin.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/qplugin.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MeasureToolPlugin.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Marble__MeasureToolPlugin_t {
    QByteArrayData data[17];
    char stringdata0[233];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__MeasureToolPlugin_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__MeasureToolPlugin_t qt_meta_stringdata_Marble__MeasureToolPlugin = {
    {
QT_MOC_LITERAL(0, 0, 25), // "Marble::MeasureToolPlugin"
QT_MOC_LITERAL(1, 26, 28), // "numberOfMeasurePointsChanged"
QT_MOC_LITERAL(2, 55, 0), // ""
QT_MOC_LITERAL(3, 56, 9), // "newNumber"
QT_MOC_LITERAL(4, 66, 11), // "eventFilter"
QT_MOC_LITERAL(5, 78, 6), // "object"
QT_MOC_LITERAL(6, 85, 7), // "QEvent*"
QT_MOC_LITERAL(7, 93, 5), // "event"
QT_MOC_LITERAL(8, 99, 24), // "setNumberOfMeasurePoints"
QT_MOC_LITERAL(9, 124, 6), // "number"
QT_MOC_LITERAL(10, 131, 20), // "addMeasurePointEvent"
QT_MOC_LITERAL(11, 152, 15), // "addMeasurePoint"
QT_MOC_LITERAL(12, 168, 3), // "lon"
QT_MOC_LITERAL(13, 172, 3), // "lat"
QT_MOC_LITERAL(14, 176, 22), // "removeLastMeasurePoint"
QT_MOC_LITERAL(15, 199, 19), // "removeMeasurePoints"
QT_MOC_LITERAL(16, 219, 13) // "writeSettings"

    },
    "Marble::MeasureToolPlugin\0"
    "numberOfMeasurePointsChanged\0\0newNumber\0"
    "eventFilter\0object\0QEvent*\0event\0"
    "setNumberOfMeasurePoints\0number\0"
    "addMeasurePointEvent\0addMeasurePoint\0"
    "lon\0lat\0removeLastMeasurePoint\0"
    "removeMeasurePoints\0writeSettings"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__MeasureToolPlugin[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       4,    2,   57,    2, 0x0a /* Public */,
       8,    1,   62,    2, 0x08 /* Private */,
      10,    0,   65,    2, 0x08 /* Private */,
      11,    2,   66,    2, 0x08 /* Private */,
      14,    0,   71,    2, 0x08 /* Private */,
      15,    0,   72,    2, 0x08 /* Private */,
      16,    0,   73,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,

 // slots: parameters
    QMetaType::Bool, QMetaType::QObjectStar, 0x80000000 | 6,    5,    7,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal,   12,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Marble::MeasureToolPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MeasureToolPlugin *_t = static_cast<MeasureToolPlugin *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->numberOfMeasurePointsChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: { bool _r = _t->eventFilter((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< QEvent*(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 2: _t->setNumberOfMeasurePoints((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->addMeasurePointEvent(); break;
        case 4: _t->addMeasurePoint((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 5: _t->removeLastMeasurePoint(); break;
        case 6: _t->removeMeasurePoints(); break;
        case 7: _t->writeSettings(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (MeasureToolPlugin::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MeasureToolPlugin::numberOfMeasurePointsChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Marble::MeasureToolPlugin::staticMetaObject = {
    { &RenderPlugin::staticMetaObject, qt_meta_stringdata_Marble__MeasureToolPlugin.data,
      qt_meta_data_Marble__MeasureToolPlugin,  qt_static_metacall, nullptr, nullptr}
};


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

void *Marble::MeasureToolPlugin::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Marble__MeasureToolPlugin.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "DialogConfigurationInterface"))
        return static_cast< DialogConfigurationInterface*>(this);
    if (!strcmp(_clname, "org.kde.Marble.RenderPluginInterface/1.09"))
        return static_cast< Marble::RenderPluginInterface*>(this);
    if (!strcmp(_clname, "org.kde.Marble.DialogConfigurationInterface/1.0"))
        return static_cast< Marble::DialogConfigurationInterface*>(this);
    return RenderPlugin::qt_metacast(_clname);
}

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

// SIGNAL 0
void Marble::MeasureToolPlugin::numberOfMeasurePointsChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

QT_PLUGIN_METADATA_SECTION const uint qt_section_alignment_dummy = 42;

#ifdef QT_NO_DEBUG

QT_PLUGIN_METADATA_SECTION
static const unsigned char qt_pluginMetaData[] = {
    'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', ' ',
    'q',  'b',  'j',  's',  0x01, 0x00, 0x00, 0x00,
    0xac, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00,
    0x98, 0x00, 0x00, 0x00, 0x1b, 0x03, 0x00, 0x00,
    0x03, 0x00, 'I',  'I',  'D',  0x00, 0x00, 0x00,
    ' ',  0x00, 'o',  'r',  'g',  '.',  'k',  'd', 
    'e',  '.',  'm',  'a',  'r',  'b',  'l',  'e', 
    '.',  'M',  'e',  'a',  's',  'u',  'r',  'e', 
    'T',  'o',  'o',  'l',  'P',  'l',  'u',  'g', 
    'i',  'n',  0x00, 0x00, 0x9b, 0x09, 0x00, 0x00,
    0x09, 0x00, 'c',  'l',  'a',  's',  's',  'N', 
    'a',  'm',  'e',  0x00, 0x11, 0x00, 'M',  'e', 
    'a',  's',  'u',  'r',  'e',  'T',  'o',  'o', 
    'l',  'P',  'l',  'u',  'g',  'i',  'n',  0x00,
    0x9a, ' ',  0xa1, 0x00, 0x07, 0x00, 'v',  'e', 
    'r',  's',  'i',  'o',  'n',  0x00, 0x00, 0x00,
    0x11, 0x00, 0x00, 0x00, 0x05, 0x00, 'd',  'e', 
    'b',  'u',  'g',  0x00, 0x95, 0x11, 0x00, 0x00,
    0x08, 0x00, 'M',  'e',  't',  'a',  'D',  'a', 
    't',  'a',  0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x0c, 0x00, 0x00, 0x00, '|',  0x00, 0x00, 0x00,
    '<',  0x00, 0x00, 0x00, 'p',  0x00, 0x00, 0x00,
    '`',  0x00, 0x00, 0x00
};

#else // QT_NO_DEBUG

QT_PLUGIN_METADATA_SECTION
static const unsigned char qt_pluginMetaData[] = {
    'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', ' ',
    'q',  'b',  'j',  's',  0x01, 0x00, 0x00, 0x00,
    0xac, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00,
    0x98, 0x00, 0x00, 0x00, 0x1b, 0x03, 0x00, 0x00,
    0x03, 0x00, 'I',  'I',  'D',  0x00, 0x00, 0x00,
    ' ',  0x00, 'o',  'r',  'g',  '.',  'k',  'd', 
    'e',  '.',  'm',  'a',  'r',  'b',  'l',  'e', 
    '.',  'M',  'e',  'a',  's',  'u',  'r',  'e', 
    'T',  'o',  'o',  'l',  'P',  'l',  'u',  'g', 
    'i',  'n',  0x00, 0x00, 0x95, 0x09, 0x00, 0x00,
    0x08, 0x00, 'M',  'e',  't',  'a',  'D',  'a', 
    't',  'a',  0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x1b, 0x0d, 0x00, 0x00, 0x09, 0x00, 'c',  'l', 
    'a',  's',  's',  'N',  'a',  'm',  'e',  0x00,
    0x11, 0x00, 'M',  'e',  'a',  's',  'u',  'r', 
    'e',  'T',  'o',  'o',  'l',  'P',  'l',  'u', 
    'g',  'i',  'n',  0x00, '1',  0x00, 0x00, 0x00,
    0x05, 0x00, 'd',  'e',  'b',  'u',  'g',  0x00,
    0x9a, ' ',  0xa1, 0x00, 0x07, 0x00, 'v',  'e', 
    'r',  's',  'i',  'o',  'n',  0x00, 0x00, 0x00,
    0x0c, 0x00, 0x00, 0x00, '<',  0x00, 0x00, 0x00,
    'X',  0x00, 0x00, 0x00, '|',  0x00, 0x00, 0x00,
    0x88, 0x00, 0x00, 0x00
};
#endif // QT_NO_DEBUG

using namespace Marble;
QT_MOC_EXPORT_PLUGIN(Marble::MeasureToolPlugin, MeasureToolPlugin)

QT_WARNING_POP
QT_END_MOC_NAMESPACE
