/****************************************************************************
** Meta object code from reading C++ file 'edittagdialog.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 "../../../clementine-1.4.0rc1-495-g10bf5dc17/src/ui/edittagdialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'edittagdialog.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_EditTagDialog_t {
    QByteArrayData data[34];
    char stringdata0[419];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EditTagDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EditTagDialog_t qt_meta_stringdata_EditTagDialog = {
    {
QT_MOC_LITERAL(0, 0, 13), // "EditTagDialog"
QT_MOC_LITERAL(1, 14, 5), // "Error"
QT_MOC_LITERAL(2, 20, 0), // ""
QT_MOC_LITERAL(3, 21, 7), // "message"
QT_MOC_LITERAL(4, 29, 16), // "SetSongsFinished"
QT_MOC_LITERAL(5, 46, 36), // "QFuture<QList<EditTagDialog::..."
QT_MOC_LITERAL(6, 83, 6), // "future"
QT_MOC_LITERAL(7, 90, 14), // "AcceptFinished"
QT_MOC_LITERAL(8, 105, 16), // "SelectionChanged"
QT_MOC_LITERAL(9, 122, 16), // "FieldValueEdited"
QT_MOC_LITERAL(10, 139, 10), // "ResetField"
QT_MOC_LITERAL(11, 150, 13), // "ButtonClicked"
QT_MOC_LITERAL(12, 164, 16), // "QAbstractButton*"
QT_MOC_LITERAL(13, 181, 6), // "button"
QT_MOC_LITERAL(14, 188, 9), // "SongRated"
QT_MOC_LITERAL(15, 198, 6), // "rating"
QT_MOC_LITERAL(16, 205, 15), // "ResetPlayCounts"
QT_MOC_LITERAL(17, 221, 8), // "FetchTag"
QT_MOC_LITERAL(18, 230, 18), // "FetchTagSongChosen"
QT_MOC_LITERAL(19, 249, 4), // "Song"
QT_MOC_LITERAL(20, 254, 13), // "original_song"
QT_MOC_LITERAL(21, 268, 12), // "new_metadata"
QT_MOC_LITERAL(22, 281, 9), // "ArtLoaded"
QT_MOC_LITERAL(23, 291, 2), // "id"
QT_MOC_LITERAL(24, 294, 6), // "scaled"
QT_MOC_LITERAL(25, 301, 8), // "original"
QT_MOC_LITERAL(26, 310, 17), // "LoadCoverFromFile"
QT_MOC_LITERAL(27, 328, 15), // "SaveCoverToFile"
QT_MOC_LITERAL(28, 344, 16), // "LoadCoverFromURL"
QT_MOC_LITERAL(29, 361, 14), // "SearchForCover"
QT_MOC_LITERAL(30, 376, 10), // "UnsetCover"
QT_MOC_LITERAL(31, 387, 9), // "ShowCover"
QT_MOC_LITERAL(32, 397, 12), // "PreviousSong"
QT_MOC_LITERAL(33, 410, 8) // "NextSong"

    },
    "EditTagDialog\0Error\0\0message\0"
    "SetSongsFinished\0QFuture<QList<EditTagDialog::Data> >\0"
    "future\0AcceptFinished\0SelectionChanged\0"
    "FieldValueEdited\0ResetField\0ButtonClicked\0"
    "QAbstractButton*\0button\0SongRated\0"
    "rating\0ResetPlayCounts\0FetchTag\0"
    "FetchTagSongChosen\0Song\0original_song\0"
    "new_metadata\0ArtLoaded\0id\0scaled\0"
    "original\0LoadCoverFromFile\0SaveCoverToFile\0"
    "LoadCoverFromURL\0SearchForCover\0"
    "UnsetCover\0ShowCover\0PreviousSong\0"
    "NextSong"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EditTagDialog[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      20,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  114,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,  117,    2, 0x08 /* Private */,
       7,    0,  120,    2, 0x08 /* Private */,
       8,    0,  121,    2, 0x08 /* Private */,
       9,    0,  122,    2, 0x08 /* Private */,
      10,    0,  123,    2, 0x08 /* Private */,
      11,    1,  124,    2, 0x08 /* Private */,
      14,    1,  127,    2, 0x08 /* Private */,
      16,    0,  130,    2, 0x08 /* Private */,
      17,    0,  131,    2, 0x08 /* Private */,
      18,    2,  132,    2, 0x08 /* Private */,
      22,    3,  137,    2, 0x08 /* Private */,
      26,    0,  144,    2, 0x08 /* Private */,
      27,    0,  145,    2, 0x08 /* Private */,
      28,    0,  146,    2, 0x08 /* Private */,
      29,    0,  147,    2, 0x08 /* Private */,
      30,    0,  148,    2, 0x08 /* Private */,
      31,    0,  149,    2, 0x08 /* Private */,
      32,    0,  150,    2, 0x08 /* Private */,
      33,    0,  151,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, QMetaType::Float,   15,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 19, 0x80000000 | 19,   20,   21,
    QMetaType::Void, QMetaType::ULongLong, QMetaType::QImage, QMetaType::QImage,   23,   24,   25,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void EditTagDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<EditTagDialog *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->Error((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->SetSongsFinished((*reinterpret_cast< QFuture<QList<EditTagDialog::Data> >(*)>(_a[1]))); break;
        case 2: _t->AcceptFinished(); break;
        case 3: _t->SelectionChanged(); break;
        case 4: _t->FieldValueEdited(); break;
        case 5: _t->ResetField(); break;
        case 6: _t->ButtonClicked((*reinterpret_cast< QAbstractButton*(*)>(_a[1]))); break;
        case 7: _t->SongRated((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 8: _t->ResetPlayCounts(); break;
        case 9: _t->FetchTag(); break;
        case 10: _t->FetchTagSongChosen((*reinterpret_cast< const Song(*)>(_a[1])),(*reinterpret_cast< const Song(*)>(_a[2]))); break;
        case 11: _t->ArtLoaded((*reinterpret_cast< quint64(*)>(_a[1])),(*reinterpret_cast< const QImage(*)>(_a[2])),(*reinterpret_cast< const QImage(*)>(_a[3]))); break;
        case 12: _t->LoadCoverFromFile(); break;
        case 13: _t->SaveCoverToFile(); break;
        case 14: _t->LoadCoverFromURL(); break;
        case 15: _t->SearchForCover(); break;
        case 16: _t->UnsetCover(); break;
        case 17: _t->ShowCover(); break;
        case 18: _t->PreviousSong(); break;
        case 19: _t->NextSong(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Song >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (EditTagDialog::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditTagDialog::Error)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject EditTagDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_meta_stringdata_EditTagDialog.data,
    qt_meta_data_EditTagDialog,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int EditTagDialog::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 < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    }
    return _id;
}

// SIGNAL 0
void EditTagDialog::Error(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
