/****************************************************************************
** Meta object code from reading C++ file 'nowplayingwidget.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/widgets/nowplayingwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'nowplayingwidget.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_NowPlayingWidget_t {
    QByteArrayData data[36];
    char stringdata0[401];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_NowPlayingWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_NowPlayingWidget_t qt_meta_stringdata_NowPlayingWidget = {
    {
QT_MOC_LITERAL(0, 0, 16), // "NowPlayingWidget"
QT_MOC_LITERAL(1, 17, 25), // "ShowAboveStatusBarChanged"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 5), // "above"
QT_MOC_LITERAL(4, 50, 7), // "Stopped"
QT_MOC_LITERAL(5, 58, 7), // "AllHail"
QT_MOC_LITERAL(6, 66, 9), // "hypnotoad"
QT_MOC_LITERAL(7, 76, 13), // "EnableKittens"
QT_MOC_LITERAL(8, 90, 3), // "aww"
QT_MOC_LITERAL(9, 94, 7), // "SetMode"
QT_MOC_LITERAL(10, 102, 4), // "mode"
QT_MOC_LITERAL(11, 107, 18), // "ShowAboveStatusBar"
QT_MOC_LITERAL(12, 126, 13), // "FitCoverWidth"
QT_MOC_LITERAL(13, 140, 3), // "fit"
QT_MOC_LITERAL(14, 144, 14), // "AlbumArtLoaded"
QT_MOC_LITERAL(15, 159, 4), // "Song"
QT_MOC_LITERAL(16, 164, 8), // "metadata"
QT_MOC_LITERAL(17, 173, 3), // "uri"
QT_MOC_LITERAL(18, 177, 5), // "image"
QT_MOC_LITERAL(19, 183, 12), // "KittenLoaded"
QT_MOC_LITERAL(20, 196, 2), // "id"
QT_MOC_LITERAL(21, 199, 10), // "SetVisible"
QT_MOC_LITERAL(22, 210, 7), // "visible"
QT_MOC_LITERAL(23, 218, 9), // "SetHeight"
QT_MOC_LITERAL(24, 228, 6), // "height"
QT_MOC_LITERAL(25, 235, 17), // "FadePreviousTrack"
QT_MOC_LITERAL(26, 253, 5), // "value"
QT_MOC_LITERAL(27, 259, 17), // "LoadCoverFromFile"
QT_MOC_LITERAL(28, 277, 15), // "SaveCoverToFile"
QT_MOC_LITERAL(29, 293, 16), // "LoadCoverFromURL"
QT_MOC_LITERAL(30, 310, 14), // "SearchForCover"
QT_MOC_LITERAL(31, 325, 10), // "UnsetCover"
QT_MOC_LITERAL(32, 336, 9), // "ShowCover"
QT_MOC_LITERAL(33, 346, 24), // "SearchCoverAutomatically"
QT_MOC_LITERAL(34, 371, 4), // "Bask"
QT_MOC_LITERAL(35, 376, 24) // "AutomaticCoverSearchDone"

    },
    "NowPlayingWidget\0ShowAboveStatusBarChanged\0"
    "\0above\0Stopped\0AllHail\0hypnotoad\0"
    "EnableKittens\0aww\0SetMode\0mode\0"
    "ShowAboveStatusBar\0FitCoverWidth\0fit\0"
    "AlbumArtLoaded\0Song\0metadata\0uri\0image\0"
    "KittenLoaded\0id\0SetVisible\0visible\0"
    "SetHeight\0height\0FadePreviousTrack\0"
    "value\0LoadCoverFromFile\0SaveCoverToFile\0"
    "LoadCoverFromURL\0SearchForCover\0"
    "UnsetCover\0ShowCover\0SearchCoverAutomatically\0"
    "Bask\0AutomaticCoverSearchDone"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_NowPlayingWidget[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       4,    0,  122,    2, 0x0a /* Public */,
       5,    1,  123,    2, 0x0a /* Public */,
       7,    1,  126,    2, 0x0a /* Public */,
       9,    1,  129,    2, 0x08 /* Private */,
      11,    1,  132,    2, 0x08 /* Private */,
      12,    1,  135,    2, 0x08 /* Private */,
      14,    3,  138,    2, 0x08 /* Private */,
      19,    2,  145,    2, 0x08 /* Private */,
      21,    1,  150,    2, 0x08 /* Private */,
      23,    1,  153,    2, 0x08 /* Private */,
      25,    1,  156,    2, 0x08 /* Private */,
      27,    0,  159,    2, 0x08 /* Private */,
      28,    0,  160,    2, 0x08 /* Private */,
      29,    0,  161,    2, 0x08 /* Private */,
      30,    0,  162,    2, 0x08 /* Private */,
      31,    0,  163,    2, 0x08 /* Private */,
      32,    0,  164,    2, 0x08 /* Private */,
      33,    0,  165,    2, 0x08 /* Private */,
      34,    0,  166,    2, 0x08 /* Private */,
      35,    0,  167,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, 0x80000000 | 15, QMetaType::QString, QMetaType::QImage,   16,   17,   18,
    QMetaType::Void, QMetaType::ULongLong, QMetaType::QImage,   20,   18,
    QMetaType::Void, QMetaType::Bool,   22,
    QMetaType::Void, QMetaType::Int,   24,
    QMetaType::Void, QMetaType::QReal,   26,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void NowPlayingWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<NowPlayingWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->ShowAboveStatusBarChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->Stopped(); break;
        case 2: _t->AllHail((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->EnableKittens((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->SetMode((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->ShowAboveStatusBar((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->FitCoverWidth((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->AlbumArtLoaded((*reinterpret_cast< const Song(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QImage(*)>(_a[3]))); break;
        case 8: _t->KittenLoaded((*reinterpret_cast< quint64(*)>(_a[1])),(*reinterpret_cast< const QImage(*)>(_a[2]))); break;
        case 9: _t->SetVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->SetHeight((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->FadePreviousTrack((*reinterpret_cast< qreal(*)>(_a[1]))); 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->SearchCoverAutomatically(); break;
        case 19: _t->Bask(); break;
        case 20: _t->AutomaticCoverSearchDone(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            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 (NowPlayingWidget::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NowPlayingWidget::ShowAboveStatusBarChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject NowPlayingWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_NowPlayingWidget.data,
    qt_meta_data_NowPlayingWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int NowPlayingWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
    return _id;
}

// SIGNAL 0
void NowPlayingWidget::ShowAboveStatusBarChanged(bool _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
