/****************************************************************************
** Meta object code from reading C++ file 'MakeMkvCon.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 "../../../../../src/import/MakeMkvCon.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MakeMkvCon.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_ZN10MakeMkvConE_t {};
} // unnamed namespace

template <> constexpr inline auto MakeMkvCon::qt_create_metaobjectdata<qt_meta_tag_ZN10MakeMkvConE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MakeMkvCon",
        "sigGotDrives",
        "",
        "QMap<int,QString>",
        "sigScannedDrive",
        "QMap<int,MakeMkvCon::Track>",
        "sigMessage",
        "sigProgress",
        "sigTrackImported",
        "sigDiscBackedUp",
        "onGetDrives",
        "onScanDrive",
        "id",
        "onImportTrack",
        "trackId",
        "driveId",
        "importFolder",
        "onBackupDisc",
        "onReadyRead",
        "onReadyReadError",
        "onFinished",
        "exitCode",
        "QProcess::ExitStatus",
        "status"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sigGotDrives'
        QtMocHelpers::SignalData<void(QMap<int,QString>)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'sigScannedDrive'
        QtMocHelpers::SignalData<void(QString, QMap<int,MakeMkvCon::Track>)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { 0x80000000 | 5, 2 },
        }}),
        // Signal 'sigMessage'
        QtMocHelpers::SignalData<void(QString)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'sigProgress'
        QtMocHelpers::SignalData<void(int, int)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 }, { QMetaType::Int, 2 },
        }}),
        // Signal 'sigTrackImported'
        QtMocHelpers::SignalData<void(int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'sigDiscBackedUp'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onGetDrives'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onScanDrive'
        QtMocHelpers::SlotData<void(int)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 12 },
        }}),
        // Slot 'onImportTrack'
        QtMocHelpers::SlotData<void(int, int, QString)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 14 }, { QMetaType::Int, 15 }, { QMetaType::QString, 16 },
        }}),
        // Slot 'onBackupDisc'
        QtMocHelpers::SlotData<void(int, QString)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 15 }, { QMetaType::QString, 16 },
        }}),
        // Slot 'onReadyRead'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onReadyReadError'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onFinished'
        QtMocHelpers::SlotData<void(int, QProcess::ExitStatus)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 21 }, { 0x80000000 | 22, 23 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MakeMkvCon, qt_meta_tag_ZN10MakeMkvConE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MakeMkvCon::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10MakeMkvConE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10MakeMkvConE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10MakeMkvConE_t>.metaTypes,
    nullptr
} };

void MakeMkvCon::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MakeMkvCon *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sigGotDrives((*reinterpret_cast<std::add_pointer_t<QMap<int,QString>>>(_a[1]))); break;
        case 1: _t->sigScannedDrive((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QMap<int,MakeMkvCon::Track>>>(_a[2]))); break;
        case 2: _t->sigMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->sigProgress((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 4: _t->sigTrackImported((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 5: _t->sigDiscBackedUp(); break;
        case 6: _t->onGetDrives(); break;
        case 7: _t->onScanDrive((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->onImportTrack((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 9: _t->onBackupDisc((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 10: _t->onReadyRead(); break;
        case 11: _t->onReadyReadError(); break;
        case 12: _t->onFinished((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QProcess::ExitStatus>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MakeMkvCon::*)(QMap<int,QString> )>(_a, &MakeMkvCon::sigGotDrives, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MakeMkvCon::*)(QString , QMap<int,MakeMkvCon::Track> )>(_a, &MakeMkvCon::sigScannedDrive, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (MakeMkvCon::*)(QString )>(_a, &MakeMkvCon::sigMessage, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (MakeMkvCon::*)(int , int )>(_a, &MakeMkvCon::sigProgress, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (MakeMkvCon::*)(int )>(_a, &MakeMkvCon::sigTrackImported, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (MakeMkvCon::*)()>(_a, &MakeMkvCon::sigDiscBackedUp, 5))
            return;
    }
}

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

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

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

// SIGNAL 0
void MakeMkvCon::sigGotDrives(QMap<int,QString> _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void MakeMkvCon::sigScannedDrive(QString _t1, QMap<int,MakeMkvCon::Track> _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

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

// SIGNAL 3
void MakeMkvCon::sigProgress(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2);
}

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

// SIGNAL 5
void MakeMkvCon::sigDiscBackedUp()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
