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

#include <memory>
#include "../../src/qmltypes/qmlproducer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qmlproducer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_QmlProducer_t {
    QByteArrayData data[38];
    char stringdata0[397];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QmlProducer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QmlProducer_t qt_meta_stringdata_QmlProducer = {
    {
QT_MOC_LITERAL(0, 0, 11), // "QmlProducer"
QT_MOC_LITERAL(1, 12, 15), // "producerChanged"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 15), // "positionChanged"
QT_MOC_LITERAL(4, 45, 8), // "position"
QT_MOC_LITERAL(5, 54, 6), // "seeked"
QT_MOC_LITERAL(6, 61, 9), // "inChanged"
QT_MOC_LITERAL(7, 71, 5), // "delta"
QT_MOC_LITERAL(8, 77, 10), // "outChanged"
QT_MOC_LITERAL(9, 88, 18), // "audioLevelsChanged"
QT_MOC_LITERAL(10, 107, 15), // "durationChanged"
QT_MOC_LITERAL(11, 123, 13), // "lengthChanged"
QT_MOC_LITERAL(12, 137, 11), // "setProducer"
QT_MOC_LITERAL(13, 149, 14), // "Mlt::Producer&"
QT_MOC_LITERAL(14, 164, 8), // "producer"
QT_MOC_LITERAL(15, 173, 17), // "remakeAudioLevels"
QT_MOC_LITERAL(16, 191, 18), // "isKeyframesVisible"
QT_MOC_LITERAL(17, 210, 16), // "audioLevelsReady"
QT_MOC_LITERAL(18, 227, 11), // "QModelIndex"
QT_MOC_LITERAL(19, 239, 5), // "index"
QT_MOC_LITERAL(20, 245, 3), // "get"
QT_MOC_LITERAL(21, 249, 4), // "name"
QT_MOC_LITERAL(22, 254, 9), // "getDouble"
QT_MOC_LITERAL(23, 264, 7), // "getRect"
QT_MOC_LITERAL(24, 272, 11), // "outOfBounds"
QT_MOC_LITERAL(25, 284, 2), // "in"
QT_MOC_LITERAL(26, 287, 3), // "out"
QT_MOC_LITERAL(27, 291, 11), // "aspectRatio"
QT_MOC_LITERAL(28, 303, 8), // "duration"
QT_MOC_LITERAL(29, 312, 6), // "length"
QT_MOC_LITERAL(30, 319, 8), // "resource"
QT_MOC_LITERAL(31, 328, 11), // "mlt_service"
QT_MOC_LITERAL(32, 340, 4), // "hash"
QT_MOC_LITERAL(33, 345, 11), // "audioLevels"
QT_MOC_LITERAL(34, 357, 6), // "fadeIn"
QT_MOC_LITERAL(35, 364, 7), // "fadeOut"
QT_MOC_LITERAL(36, 372, 5), // "speed"
QT_MOC_LITERAL(37, 378, 18) // "displayAspectRatio"

    },
    "QmlProducer\0producerChanged\0\0"
    "positionChanged\0position\0seeked\0"
    "inChanged\0delta\0outChanged\0"
    "audioLevelsChanged\0durationChanged\0"
    "lengthChanged\0setProducer\0Mlt::Producer&\0"
    "producer\0remakeAudioLevels\0"
    "isKeyframesVisible\0audioLevelsReady\0"
    "QModelIndex\0index\0get\0name\0getDouble\0"
    "getRect\0outOfBounds\0in\0out\0aspectRatio\0"
    "duration\0length\0resource\0mlt_service\0"
    "hash\0audioLevels\0fadeIn\0fadeOut\0speed\0"
    "displayAspectRatio"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QmlProducer[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      19,   14, // methods
      15,  160, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       8,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  109,    2, 0x06 /* Public */,
       3,    1,  110,    2, 0x06 /* Public */,
       5,    1,  113,    2, 0x06 /* Public */,
       6,    1,  116,    2, 0x06 /* Public */,
       8,    1,  119,    2, 0x06 /* Public */,
       9,    0,  122,    2, 0x06 /* Public */,
      10,    0,  123,    2, 0x06 /* Public */,
      11,    0,  124,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    1,  125,    2, 0x0a /* Public */,
      15,    1,  128,    2, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
      17,    1,  131,    2, 0x02 /* Public */,
      15,    0,  134,    2, 0x02 /* Public */,
      20,    2,  135,    2, 0x02 /* Public */,
      20,    1,  140,    2, 0x22 /* Public | MethodCloned */,
      22,    2,  143,    2, 0x02 /* Public */,
      22,    1,  148,    2, 0x22 /* Public | MethodCloned */,
      23,    2,  151,    2, 0x02 /* Public */,
      23,    1,  156,    2, 0x22 /* Public | MethodCloned */,
      24,    0,  159,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    4,
    QMetaType::Void, QMetaType::Int,    4,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, QMetaType::Bool,   16,

 // methods: parameters
    QMetaType::Void, 0x80000000 | 18,   19,
    QMetaType::Void,
    QMetaType::QString, QMetaType::QString, QMetaType::Int,   21,    4,
    QMetaType::QString, QMetaType::QString,   21,
    QMetaType::Double, QMetaType::QString, QMetaType::Int,   21,    4,
    QMetaType::Double, QMetaType::QString,   21,
    QMetaType::QRectF, QMetaType::QString, QMetaType::Int,   21,    4,
    QMetaType::QRectF, QMetaType::QString,   21,
    QMetaType::Bool,

 // properties: name, type, flags
      25, QMetaType::Int, 0x00495001,
      26, QMetaType::Int, 0x00495001,
      27, QMetaType::Int, 0x00495001,
      28, QMetaType::Int, 0x00495001,
      29, QMetaType::Int, 0x00495001,
      30, QMetaType::QString, 0x00495001,
      31, QMetaType::QString, 0x00495001,
      32, QMetaType::QString, 0x00495001,
      21, QMetaType::QString, 0x00495001,
      33, QMetaType::QVariant, 0x00495001,
      34, QMetaType::Int, 0x00495001,
      35, QMetaType::Int, 0x00495001,
      36, QMetaType::Double, 0x00495001,
       4, QMetaType::Int, 0x00495103,
      37, QMetaType::Double, 0x00495001,

 // properties: notify_signal_id
       3,
       4,
       0,
       6,
       7,
       0,
       0,
       0,
       0,
       5,
       0,
       0,
       0,
       1,
       0,

       0        // eod
};

void QmlProducer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QmlProducer *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->producerChanged(); break;
        case 1: _t->positionChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->seeked((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->inChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->outChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->audioLevelsChanged(); break;
        case 6: _t->durationChanged(); break;
        case 7: _t->lengthChanged(); break;
        case 8: _t->setProducer((*reinterpret_cast< Mlt::Producer(*)>(_a[1]))); break;
        case 9: _t->remakeAudioLevels((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->audioLevelsReady((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 11: _t->remakeAudioLevels(); break;
        case 12: { QString _r = _t->get((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 13: { QString _r = _t->get((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 14: { double _r = _t->getDouble((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 15: { double _r = _t->getDouble((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 16: { QRectF _r = _t->getRect((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QRectF*>(_a[0]) = std::move(_r); }  break;
        case 17: { QRectF _r = _t->getRect((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QRectF*>(_a[0]) = std::move(_r); }  break;
        case 18: { bool _r = _t->outOfBounds();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QmlProducer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlProducer::producerChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QmlProducer::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlProducer::positionChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QmlProducer::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlProducer::seeked)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QmlProducer::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlProducer::inChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QmlProducer::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlProducer::outChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QmlProducer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlProducer::audioLevelsChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QmlProducer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlProducer::durationChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (QmlProducer::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlProducer::lengthChanged)) {
                *result = 7;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QmlProducer *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->in(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->out(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->aspectRatio(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->duration(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->length(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->resource(); break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->mlt_service(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->hash(); break;
        case 8: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        case 9: *reinterpret_cast< QVariant*>(_v) = _t->audioLevels(); break;
        case 10: *reinterpret_cast< int*>(_v) = _t->fadeIn(); break;
        case 11: *reinterpret_cast< int*>(_v) = _t->fadeOut(); break;
        case 12: *reinterpret_cast< double*>(_v) = _t->speed(); break;
        case 13: *reinterpret_cast< int*>(_v) = _t->position(); break;
        case 14: *reinterpret_cast< double*>(_v) = _t->displayAspectRatio(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QmlProducer *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 13: _t->setPosition(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QmlProducer::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QmlProducer.data,
    qt_meta_data_QmlProducer,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QmlProducer::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 < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 19;
    }
#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 -= 15;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 15;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

// SIGNAL 1
void QmlProducer::positionChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void QmlProducer::seeked(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void QmlProducer::inChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void QmlProducer::outChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void QmlProducer::audioLevelsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void QmlProducer::durationChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void QmlProducer::lengthChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
