/****************************************************************************
** Meta object code from reading C++ file 'qdeclarative_sound_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/qtmultimedia-opensource-src-5.4.2/src/imports/audioengine/qdeclarative_sound_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdeclarative_sound_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_QDeclarativeSoundCone_t {
    QByteArrayData data[4];
    char stringdata[54];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDeclarativeSoundCone_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDeclarativeSoundCone_t qt_meta_stringdata_QDeclarativeSoundCone = {
    {
QT_MOC_LITERAL(0, 0, 21), // "QDeclarativeSoundCone"
QT_MOC_LITERAL(1, 22, 10), // "innerAngle"
QT_MOC_LITERAL(2, 33, 10), // "outerAngle"
QT_MOC_LITERAL(3, 44, 9) // "outerGain"

    },
    "QDeclarativeSoundCone\0innerAngle\0"
    "outerAngle\0outerGain"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDeclarativeSoundCone[] = {

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

 // properties: name, type, flags
       1, QMetaType::QReal, 0x00095103,
       2, QMetaType::QReal, 0x00095103,
       3, QMetaType::QReal, 0x00095103,

       0        // eod
};

void QDeclarativeSoundCone::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject QDeclarativeSoundCone::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QDeclarativeSoundCone.data,
      qt_meta_data_QDeclarativeSoundCone,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int QDeclarativeSoundCone::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    
#ifndef QT_NO_PROPERTIES
     if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< qreal*>(_v) = innerAngle(); break;
        case 1: *reinterpret_cast< qreal*>(_v) = outerAngle(); break;
        case 2: *reinterpret_cast< qreal*>(_v) = outerGain(); break;
        default: break;
        }
        _id -= 3;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setInnerAngle(*reinterpret_cast< qreal*>(_v)); break;
        case 1: setOuterAngle(*reinterpret_cast< qreal*>(_v)); break;
        case 2: setOuterGain(*reinterpret_cast< qreal*>(_v)); break;
        default: break;
        }
        _id -= 3;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
struct qt_meta_stringdata_QDeclarativeSound_t {
    QByteArrayData data[22];
    char stringdata[275];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDeclarativeSound_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDeclarativeSound_t qt_meta_stringdata_QDeclarativeSound = {
    {
QT_MOC_LITERAL(0, 0, 17), // "QDeclarativeSound"
QT_MOC_LITERAL(1, 18, 15), // "DefaultProperty"
QT_MOC_LITERAL(2, 34, 17), // "playVariationlist"
QT_MOC_LITERAL(3, 52, 4), // "play"
QT_MOC_LITERAL(4, 57, 0), // ""
QT_MOC_LITERAL(5, 58, 4), // "gain"
QT_MOC_LITERAL(6, 63, 5), // "pitch"
QT_MOC_LITERAL(7, 69, 8), // "position"
QT_MOC_LITERAL(8, 78, 8), // "velocity"
QT_MOC_LITERAL(9, 87, 9), // "direction"
QT_MOC_LITERAL(10, 97, 11), // "newInstance"
QT_MOC_LITERAL(11, 109, 26), // "QDeclarativeSoundInstance*"
QT_MOC_LITERAL(12, 136, 4), // "name"
QT_MOC_LITERAL(13, 141, 8), // "playType"
QT_MOC_LITERAL(14, 150, 8), // "PlayType"
QT_MOC_LITERAL(15, 159, 8), // "category"
QT_MOC_LITERAL(16, 168, 4), // "cone"
QT_MOC_LITERAL(17, 173, 22), // "QDeclarativeSoundCone*"
QT_MOC_LITERAL(18, 196, 16), // "attenuationModel"
QT_MOC_LITERAL(19, 213, 43), // "QQmlListProperty<QDeclarative..."
QT_MOC_LITERAL(20, 257, 6), // "Random"
QT_MOC_LITERAL(21, 264, 10) // "Sequential"

    },
    "QDeclarativeSound\0DefaultProperty\0"
    "playVariationlist\0play\0\0gain\0pitch\0"
    "position\0velocity\0direction\0newInstance\0"
    "QDeclarativeSoundInstance*\0name\0"
    "playType\0PlayType\0category\0cone\0"
    "QDeclarativeSoundCone*\0attenuationModel\0"
    "QQmlListProperty<QDeclarativePlayVariation>\0"
    "Random\0Sequential"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDeclarativeSound[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
      13,   16, // methods
       6,  154, // properties
       1,  172, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // classinfo: key, value
       1,    2,

 // slots: name, argc, parameters, tag, flags
       3,    0,   81,    4, 0x0a /* Public */,
       3,    1,   82,    4, 0x0a /* Public */,
       3,    2,   85,    4, 0x0a /* Public */,
       3,    1,   90,    4, 0x0a /* Public */,
       3,    2,   93,    4, 0x0a /* Public */,
       3,    3,   98,    4, 0x0a /* Public */,
       3,    2,  105,    4, 0x0a /* Public */,
       3,    3,  110,    4, 0x0a /* Public */,
       3,    4,  117,    4, 0x0a /* Public */,
       3,    3,  126,    4, 0x0a /* Public */,
       3,    4,  133,    4, 0x0a /* Public */,
       3,    5,  142,    4, 0x0a /* Public */,
      10,    0,  153,    4, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QReal,    5,
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal,    5,    6,
    QMetaType::Void, QMetaType::QVector3D,    7,
    QMetaType::Void, QMetaType::QVector3D, QMetaType::QVector3D,    7,    8,
    QMetaType::Void, QMetaType::QVector3D, QMetaType::QVector3D, QMetaType::QVector3D,    7,    8,    9,
    QMetaType::Void, QMetaType::QVector3D, QMetaType::QReal,    7,    5,
    QMetaType::Void, QMetaType::QVector3D, QMetaType::QVector3D, QMetaType::QReal,    7,    8,    5,
    QMetaType::Void, QMetaType::QVector3D, QMetaType::QVector3D, QMetaType::QVector3D, QMetaType::QReal,    7,    8,    9,    5,
    QMetaType::Void, QMetaType::QVector3D, QMetaType::QReal, QMetaType::QReal,    7,    5,    6,
    QMetaType::Void, QMetaType::QVector3D, QMetaType::QVector3D, QMetaType::QReal, QMetaType::QReal,    7,    8,    5,    6,
    QMetaType::Void, QMetaType::QVector3D, QMetaType::QVector3D, QMetaType::QVector3D, QMetaType::QReal, QMetaType::QReal,    7,    8,    9,    5,    6,
    0x80000000 | 11,

 // properties: name, type, flags
      12, QMetaType::QString, 0x00095103,
      13, 0x80000000 | 14, 0x0009510b,
      15, QMetaType::QString, 0x00095103,
      16, 0x80000000 | 17, 0x00095409,
      18, QMetaType::QString, 0x00095103,
       2, 0x80000000 | 19, 0x00095409,

 // enums: name, flags, count, data
      14, 0x0,    2,  176,

 // enum data: key, value
      20, uint(QDeclarativeSound::Random),
      21, uint(QDeclarativeSound::Sequential),

       0        // eod
};

void QDeclarativeSound::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QDeclarativeSound *_t = static_cast<QDeclarativeSound *>(_o);
        switch (_id) {
        case 0: _t->play(); break;
        case 1: _t->play((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 2: _t->play((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 3: _t->play((*reinterpret_cast< const QVector3D(*)>(_a[1]))); break;
        case 4: _t->play((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< const QVector3D(*)>(_a[2]))); break;
        case 5: _t->play((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< const QVector3D(*)>(_a[2])),(*reinterpret_cast< const QVector3D(*)>(_a[3]))); break;
        case 6: _t->play((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 7: _t->play((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< const QVector3D(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3]))); break;
        case 8: _t->play((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< const QVector3D(*)>(_a[2])),(*reinterpret_cast< const QVector3D(*)>(_a[3])),(*reinterpret_cast< qreal(*)>(_a[4]))); break;
        case 9: _t->play((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3]))); break;
        case 10: _t->play((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< const QVector3D(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3])),(*reinterpret_cast< qreal(*)>(_a[4]))); break;
        case 11: _t->play((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< const QVector3D(*)>(_a[2])),(*reinterpret_cast< const QVector3D(*)>(_a[3])),(*reinterpret_cast< qreal(*)>(_a[4])),(*reinterpret_cast< qreal(*)>(_a[5]))); break;
        case 12: { QDeclarativeSoundInstance* _r = _t->newInstance();
            if (_a[0]) *reinterpret_cast< QDeclarativeSoundInstance**>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDeclarativeSoundCone* >(); break;
        }
    }

}

const QMetaObject QDeclarativeSound::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QDeclarativeSound.data,
      qt_meta_data_QDeclarativeSound,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *QDeclarativeSound::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QDeclarativeSound.stringdata))
        return static_cast<void*>(const_cast< QDeclarativeSound*>(this));
    if (!strcmp(_clname, "QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(const_cast< QDeclarativeSound*>(this));
    if (!strcmp(_clname, "org.qt-project.Qt.QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(const_cast< QDeclarativeSound*>(this));
    return QObject::qt_metacast(_clname);
}

int QDeclarativeSound::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = name(); break;
        case 1: *reinterpret_cast< PlayType*>(_v) = playType(); break;
        case 2: *reinterpret_cast< QString*>(_v) = category(); break;
        case 3: *reinterpret_cast< QDeclarativeSoundCone**>(_v) = cone(); break;
        case 4: *reinterpret_cast< QString*>(_v) = attenuationModel(); break;
        case 5: *reinterpret_cast< QQmlListProperty<QDeclarativePlayVariation>*>(_v) = playVariationlist(); break;
        default: break;
        }
        _id -= 6;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setName(*reinterpret_cast< QString*>(_v)); break;
        case 1: setPlayType(*reinterpret_cast< PlayType*>(_v)); break;
        case 2: setCategory(*reinterpret_cast< QString*>(_v)); break;
        case 4: setAttenuationModel(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
        _id -= 6;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
