/****************************************************************************
** Meta object code from reading C++ file 'objects.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/objects.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'objects.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__BlackHole_t {
    QByteArrayData data[7];
    char stringdata0[48];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kolf__BlackHole_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kolf__BlackHole_t qt_meta_stringdata_Kolf__BlackHole = {
    {
QT_MOC_LITERAL(0, 0, 15), // "Kolf::BlackHole"
QT_MOC_LITERAL(1, 16, 5), // "eject"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 5), // "Ball*"
QT_MOC_LITERAL(4, 29, 4), // "ball"
QT_MOC_LITERAL(5, 34, 5), // "speed"
QT_MOC_LITERAL(6, 40, 7) // "halfway"

    },
    "Kolf::BlackHole\0eject\0\0Ball*\0ball\0"
    "speed\0halfway"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kolf__BlackHole[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   24,    2, 0x0a /* Public */,
       6,    0,   29,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Double,    4,    5,
    QMetaType::Void,

       0        // eod
};

void Kolf::BlackHole::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        BlackHole *_t = static_cast<BlackHole *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->eject((*reinterpret_cast< Ball*(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
        case 1: _t->halfway(); break;
        default: ;
        }
    }
}

const QMetaObject Kolf::BlackHole::staticMetaObject = {
    { &EllipticalCanvasItem::staticMetaObject, qt_meta_stringdata_Kolf__BlackHole.data,
      qt_meta_data_Kolf__BlackHole,  qt_static_metacall, nullptr, nullptr}
};


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

void *Kolf::BlackHole::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Kolf__BlackHole.stringdata0))
        return static_cast<void*>(this);
    return EllipticalCanvasItem::qt_metacast(_clname);
}

int Kolf::BlackHole::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = EllipticalCanvasItem::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
    return _id;
}
struct qt_meta_stringdata_Kolf__BlackHoleTimer_t {
    QByteArrayData data[8];
    char stringdata0[63];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kolf__BlackHoleTimer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kolf__BlackHoleTimer_t qt_meta_stringdata_Kolf__BlackHoleTimer = {
    {
QT_MOC_LITERAL(0, 0, 20), // "Kolf::BlackHoleTimer"
QT_MOC_LITERAL(1, 21, 5), // "eject"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 5), // "Ball*"
QT_MOC_LITERAL(4, 34, 4), // "ball"
QT_MOC_LITERAL(5, 39, 5), // "speed"
QT_MOC_LITERAL(6, 45, 7), // "halfway"
QT_MOC_LITERAL(7, 53, 9) // "emitEject"

    },
    "Kolf::BlackHoleTimer\0eject\0\0Ball*\0"
    "ball\0speed\0halfway\0emitEject"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kolf__BlackHoleTimer[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   29,    2, 0x06 /* Public */,
       6,    0,   34,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,   35,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void Kolf::BlackHoleTimer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        BlackHoleTimer *_t = static_cast<BlackHoleTimer *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->eject((*reinterpret_cast< Ball*(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
        case 1: _t->halfway(); break;
        case 2: _t->emitEject(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (BlackHoleTimer::*_t)(Ball * , double );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BlackHoleTimer::eject)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (BlackHoleTimer::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BlackHoleTimer::halfway)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject Kolf::BlackHoleTimer::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Kolf__BlackHoleTimer.data,
      qt_meta_data_Kolf__BlackHoleTimer,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Kolf::BlackHoleTimer::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::BlackHoleTimer::eject(Ball * _t1, double _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Kolf::BlackHoleTimer::halfway()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
struct qt_meta_stringdata_Kolf__BlackHoleConfig_t {
    QByteArrayData data[5];
    char stringdata0[56];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kolf__BlackHoleConfig_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kolf__BlackHoleConfig_t qt_meta_stringdata_Kolf__BlackHoleConfig = {
    {
QT_MOC_LITERAL(0, 0, 21), // "Kolf::BlackHoleConfig"
QT_MOC_LITERAL(1, 22, 10), // "degChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 10), // "minChanged"
QT_MOC_LITERAL(4, 45, 10) // "maxChanged"

    },
    "Kolf::BlackHoleConfig\0degChanged\0\0"
    "minChanged\0maxChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kolf__BlackHoleConfig[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   29,    2, 0x08 /* Private */,
       3,    1,   32,    2, 0x08 /* Private */,
       4,    1,   35,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Double,    2,
    QMetaType::Void, QMetaType::Double,    2,

       0        // eod
};

void Kolf::BlackHoleConfig::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        BlackHoleConfig *_t = static_cast<BlackHoleConfig *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->degChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->minChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 2: _t->maxChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject Kolf::BlackHoleConfig::staticMetaObject = {
    { &Config::staticMetaObject, qt_meta_stringdata_Kolf__BlackHoleConfig.data,
      qt_meta_data_Kolf__BlackHoleConfig,  qt_static_metacall, nullptr, nullptr}
};


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

void *Kolf::BlackHoleConfig::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Kolf__BlackHoleConfig.stringdata0))
        return static_cast<void*>(this);
    return Config::qt_metacast(_clname);
}

int Kolf::BlackHoleConfig::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Config::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;
}
struct qt_meta_stringdata_Kolf__BlackHoleOverlay_t {
    QByteArrayData data[4];
    char stringdata0[50];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Kolf__BlackHoleOverlay_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Kolf__BlackHoleOverlay_t qt_meta_stringdata_Kolf__BlackHoleOverlay = {
    {
QT_MOC_LITERAL(0, 0, 22), // "Kolf::BlackHoleOverlay"
QT_MOC_LITERAL(1, 23, 10), // "moveHandle"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 14) // "handleScenePos"

    },
    "Kolf::BlackHoleOverlay\0moveHandle\0\0"
    "handleScenePos"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Kolf__BlackHoleOverlay[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   19,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QPointF,    3,

       0        // eod
};

void Kolf::BlackHoleOverlay::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        BlackHoleOverlay *_t = static_cast<BlackHoleOverlay *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->moveHandle((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject Kolf::BlackHoleOverlay::staticMetaObject = {
    { &Kolf::Overlay::staticMetaObject, qt_meta_stringdata_Kolf__BlackHoleOverlay.data,
      qt_meta_data_Kolf__BlackHoleOverlay,  qt_static_metacall, nullptr, nullptr}
};


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

void *Kolf::BlackHoleOverlay::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Kolf__BlackHoleOverlay.stringdata0))
        return static_cast<void*>(this);
    return Kolf::Overlay::qt_metacast(_clname);
}

int Kolf::BlackHoleOverlay::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Kolf::Overlay::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
