/****************************************************************************
** Meta object code from reading C++ file 'qquicktrailemitter_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/qquicktrailemitter_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquicktrailemitter_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_QQuickTrailEmitter_t {
    QByteArrayData data[26];
    char stringdata[429];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickTrailEmitter_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickTrailEmitter_t qt_meta_stringdata_QQuickTrailEmitter = {
    {
QT_MOC_LITERAL(0, 0, 18), // "QQuickTrailEmitter"
QT_MOC_LITERAL(1, 19, 19), // "emitFollowParticles"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 12), // "QQmlV4Handle"
QT_MOC_LITERAL(4, 53, 9), // "particles"
QT_MOC_LITERAL(5, 63, 8), // "followed"
QT_MOC_LITERAL(6, 72, 36), // "particlesPerParticlePerSecond..."
QT_MOC_LITERAL(7, 109, 3), // "arg"
QT_MOC_LITERAL(8, 113, 24), // "emitterXVariationChanged"
QT_MOC_LITERAL(9, 138, 24), // "emitterYVariationChanged"
QT_MOC_LITERAL(10, 163, 13), // "followChanged"
QT_MOC_LITERAL(11, 177, 20), // "emissionShapeChanged"
QT_MOC_LITERAL(12, 198, 23), // "QQuickParticleExtruder*"
QT_MOC_LITERAL(13, 222, 32), // "setParticlesPerParticlePerSecond"
QT_MOC_LITERAL(14, 255, 20), // "setEmitterXVariation"
QT_MOC_LITERAL(15, 276, 20), // "setEmitterYVariation"
QT_MOC_LITERAL(16, 297, 9), // "setFollow"
QT_MOC_LITERAL(17, 307, 16), // "setEmissionShape"
QT_MOC_LITERAL(18, 324, 24), // "recalcParticlesPerSecond"
QT_MOC_LITERAL(19, 349, 6), // "follow"
QT_MOC_LITERAL(20, 356, 19), // "emitRatePerParticle"
QT_MOC_LITERAL(21, 376, 9), // "emitShape"
QT_MOC_LITERAL(22, 386, 10), // "emitHeight"
QT_MOC_LITERAL(23, 397, 9), // "emitWidth"
QT_MOC_LITERAL(24, 407, 8), // "EmitSize"
QT_MOC_LITERAL(25, 416, 12) // "ParticleSize"

    },
    "QQuickTrailEmitter\0emitFollowParticles\0"
    "\0QQmlV4Handle\0particles\0followed\0"
    "particlesPerParticlePerSecondChanged\0"
    "arg\0emitterXVariationChanged\0"
    "emitterYVariationChanged\0followChanged\0"
    "emissionShapeChanged\0QQuickParticleExtruder*\0"
    "setParticlesPerParticlePerSecond\0"
    "setEmitterXVariation\0setEmitterYVariation\0"
    "setFollow\0setEmissionShape\0"
    "recalcParticlesPerSecond\0follow\0"
    "emitRatePerParticle\0emitShape\0emitHeight\0"
    "emitWidth\0EmitSize\0ParticleSize"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickTrailEmitter[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   74,    2, 0x06 /* Public */,
       6,    1,   79,    2, 0x06 /* Public */,
       8,    1,   82,    2, 0x06 /* Public */,
       9,    1,   85,    2, 0x06 /* Public */,
      10,    1,   88,    2, 0x06 /* Public */,
      11,    1,   91,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    1,   94,    2, 0x0a /* Public */,
      14,    1,   97,    2, 0x0a /* Public */,
      15,    1,  100,    2, 0x0a /* Public */,
      16,    1,  103,    2, 0x0a /* Public */,
      17,    1,  106,    2, 0x0a /* Public */,
      18,    0,  109,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3,    4,    5,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::QReal,    7,
    QMetaType::Void, QMetaType::QReal,    7,
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void, 0x80000000 | 12,    7,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::QReal,    7,
    QMetaType::Void, QMetaType::QReal,    7,
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void, 0x80000000 | 12,    7,
    QMetaType::Void,

 // properties: name, type, flags
      19, QMetaType::QString, 0x00495103,
      20, QMetaType::Int, 0x00495003,
      21, 0x80000000 | 12, 0x0049500b,
      22, QMetaType::QReal, 0x00495003,
      23, QMetaType::QReal, 0x00495003,

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

 // enums: name, flags, count, data
      24, 0x0,    1,  134,

 // enum data: key, value
      25, uint(QQuickTrailEmitter::ParticleSize),

       0        // eod
};

void QQuickTrailEmitter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QQuickTrailEmitter *_t = static_cast<QQuickTrailEmitter *>(_o);
        switch (_id) {
        case 0: _t->emitFollowParticles((*reinterpret_cast< QQmlV4Handle(*)>(_a[1])),(*reinterpret_cast< QQmlV4Handle(*)>(_a[2]))); break;
        case 1: _t->particlesPerParticlePerSecondChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->emitterXVariationChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 3: _t->emitterYVariationChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 4: _t->followChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->emissionShapeChanged((*reinterpret_cast< QQuickParticleExtruder*(*)>(_a[1]))); break;
        case 6: _t->setParticlesPerParticlePerSecond((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->setEmitterXVariation((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 8: _t->setEmitterYVariation((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 9: _t->setFollow((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->setEmissionShape((*reinterpret_cast< QQuickParticleExtruder*(*)>(_a[1]))); break;
        case 11: _t->recalcParticlesPerSecond(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlV4Handle >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickParticleExtruder* >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickParticleExtruder* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QQuickTrailEmitter::*_t)(QQmlV4Handle , QQmlV4Handle );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickTrailEmitter::emitFollowParticles)) {
                *result = 0;
            }
        }
        {
            typedef void (QQuickTrailEmitter::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickTrailEmitter::particlesPerParticlePerSecondChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (QQuickTrailEmitter::*_t)(qreal );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickTrailEmitter::emitterXVariationChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (QQuickTrailEmitter::*_t)(qreal );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickTrailEmitter::emitterYVariationChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (QQuickTrailEmitter::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickTrailEmitter::followChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (QQuickTrailEmitter::*_t)(QQuickParticleExtruder * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickTrailEmitter::emissionShapeChanged)) {
                *result = 5;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickParticleExtruder* >(); break;
        }
    }

}

const QMetaObject QQuickTrailEmitter::staticMetaObject = {
    { &QQuickParticleEmitter::staticMetaObject, qt_meta_stringdata_QQuickTrailEmitter.data,
      qt_meta_data_QQuickTrailEmitter,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int QQuickTrailEmitter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickParticleEmitter::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = follow(); break;
        case 1: *reinterpret_cast< int*>(_v) = particlesPerParticlePerSecond(); break;
        case 2: *reinterpret_cast< QQuickParticleExtruder**>(_v) = emissonShape(); break;
        case 3: *reinterpret_cast< qreal*>(_v) = emitterYVariation(); break;
        case 4: *reinterpret_cast< qreal*>(_v) = emitterXVariation(); break;
        default: break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setFollow(*reinterpret_cast< QString*>(_v)); break;
        case 1: setParticlesPerParticlePerSecond(*reinterpret_cast< int*>(_v)); break;
        case 2: setEmissionShape(*reinterpret_cast< QQuickParticleExtruder**>(_v)); break;
        case 3: setEmitterYVariation(*reinterpret_cast< qreal*>(_v)); break;
        case 4: setEmitterXVariation(*reinterpret_cast< qreal*>(_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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QQuickTrailEmitter::emitFollowParticles(QQmlV4Handle _t1, QQmlV4Handle _t2)
{
    void *_a[] = { Q_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 QQuickTrailEmitter::particlesPerParticlePerSecondChanged(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

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

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

// SIGNAL 5
void QQuickTrailEmitter::emissionShapeChanged(QQuickParticleExtruder * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_END_MOC_NAMESPACE
