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

#include "../../../../amarok-3.3.3/src/EngineGstPipeline.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'EngineGstPipeline.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN17EngineGstPipelineE_t {};
} // unnamed namespace

template <> constexpr inline auto EngineGstPipeline::qt_create_metaobjectdata<qt_meta_tag_ZN17EngineGstPipelineE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "EngineGstPipeline",
        "tick",
        "",
        "time",
        "eos",
        "warning",
        "message",
        "durationChanged",
        "totalDuration",
        "trackCountChanged",
        "tracks",
        "buffering",
        "stateChanged",
        "GstState",
        "oldState",
        "newState",
        "internalStateChanged",
        "currentSourceChanged",
        "QUrl",
        "url",
        "metaDataChanged",
        "seekableChanged",
        "isSeekable",
        "aboutToFinish",
        "finished",
        "streamChanged",
        "volumeChanged",
        "newVolume",
        "mutedChanged",
        "mute",
        "analyzerDataReady",
        "QMap<int,QList<qint16>>",
        "data",
        "analyzerEndOfMedia",
        "remainingSamples",
        "setState",
        "GstStateChangeReturn",
        "state",
        "emitTick",
        "handleStateChange",
        "handleStreamChange",
        "handleEndOfStream",
        "handleAboutToFinish",
        "enqueuePlayback",
        "source",
        "clearPlaybackQueue",
        "stop",
        "play",
        "pause",
        "setMuted",
        "status",
        "setVolume",
        "setGain",
        "newGain"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'tick'
        QtMocHelpers::SignalData<void(qint64)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 3 },
        }}),
        // Signal 'eos'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'warning'
        QtMocHelpers::SignalData<void(const QString &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Signal 'durationChanged'
        QtMocHelpers::SignalData<void(qint64)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 8 },
        }}),
        // Signal 'trackCountChanged'
        QtMocHelpers::SignalData<void(int)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 10 },
        }}),
        // Signal 'buffering'
        QtMocHelpers::SignalData<void(int)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'stateChanged'
        QtMocHelpers::SignalData<void(GstState, GstState)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 }, { 0x80000000 | 13, 15 },
        }}),
        // Signal 'internalStateChanged'
        QtMocHelpers::SignalData<void(GstState, GstState)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 }, { 0x80000000 | 13, 15 },
        }}),
        // Signal 'currentSourceChanged'
        QtMocHelpers::SignalData<void(const QUrl &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 19 },
        }}),
        // Signal 'metaDataChanged'
        QtMocHelpers::SignalData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'seekableChanged'
        QtMocHelpers::SignalData<void(bool)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 22 },
        }}),
        // Signal 'aboutToFinish'
        QtMocHelpers::SignalData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'finished'
        QtMocHelpers::SignalData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'streamChanged'
        QtMocHelpers::SignalData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'volumeChanged'
        QtMocHelpers::SignalData<void(qreal)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QReal, 27 },
        }}),
        // Signal 'mutedChanged'
        QtMocHelpers::SignalData<void(bool)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 29 },
        }}),
        // Signal 'analyzerDataReady'
        QtMocHelpers::SignalData<void(const QMap<int,QVector<qint16> > &)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 31, 32 },
        }}),
        // Signal 'analyzerEndOfMedia'
        QtMocHelpers::SignalData<void(int)>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 34 },
        }}),
        // Slot 'setState'
        QtMocHelpers::SlotData<GstStateChangeReturn(GstState)>(35, 2, QMC::AccessPublic, 0x80000000 | 36, {{
            { 0x80000000 | 13, 37 },
        }}),
        // Slot 'emitTick'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'handleStateChange'
        QtMocHelpers::SlotData<void(GstState, GstState)>(39, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 }, { 0x80000000 | 13, 15 },
        }}),
        // Slot 'handleStreamChange'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'handleEndOfStream'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'handleAboutToFinish'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'enqueuePlayback'
        QtMocHelpers::SlotData<void(const QUrl &)>(43, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 44 },
        }}),
        // Slot 'clearPlaybackQueue'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'stop'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'play'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'pause'
        QtMocHelpers::SlotData<void()>(48, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setMuted'
        QtMocHelpers::SlotData<void(bool)>(49, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 50 },
        }}),
        // Slot 'setVolume'
        QtMocHelpers::SlotData<void(qreal)>(51, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QReal, 27 },
        }}),
        // Slot 'setGain'
        QtMocHelpers::SlotData<void(qreal)>(52, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QReal, 53 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<EngineGstPipeline, qt_meta_tag_ZN17EngineGstPipelineE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject EngineGstPipeline::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17EngineGstPipelineE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17EngineGstPipelineE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN17EngineGstPipelineE_t>.metaTypes,
    nullptr
} };

void EngineGstPipeline::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<EngineGstPipeline *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->tick((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1]))); break;
        case 1: _t->eos(); break;
        case 2: _t->warning((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->durationChanged((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1]))); break;
        case 4: _t->trackCountChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 5: _t->buffering((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 6: _t->stateChanged((*reinterpret_cast<std::add_pointer_t<GstState>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<GstState>>(_a[2]))); break;
        case 7: _t->internalStateChanged((*reinterpret_cast<std::add_pointer_t<GstState>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<GstState>>(_a[2]))); break;
        case 8: _t->currentSourceChanged((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 9: _t->metaDataChanged(); break;
        case 10: _t->seekableChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 11: _t->aboutToFinish(); break;
        case 12: _t->finished(); break;
        case 13: _t->streamChanged(); break;
        case 14: _t->volumeChanged((*reinterpret_cast<std::add_pointer_t<qreal>>(_a[1]))); break;
        case 15: _t->mutedChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 16: _t->analyzerDataReady((*reinterpret_cast<std::add_pointer_t<QMap<int,QList<qint16>>>>(_a[1]))); break;
        case 17: _t->analyzerEndOfMedia((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 18: { GstStateChangeReturn _r = _t->setState((*reinterpret_cast<std::add_pointer_t<GstState>>(_a[1])));
            if (_a[0]) *reinterpret_cast<GstStateChangeReturn*>(_a[0]) = std::move(_r); }  break;
        case 19: _t->emitTick(); break;
        case 20: _t->handleStateChange((*reinterpret_cast<std::add_pointer_t<GstState>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<GstState>>(_a[2]))); break;
        case 21: _t->handleStreamChange(); break;
        case 22: _t->handleEndOfStream(); break;
        case 23: _t->handleAboutToFinish(); break;
        case 24: _t->enqueuePlayback((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 25: _t->clearPlaybackQueue(); break;
        case 26: _t->stop(); break;
        case 27: _t->play(); break;
        case 28: _t->pause(); break;
        case 29: _t->setMuted((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 30: _t->setVolume((*reinterpret_cast<std::add_pointer_t<qreal>>(_a[1]))); break;
        case 31: _t->setGain((*reinterpret_cast<std::add_pointer_t<qreal>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)(qint64 )>(_a, &EngineGstPipeline::tick, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)()>(_a, &EngineGstPipeline::eos, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)(const QString & )>(_a, &EngineGstPipeline::warning, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)(qint64 )>(_a, &EngineGstPipeline::durationChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)(int )>(_a, &EngineGstPipeline::trackCountChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)(int )>(_a, &EngineGstPipeline::buffering, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)(GstState , GstState )>(_a, &EngineGstPipeline::stateChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)(GstState , GstState )>(_a, &EngineGstPipeline::internalStateChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)(const QUrl & )>(_a, &EngineGstPipeline::currentSourceChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)()>(_a, &EngineGstPipeline::metaDataChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)(bool )>(_a, &EngineGstPipeline::seekableChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)()>(_a, &EngineGstPipeline::aboutToFinish, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)()>(_a, &EngineGstPipeline::finished, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)()>(_a, &EngineGstPipeline::streamChanged, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)(qreal )>(_a, &EngineGstPipeline::volumeChanged, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)(bool )>(_a, &EngineGstPipeline::mutedChanged, 15))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)(const QMap<int,QVector<qint16> > & )>(_a, &EngineGstPipeline::analyzerDataReady, 16))
            return;
        if (QtMocHelpers::indexOfMethod<void (EngineGstPipeline::*)(int )>(_a, &EngineGstPipeline::analyzerEndOfMedia, 17))
            return;
    }
}

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

void *EngineGstPipeline::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17EngineGstPipelineE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int EngineGstPipeline::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 < 32)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 32;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 32)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 32;
    }
    return _id;
}

// SIGNAL 0
void EngineGstPipeline::tick(qint64 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

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

// SIGNAL 2
void EngineGstPipeline::warning(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void EngineGstPipeline::durationChanged(qint64 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void EngineGstPipeline::trackCountChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void EngineGstPipeline::buffering(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void EngineGstPipeline::stateChanged(GstState _t1, GstState _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2);
}

// SIGNAL 7
void EngineGstPipeline::internalStateChanged(GstState _t1, GstState _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1, _t2);
}

// SIGNAL 8
void EngineGstPipeline::currentSourceChanged(const QUrl & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void EngineGstPipeline::metaDataChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void EngineGstPipeline::seekableChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}

// SIGNAL 11
void EngineGstPipeline::aboutToFinish()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void EngineGstPipeline::finished()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}

// SIGNAL 13
void EngineGstPipeline::streamChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 13, nullptr);
}

// SIGNAL 14
void EngineGstPipeline::volumeChanged(qreal _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 14, nullptr, _t1);
}

// SIGNAL 15
void EngineGstPipeline::mutedChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 15, nullptr, _t1);
}

// SIGNAL 16
void EngineGstPipeline::analyzerDataReady(const QMap<int,QVector<qint16> > & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 16, nullptr, _t1);
}

// SIGNAL 17
void EngineGstPipeline::analyzerEndOfMedia(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 17, nullptr, _t1);
}
QT_WARNING_POP
