/****************************************************************************
** Meta object code from reading C++ file 'overlay.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/kolf-17.12.3/overlay.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'overlay.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_Kolf__OverlayHandle_t {
    QByteArrayData data[6];
    char stringdata0[70];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kolf__OverlayHandle_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kolf__OverlayHandle_t qt_meta_stringdata_Kolf__OverlayHandle = {
    {
QT_MOC_LITERAL(0, 0, 19), // "Kolf::OverlayHandle"
QT_MOC_LITERAL(1, 20, 11), // "moveStarted"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 11), // "moveRequest"
QT_MOC_LITERAL(4, 45, 14), // "targetScenePos"
QT_MOC_LITERAL(5, 60, 9) // "moveEnded"

    },
    "Kolf::OverlayHandle\0moveStarted\0\0"
    "moveRequest\0targetScenePos\0moveEnded"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kolf__OverlayHandle[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   29,    2, 0x06 /* Public */,
       3,    1,   30,    2, 0x06 /* Public */,
       5,    0,   33,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPointF,    4,
    QMetaType::Void,

       0        // eod
};

void Kolf::OverlayHandle::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        OverlayHandle *_t = static_cast<OverlayHandle *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->moveStarted(); break;
        case 1: _t->moveRequest((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 2: _t->moveEnded(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (OverlayHandle::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OverlayHandle::moveStarted)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (OverlayHandle::*_t)(const QPointF & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OverlayHandle::moveRequest)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (OverlayHandle::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OverlayHandle::moveEnded)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject Kolf::OverlayHandle::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Kolf__OverlayHandle.data,
      qt_meta_data_Kolf__OverlayHandle,  qt_static_metacall, nullptr, nullptr}
};


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

void *Kolf::OverlayHandle::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Kolf__OverlayHandle.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QGraphicsPathItem"))
        return static_cast< QGraphicsPathItem*>(this);
    return QObject::qt_metacast(_clname);
}

int Kolf::OverlayHandle::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 < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
    return _id;
}

// SIGNAL 0
void Kolf::OverlayHandle::moveStarted()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Kolf::OverlayHandle::moveRequest(const QPointF & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Kolf::OverlayHandle::moveEnded()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
struct qt_meta_stringdata_Kolf__OverlayAreaItem_t {
    QByteArrayData data[8];
    char stringdata0[78];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kolf__OverlayAreaItem_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kolf__OverlayAreaItem_t qt_meta_stringdata_Kolf__OverlayAreaItem = {
    {
QT_MOC_LITERAL(0, 0, 21), // "Kolf::OverlayAreaItem"
QT_MOC_LITERAL(1, 22, 7), // "clicked"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 6), // "button"
QT_MOC_LITERAL(4, 38, 7), // "dragged"
QT_MOC_LITERAL(5, 46, 8), // "distance"
QT_MOC_LITERAL(6, 55, 12), // "hoverEntered"
QT_MOC_LITERAL(7, 68, 9) // "hoverLeft"

    },
    "Kolf::OverlayAreaItem\0clicked\0\0button\0"
    "dragged\0distance\0hoverEntered\0hoverLeft"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kolf__OverlayAreaItem[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   34,    2, 0x06 /* Public */,
       4,    1,   37,    2, 0x06 /* Public */,
       6,    0,   40,    2, 0x06 /* Public */,
       7,    0,   41,    2, 0x06 /* Public */,

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

       0        // eod
};

void Kolf::OverlayAreaItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        OverlayAreaItem *_t = static_cast<OverlayAreaItem *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->clicked((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->dragged((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 2: _t->hoverEntered(); break;
        case 3: _t->hoverLeft(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (OverlayAreaItem::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OverlayAreaItem::clicked)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (OverlayAreaItem::*_t)(const QPointF & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OverlayAreaItem::dragged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (OverlayAreaItem::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OverlayAreaItem::hoverEntered)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (OverlayAreaItem::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OverlayAreaItem::hoverLeft)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject Kolf::OverlayAreaItem::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Kolf__OverlayAreaItem.data,
      qt_meta_data_Kolf__OverlayAreaItem,  qt_static_metacall, nullptr, nullptr}
};


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

void *Kolf::OverlayAreaItem::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Kolf__OverlayAreaItem.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QGraphicsPathItem"))
        return static_cast< QGraphicsPathItem*>(this);
    return QObject::qt_metacast(_clname);
}

int Kolf::OverlayAreaItem::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 < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
    return _id;
}

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

// SIGNAL 1
void Kolf::OverlayAreaItem::dragged(const QPointF & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Kolf::OverlayAreaItem::hoverEntered()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Kolf::OverlayAreaItem::hoverLeft()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
struct qt_meta_stringdata_Kolf__Overlay_t {
    QByteArrayData data[9];
    char stringdata0[110];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kolf__Overlay_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kolf__Overlay_t qt_meta_stringdata_Kolf__Overlay = {
    {
QT_MOC_LITERAL(0, 0, 13), // "Kolf::Overlay"
QT_MOC_LITERAL(1, 14, 12), // "stateChanged"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 16), // "activatorEntered"
QT_MOC_LITERAL(4, 45, 13), // "activatorLeft"
QT_MOC_LITERAL(5, 59, 16), // "activatorClicked"
QT_MOC_LITERAL(6, 76, 6), // "button"
QT_MOC_LITERAL(7, 83, 17), // "interactorDragged"
QT_MOC_LITERAL(8, 101, 8) // "distance"

    },
    "Kolf::Overlay\0stateChanged\0\0"
    "activatorEntered\0activatorLeft\0"
    "activatorClicked\0button\0interactorDragged\0"
    "distance"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kolf__Overlay[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    0,   40,    2, 0x08 /* Private */,
       4,    0,   41,    2, 0x08 /* Private */,
       5,    1,   42,    2, 0x08 /* Private */,
       7,    1,   45,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, QMetaType::QPointF,    8,

       0        // eod
};

void Kolf::Overlay::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Overlay *_t = static_cast<Overlay *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->stateChanged(); break;
        case 1: _t->activatorEntered(); break;
        case 2: _t->activatorLeft(); break;
        case 3: _t->activatorClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->interactorDragged((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (Overlay::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Overlay::stateChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Kolf::Overlay::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Kolf__Overlay.data,
      qt_meta_data_Kolf__Overlay,  qt_static_metacall, nullptr, nullptr}
};


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

void *Kolf::Overlay::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Kolf__Overlay.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QGraphicsItem"))
        return static_cast< QGraphicsItem*>(this);
    if (!strcmp(_clname, "org.qt-project.Qt.QGraphicsItem"))
        return static_cast< QGraphicsItem*>(this);
    return QObject::qt_metacast(_clname);
}

int Kolf::Overlay::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;
    }
    return _id;
}

// SIGNAL 0
void Kolf::Overlay::stateChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
