/****************************************************************************
** Meta object code from reading C++ file 'SqlBatchImporter.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/databaseimporter/SqlBatchImporter.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 'SqlBatchImporter.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_ZN16SqlBatchImporterE_t {};
} // unnamed namespace

template <> constexpr inline auto SqlBatchImporter::qt_create_metaobjectdata<qt_meta_tag_ZN16SqlBatchImporterE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "SqlBatchImporter",
        "importFailed",
        "",
        "importSucceeded",
        "importError",
        "showMessage",
        "trackAdded",
        "Meta::TrackPtr",
        "trackDiscarded",
        "trackMatchFound",
        "trackMatchMultiple",
        "Meta::TrackList",
        "importingFinished",
        "trackImported",
        "track",
        "trackMatched",
        "oldUrl"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'importFailed'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'importSucceeded'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'importError'
        QtMocHelpers::SignalData<void(const QString &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'showMessage'
        QtMocHelpers::SignalData<void(const QString &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'trackAdded'
        QtMocHelpers::SignalData<void(Meta::TrackPtr)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 2 },
        }}),
        // Signal 'trackDiscarded'
        QtMocHelpers::SignalData<void(const QString &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'trackMatchFound'
        QtMocHelpers::SignalData<void(Meta::TrackPtr, const QString &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 2 }, { QMetaType::QString, 2 },
        }}),
        // Signal 'trackMatchMultiple'
        QtMocHelpers::SignalData<void(Meta::TrackList, const QString &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 2 }, { QMetaType::QString, 2 },
        }}),
        // Slot 'importingFinished'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'trackImported'
        QtMocHelpers::SlotData<void(const Meta::TrackPtr &)>(13, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 7, 14 },
        }}),
        // Slot 'trackMatched'
        QtMocHelpers::SlotData<void(const Meta::TrackPtr &, const QString &)>(15, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 7, 14 }, { QMetaType::QString, 16 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<SqlBatchImporter, qt_meta_tag_ZN16SqlBatchImporterE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject SqlBatchImporter::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16SqlBatchImporterE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16SqlBatchImporterE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16SqlBatchImporterE_t>.metaTypes,
    nullptr
} };

void SqlBatchImporter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<SqlBatchImporter *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->importFailed(); break;
        case 1: _t->importSucceeded(); break;
        case 2: _t->importError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->showMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->trackAdded((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 5: _t->trackDiscarded((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 6: _t->trackMatchFound((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 7: _t->trackMatchMultiple((*reinterpret_cast<std::add_pointer_t<Meta::TrackList>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 8: _t->importingFinished(); break;
        case 9: _t->trackImported((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 10: _t->trackMatched((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (SqlBatchImporter::*)()>(_a, &SqlBatchImporter::importFailed, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (SqlBatchImporter::*)()>(_a, &SqlBatchImporter::importSucceeded, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (SqlBatchImporter::*)(const QString & )>(_a, &SqlBatchImporter::importError, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (SqlBatchImporter::*)(const QString & )>(_a, &SqlBatchImporter::showMessage, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (SqlBatchImporter::*)(Meta::TrackPtr )>(_a, &SqlBatchImporter::trackAdded, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (SqlBatchImporter::*)(const QString & )>(_a, &SqlBatchImporter::trackDiscarded, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (SqlBatchImporter::*)(Meta::TrackPtr , const QString & )>(_a, &SqlBatchImporter::trackMatchFound, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (SqlBatchImporter::*)(Meta::TrackList , const QString & )>(_a, &SqlBatchImporter::trackMatchMultiple, 7))
            return;
    }
}

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

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

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

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

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

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

// SIGNAL 3
void SqlBatchImporter::showMessage(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void SqlBatchImporter::trackAdded(Meta::TrackPtr _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void SqlBatchImporter::trackDiscarded(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void SqlBatchImporter::trackMatchFound(Meta::TrackPtr _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2);
}

// SIGNAL 7
void SqlBatchImporter::trackMatchMultiple(Meta::TrackList _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1, _t2);
}
QT_WARNING_POP
