/****************************************************************************
** Meta object code from reading C++ file 'TagDialog.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/dialogs/TagDialog.h"
#include <QtGui/qtextcursor.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 'TagDialog.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_ZN9TagDialogE_t {};
} // unnamed namespace

template <> constexpr inline auto TagDialog::qt_create_metaobjectdata<qt_meta_tag_ZN9TagDialogE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TagDialog",
        "accept",
        "",
        "cancelPressed",
        "openPressed",
        "previousTrack",
        "nextTrack",
        "perTrack",
        "checkChanged",
        "removeLabelPressed",
        "addLabelPressed",
        "showCoverMenu",
        "QPoint",
        "pos",
        "guessFromFilename",
        "musicbrainzTagger",
        "musicbrainzTaggerResult",
        "QMap<Meta::TrackPtr,QVariantMap>",
        "result",
        "addTrack",
        "Meta::TrackPtr&",
        "track",
        "tracksReady",
        "Meta::TrackList",
        "tracks",
        "queryDone",
        "albumsReady",
        "Meta::AlbumList",
        "albums",
        "artistsReady",
        "Meta::ArtistList",
        "artists",
        "composersReady",
        "Meta::ComposerList",
        "composers",
        "genresReady",
        "Meta::GenreList",
        "genres",
        "labelsReady",
        "Meta::LabelList",
        "labels",
        "dataQueryDone",
        "labelModified",
        "labelSelected"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'accept'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'cancelPressed'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openPressed'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'previousTrack'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'nextTrack'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'perTrack'
        QtMocHelpers::SlotData<void(bool)>(7, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'checkChanged'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'removeLabelPressed'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'addLabelPressed'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showCoverMenu'
        QtMocHelpers::SlotData<void(const QPoint &)>(11, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Slot 'guessFromFilename'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'musicbrainzTagger'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'musicbrainzTaggerResult'
        QtMocHelpers::SlotData<void(const QMap<Meta::TrackPtr,QVariantMap> &)>(16, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 17, 18 },
        }}),
        // Slot 'addTrack'
        QtMocHelpers::SlotData<void(Meta::TrackPtr &)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 20, 21 },
        }}),
        // Slot 'tracksReady'
        QtMocHelpers::SlotData<void(const Meta::TrackList &)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 23, 24 },
        }}),
        // Slot 'queryDone'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'albumsReady'
        QtMocHelpers::SlotData<void(const Meta::AlbumList &)>(26, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 27, 28 },
        }}),
        // Slot 'artistsReady'
        QtMocHelpers::SlotData<void(const Meta::ArtistList &)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 30, 31 },
        }}),
        // Slot 'composersReady'
        QtMocHelpers::SlotData<void(const Meta::ComposerList &)>(32, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 33, 34 },
        }}),
        // Slot 'genresReady'
        QtMocHelpers::SlotData<void(const Meta::GenreList &)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 36, 37 },
        }}),
        // Slot 'labelsReady'
        QtMocHelpers::SlotData<void(const Meta::LabelList &)>(38, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 39, 40 },
        }}),
        // Slot 'dataQueryDone'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'labelModified'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'labelSelected'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TagDialog, qt_meta_tag_ZN9TagDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject TagDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9TagDialogE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9TagDialogE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9TagDialogE_t>.metaTypes,
    nullptr
} };

void TagDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TagDialog *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->accept(); break;
        case 1: _t->cancelPressed(); break;
        case 2: _t->openPressed(); break;
        case 3: _t->previousTrack(); break;
        case 4: _t->nextTrack(); break;
        case 5: _t->perTrack((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->checkChanged(); break;
        case 7: _t->removeLabelPressed(); break;
        case 8: _t->addLabelPressed(); break;
        case 9: _t->showCoverMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 10: _t->guessFromFilename(); break;
        case 11: _t->musicbrainzTagger(); break;
        case 12: _t->musicbrainzTaggerResult((*reinterpret_cast<std::add_pointer_t<QMap<Meta::TrackPtr,QVariantMap>>>(_a[1]))); break;
        case 13: _t->addTrack((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr&>>(_a[1]))); break;
        case 14: _t->tracksReady((*reinterpret_cast<std::add_pointer_t<Meta::TrackList>>(_a[1]))); break;
        case 15: _t->queryDone(); break;
        case 16: _t->albumsReady((*reinterpret_cast<std::add_pointer_t<Meta::AlbumList>>(_a[1]))); break;
        case 17: _t->artistsReady((*reinterpret_cast<std::add_pointer_t<Meta::ArtistList>>(_a[1]))); break;
        case 18: _t->composersReady((*reinterpret_cast<std::add_pointer_t<Meta::ComposerList>>(_a[1]))); break;
        case 19: _t->genresReady((*reinterpret_cast<std::add_pointer_t<Meta::GenreList>>(_a[1]))); break;
        case 20: _t->labelsReady((*reinterpret_cast<std::add_pointer_t<Meta::LabelList>>(_a[1]))); break;
        case 21: _t->dataQueryDone(); break;
        case 22: _t->labelModified(); break;
        case 23: _t->labelSelected(); break;
        default: ;
        }
    }
}

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

void *TagDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9TagDialogE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Meta::Observer"))
        return static_cast< Meta::Observer*>(this);
    return QDialog::qt_metacast(_clname);
}

int TagDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 24;
    }
    return _id;
}
QT_WARNING_POP
