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

#include "../../../../src/qtdeclarative-opensource-src-5.4.2/src/particles/qquickpointattractor_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquickpointattractor_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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_QQuickAttractorAffector_t {
    QByteArrayData data[28];
    char stringdata[391];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickAttractorAffector_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickAttractorAffector_t qt_meta_stringdata_QQuickAttractorAffector = {
    {
QT_MOC_LITERAL(0, 0, 23), // "QQuickAttractorAffector"
QT_MOC_LITERAL(1, 24, 15), // "strengthChanged"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 3), // "arg"
QT_MOC_LITERAL(4, 45, 13), // "pointXChanged"
QT_MOC_LITERAL(5, 59, 13), // "pointYChanged"
QT_MOC_LITERAL(6, 73, 24), // "affectedParameterChanged"
QT_MOC_LITERAL(7, 98, 20), // "AffectableParameters"
QT_MOC_LITERAL(8, 119, 29), // "proportionalToDistanceChanged"
QT_MOC_LITERAL(9, 149, 10), // "Proportion"
QT_MOC_LITERAL(10, 160, 11), // "setStrength"
QT_MOC_LITERAL(11, 172, 9), // "setPointX"
QT_MOC_LITERAL(12, 182, 9), // "setPointY"
QT_MOC_LITERAL(13, 192, 20), // "setAffectedParameter"
QT_MOC_LITERAL(14, 213, 25), // "setProportionalToDistance"
QT_MOC_LITERAL(15, 239, 8), // "strength"
QT_MOC_LITERAL(16, 248, 6), // "pointX"
QT_MOC_LITERAL(17, 255, 6), // "pointY"
QT_MOC_LITERAL(18, 262, 17), // "affectedParameter"
QT_MOC_LITERAL(19, 280, 22), // "proportionalToDistance"
QT_MOC_LITERAL(20, 303, 8), // "Constant"
QT_MOC_LITERAL(21, 312, 6), // "Linear"
QT_MOC_LITERAL(22, 319, 9), // "Quadratic"
QT_MOC_LITERAL(23, 329, 13), // "InverseLinear"
QT_MOC_LITERAL(24, 343, 16), // "InverseQuadratic"
QT_MOC_LITERAL(25, 360, 8), // "Position"
QT_MOC_LITERAL(26, 369, 8), // "Velocity"
QT_MOC_LITERAL(27, 378, 12) // "Acceleration"

    },
    "QQuickAttractorAffector\0strengthChanged\0"
    "\0arg\0pointXChanged\0pointYChanged\0"
    "affectedParameterChanged\0AffectableParameters\0"
    "proportionalToDistanceChanged\0Proportion\0"
    "setStrength\0setPointX\0setPointY\0"
    "setAffectedParameter\0setProportionalToDistance\0"
    "strength\0pointX\0pointY\0affectedParameter\0"
    "proportionalToDistance\0Constant\0Linear\0"
    "Quadratic\0InverseLinear\0InverseQuadratic\0"
    "Position\0Velocity\0Acceleration"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickAttractorAffector[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       4,    1,   67,    2, 0x06 /* Public */,
       5,    1,   70,    2, 0x06 /* Public */,
       6,    1,   73,    2, 0x06 /* Public */,
       8,    1,   76,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    1,   79,    2, 0x0a /* Public */,
      11,    1,   82,    2, 0x0a /* Public */,
      12,    1,   85,    2, 0x0a /* Public */,
      13,    1,   88,    2, 0x0a /* Public */,
      14,    1,   91,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QReal,    3,
    QMetaType::Void, QMetaType::QReal,    3,
    QMetaType::Void, QMetaType::QReal,    3,
    QMetaType::Void, 0x80000000 | 7,    3,
    QMetaType::Void, 0x80000000 | 9,    3,

 // slots: parameters
    QMetaType::Void, QMetaType::QReal,    3,
    QMetaType::Void, QMetaType::QReal,    3,
    QMetaType::Void, QMetaType::QReal,    3,
    QMetaType::Void, 0x80000000 | 7,    3,
    QMetaType::Void, 0x80000000 | 9,    3,

 // properties: name, type, flags
      15, QMetaType::QReal, 0x00495103,
      16, QMetaType::QReal, 0x00495103,
      17, QMetaType::QReal, 0x00495103,
      18, 0x80000000 | 7, 0x0049510b,
      19, 0x80000000 | 9, 0x0049510b,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,

 // enums: name, flags, count, data
       9, 0x0,    5,  122,
       7, 0x0,    3,  132,

 // enum data: key, value
      20, uint(QQuickAttractorAffector::Constant),
      21, uint(QQuickAttractorAffector::Linear),
      22, uint(QQuickAttractorAffector::Quadratic),
      23, uint(QQuickAttractorAffector::InverseLinear),
      24, uint(QQuickAttractorAffector::InverseQuadratic),
      25, uint(QQuickAttractorAffector::Position),
      26, uint(QQuickAttractorAffector::Velocity),
      27, uint(QQuickAttractorAffector::Acceleration),

       0        // eod
};

void QQuickAttractorAffector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QQuickAttractorAffector *_t = static_cast<QQuickAttractorAffector *>(_o);
        switch (_id) {
        case 0: _t->strengthChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 1: _t->pointXChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 2: _t->pointYChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 3: _t->affectedParameterChanged((*reinterpret_cast< AffectableParameters(*)>(_a[1]))); break;
        case 4: _t->proportionalToDistanceChanged((*reinterpret_cast< Proportion(*)>(_a[1]))); break;
        case 5: _t->setStrength((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 6: _t->setPointX((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 7: _t->setPointY((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 8: _t->setAffectedParameter((*reinterpret_cast< AffectableParameters(*)>(_a[1]))); break;
        case 9: _t->setProportionalToDistance((*reinterpret_cast< Proportion(*)>(_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 (QQuickAttractorAffector::*_t)(qreal );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickAttractorAffector::strengthChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QQuickAttractorAffector::*_t)(qreal );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickAttractorAffector::pointXChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (QQuickAttractorAffector::*_t)(qreal );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickAttractorAffector::pointYChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (QQuickAttractorAffector::*_t)(AffectableParameters );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickAttractorAffector::affectedParameterChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (QQuickAttractorAffector::*_t)(Proportion );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickAttractorAffector::proportionalToDistanceChanged)) {
                *result = 4;
            }
        }
    }
}

const QMetaObject QQuickAttractorAffector::staticMetaObject = {
    { &QQuickParticleAffector::staticMetaObject, qt_meta_stringdata_QQuickAttractorAffector.data,
      qt_meta_data_QQuickAttractorAffector,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *QQuickAttractorAffector::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QQuickAttractorAffector.stringdata))
        return static_cast<void*>(const_cast< QQuickAttractorAffector*>(this));
    return QQuickParticleAffector::qt_metacast(_clname);
}

int QQuickAttractorAffector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickParticleAffector::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;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< qreal*>(_v) = strength(); break;
        case 1: *reinterpret_cast< qreal*>(_v) = pointX(); break;
        case 2: *reinterpret_cast< qreal*>(_v) = pointY(); break;
        case 3: *reinterpret_cast< AffectableParameters*>(_v) = affectedParameter(); break;
        case 4: *reinterpret_cast< Proportion*>(_v) = proportionalToDistance(); break;
        default: break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setStrength(*reinterpret_cast< qreal*>(_v)); break;
        case 1: setPointX(*reinterpret_cast< qreal*>(_v)); break;
        case 2: setPointY(*reinterpret_cast< qreal*>(_v)); break;
        case 3: setAffectedParameter(*reinterpret_cast< AffectableParameters*>(_v)); break;
        case 4: setProportionalToDistance(*reinterpret_cast< Proportion*>(_v)); break;
        default: break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 5)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

// SIGNAL 1
void QQuickAttractorAffector::pointXChanged(qreal _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void QQuickAttractorAffector::pointYChanged(qreal _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void QQuickAttractorAffector::affectedParameterChanged(AffectableParameters _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void QQuickAttractorAffector::proportionalToDistanceChanged(Proportion _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_END_MOC_NAMESPACE
