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

#include <memory>
#include "../../../../../qtmultimedia/src/imports/audioengine/qdeclarative_audioengine_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdeclarative_audioengine_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.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_QDeclarativeAudioEngine_t {
    QByteArrayData data[28];
    char stringdata0[451];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDeclarativeAudioEngine_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDeclarativeAudioEngine_t qt_meta_stringdata_QDeclarativeAudioEngine = {
    {
QT_MOC_LITERAL(0, 0, 23), // "QDeclarativeAudioEngine"
QT_MOC_LITERAL(1, 24, 15), // "DefaultProperty"
QT_MOC_LITERAL(2, 40, 4), // "bank"
QT_MOC_LITERAL(3, 45, 5), // "ready"
QT_MOC_LITERAL(4, 51, 0), // ""
QT_MOC_LITERAL(5, 52, 24), // "liveInstanceCountChanged"
QT_MOC_LITERAL(6, 77, 16), // "isLoadingChanged"
QT_MOC_LITERAL(7, 94, 15), // "finishedLoading"
QT_MOC_LITERAL(8, 110, 20), // "updateSoundInstances"
QT_MOC_LITERAL(9, 131, 20), // "handleLoadingChanged"
QT_MOC_LITERAL(10, 152, 14), // "addAudioSample"
QT_MOC_LITERAL(11, 167, 24), // "QDeclarativeAudioSample*"
QT_MOC_LITERAL(12, 192, 8), // "addSound"
QT_MOC_LITERAL(13, 201, 18), // "QDeclarativeSound*"
QT_MOC_LITERAL(14, 220, 16), // "addAudioCategory"
QT_MOC_LITERAL(15, 237, 26), // "QDeclarativeAudioCategory*"
QT_MOC_LITERAL(16, 264, 19), // "addAttenuationModel"
QT_MOC_LITERAL(17, 284, 29), // "QDeclarativeAttenuationModel*"
QT_MOC_LITERAL(18, 314, 25), // "QQmlListProperty<QObject>"
QT_MOC_LITERAL(19, 340, 10), // "categories"
QT_MOC_LITERAL(20, 351, 7), // "samples"
QT_MOC_LITERAL(21, 359, 6), // "sounds"
QT_MOC_LITERAL(22, 366, 7), // "loading"
QT_MOC_LITERAL(23, 374, 13), // "liveInstances"
QT_MOC_LITERAL(24, 388, 8), // "listener"
QT_MOC_LITERAL(25, 397, 26), // "QDeclarativeAudioListener*"
QT_MOC_LITERAL(26, 424, 13), // "dopplerFactor"
QT_MOC_LITERAL(27, 438, 12) // "speedOfSound"

    },
    "QDeclarativeAudioEngine\0DefaultProperty\0"
    "bank\0ready\0\0liveInstanceCountChanged\0"
    "isLoadingChanged\0finishedLoading\0"
    "updateSoundInstances\0handleLoadingChanged\0"
    "addAudioSample\0QDeclarativeAudioSample*\0"
    "addSound\0QDeclarativeSound*\0"
    "addAudioCategory\0QDeclarativeAudioCategory*\0"
    "addAttenuationModel\0QDeclarativeAttenuationModel*\0"
    "QQmlListProperty<QObject>\0categories\0"
    "samples\0sounds\0loading\0liveInstances\0"
    "listener\0QDeclarativeAudioListener*\0"
    "dopplerFactor\0speedOfSound"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDeclarativeAudioEngine[] = {

 // content:
       8,       // revision
       0,       // classname
       1,   14, // classinfo
      10,   16, // methods
       9,   94, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    0,   76,    4, 0x06 /* Public */,
       5,    0,   77,    4, 0x06 /* Public */,
       6,    0,   78,    4, 0x06 /* Public */,
       7,    0,   79,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   80,    4, 0x08 /* Private */,
       9,    0,   81,    4, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      10,    1,   82,    4, 0x82 /* Public | MethodRevisioned */,
      12,    1,   85,    4, 0x82 /* Public | MethodRevisioned */,
      14,    1,   88,    4, 0x82 /* Public | MethodRevisioned */,
      16,    1,   91,    4, 0x82 /* Public | MethodRevisioned */,

 // signals: revision
       0,
       0,
       0,
       0,

 // slots: revision
       0,
       0,

 // methods: revision
       1,
       1,
       1,
       1,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Void, 0x80000000 | 11,    4,
    QMetaType::Void, 0x80000000 | 13,    4,
    QMetaType::Void, 0x80000000 | 15,    4,
    QMetaType::Void, 0x80000000 | 17,    4,

 // properties: name, type, flags
       2, 0x80000000 | 18, 0x00095409,
      19, QMetaType::QObjectStar, 0x00095401,
      20, QMetaType::QObjectStar, 0x00095401,
      21, QMetaType::QObjectStar, 0x00095401,
      22, QMetaType::Bool, 0x00495001,
      23, QMetaType::Int, 0x00495001,
      24, 0x80000000 | 25, 0x00095409,
      26, QMetaType::QReal, 0x00095103,
      27, QMetaType::QReal, 0x00095103,

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

       0        // eod
};

void QDeclarativeAudioEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QDeclarativeAudioEngine *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->ready(); break;
        case 1: _t->liveInstanceCountChanged(); break;
        case 2: _t->isLoadingChanged(); break;
        case 3: _t->finishedLoading(); break;
        case 4: _t->updateSoundInstances(); break;
        case 5: _t->handleLoadingChanged(); break;
        case 6: _t->addAudioSample((*reinterpret_cast< QDeclarativeAudioSample*(*)>(_a[1]))); break;
        case 7: _t->addSound((*reinterpret_cast< QDeclarativeSound*(*)>(_a[1]))); break;
        case 8: _t->addAudioCategory((*reinterpret_cast< QDeclarativeAudioCategory*(*)>(_a[1]))); break;
        case 9: _t->addAttenuationModel((*reinterpret_cast< QDeclarativeAttenuationModel*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QDeclarativeAudioEngine::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeAudioEngine::ready)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QDeclarativeAudioEngine::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeAudioEngine::liveInstanceCountChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QDeclarativeAudioEngine::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeAudioEngine::isLoadingChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QDeclarativeAudioEngine::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativeAudioEngine::finishedLoading)) {
                *result = 3;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QObject> >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QDeclarativeAudioEngine *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QQmlListProperty<QObject>*>(_v) = _t->bank(); break;
        case 1: *reinterpret_cast< QObject**>(_v) = _t->categories(); break;
        case 2: *reinterpret_cast< QObject**>(_v) = _t->samples(); break;
        case 3: *reinterpret_cast< QObject**>(_v) = _t->sounds(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->isLoading(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->liveInstanceCount(); break;
        case 6: *reinterpret_cast< QDeclarativeAudioListener**>(_v) = _t->listener(); break;
        case 7: *reinterpret_cast< qreal*>(_v) = _t->dopplerFactor(); break;
        case 8: *reinterpret_cast< qreal*>(_v) = _t->speedOfSound(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QDeclarativeAudioEngine *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 7: _t->setDopplerFactor(*reinterpret_cast< qreal*>(_v)); break;
        case 8: _t->setSpeedOfSound(*reinterpret_cast< qreal*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QDeclarativeAudioEngine::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QDeclarativeAudioEngine.data,
    qt_meta_data_QDeclarativeAudioEngine,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QDeclarativeAudioEngine::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 < 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 || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 9;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QDeclarativeAudioEngine::ready()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void QDeclarativeAudioEngine::liveInstanceCountChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void QDeclarativeAudioEngine::isLoadingChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void QDeclarativeAudioEngine::finishedLoading()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
