/****************************************************************************
** Meta object code from reading C++ file 'osd.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/osd.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'osd.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_OSD_t {
    QByteArrayData data[39];
    char stringdata0[495];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_OSD_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_OSD_t qt_meta_stringdata_OSD = {
    {
QT_MOC_LITERAL(0, 0, 3), // "OSD"
QT_MOC_LITERAL(1, 4, 14), // "ReloadSettings"
QT_MOC_LITERAL(2, 19, 0), // ""
QT_MOC_LITERAL(3, 20, 6), // "Paused"
QT_MOC_LITERAL(4, 27, 7), // "Stopped"
QT_MOC_LITERAL(5, 35, 15), // "StopAfterToggle"
QT_MOC_LITERAL(6, 51, 4), // "stop"
QT_MOC_LITERAL(7, 56, 16), // "PlaylistFinished"
QT_MOC_LITERAL(8, 73, 13), // "VolumeChanged"
QT_MOC_LITERAL(9, 87, 5), // "value"
QT_MOC_LITERAL(10, 93, 25), // "MagnatuneDownloadFinished"
QT_MOC_LITERAL(11, 119, 6), // "albums"
QT_MOC_LITERAL(12, 126, 17), // "RepeatModeChanged"
QT_MOC_LITERAL(13, 144, 28), // "PlaylistSequence::RepeatMode"
QT_MOC_LITERAL(14, 173, 4), // "mode"
QT_MOC_LITERAL(15, 178, 18), // "ShuffleModeChanged"
QT_MOC_LITERAL(16, 197, 29), // "PlaylistSequence::ShuffleMode"
QT_MOC_LITERAL(17, 227, 17), // "ReshowCurrentSong"
QT_MOC_LITERAL(18, 245, 16), // "WiiremoteActived"
QT_MOC_LITERAL(19, 262, 2), // "id"
QT_MOC_LITERAL(20, 265, 18), // "WiiremoteDeactived"
QT_MOC_LITERAL(21, 284, 18), // "WiiremoteConnected"
QT_MOC_LITERAL(22, 303, 21), // "WiiremoteDisconnected"
QT_MOC_LITERAL(23, 325, 19), // "WiiremoteLowBattery"
QT_MOC_LITERAL(24, 345, 4), // "live"
QT_MOC_LITERAL(25, 350, 24), // "WiiremoteCriticalBattery"
QT_MOC_LITERAL(26, 375, 11), // "ShowPreview"
QT_MOC_LITERAL(27, 387, 9), // "Behaviour"
QT_MOC_LITERAL(28, 397, 4), // "type"
QT_MOC_LITERAL(29, 402, 5), // "line1"
QT_MOC_LITERAL(30, 408, 5), // "line2"
QT_MOC_LITERAL(31, 414, 4), // "Song"
QT_MOC_LITERAL(32, 419, 4), // "song"
QT_MOC_LITERAL(33, 424, 12), // "CallFinished"
QT_MOC_LITERAL(34, 437, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(35, 462, 7), // "watcher"
QT_MOC_LITERAL(36, 470, 14), // "AlbumArtLoaded"
QT_MOC_LITERAL(37, 485, 3), // "uri"
QT_MOC_LITERAL(38, 489, 5) // "image"

    },
    "OSD\0ReloadSettings\0\0Paused\0Stopped\0"
    "StopAfterToggle\0stop\0PlaylistFinished\0"
    "VolumeChanged\0value\0MagnatuneDownloadFinished\0"
    "albums\0RepeatModeChanged\0"
    "PlaylistSequence::RepeatMode\0mode\0"
    "ShuffleModeChanged\0PlaylistSequence::ShuffleMode\0"
    "ReshowCurrentSong\0WiiremoteActived\0"
    "id\0WiiremoteDeactived\0WiiremoteConnected\0"
    "WiiremoteDisconnected\0WiiremoteLowBattery\0"
    "live\0WiiremoteCriticalBattery\0ShowPreview\0"
    "Behaviour\0type\0line1\0line2\0Song\0song\0"
    "CallFinished\0QDBusPendingCallWatcher*\0"
    "watcher\0AlbumArtLoaded\0uri\0image"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_OSD[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  109,    2, 0x0a /* Public */,
       3,    0,  110,    2, 0x0a /* Public */,
       4,    0,  111,    2, 0x0a /* Public */,
       5,    1,  112,    2, 0x0a /* Public */,
       7,    0,  115,    2, 0x0a /* Public */,
       8,    1,  116,    2, 0x0a /* Public */,
      10,    1,  119,    2, 0x0a /* Public */,
      12,    1,  122,    2, 0x0a /* Public */,
      15,    1,  125,    2, 0x0a /* Public */,
      17,    0,  128,    2, 0x0a /* Public */,
      18,    1,  129,    2, 0x0a /* Public */,
      20,    1,  132,    2, 0x0a /* Public */,
      21,    1,  135,    2, 0x0a /* Public */,
      22,    1,  138,    2, 0x0a /* Public */,
      23,    2,  141,    2, 0x0a /* Public */,
      25,    2,  146,    2, 0x0a /* Public */,
      26,    4,  151,    2, 0x0a /* Public */,
      33,    1,  160,    2, 0x08 /* Private */,
      36,    3,  163,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::QStringList,   11,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, 0x80000000 | 16,   14,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   19,   24,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   19,   24,
    QMetaType::Void, 0x80000000 | 27, QMetaType::QString, QMetaType::QString, 0x80000000 | 31,   28,   29,   30,   32,
    QMetaType::Void, 0x80000000 | 34,   35,
    QMetaType::Void, 0x80000000 | 31, QMetaType::QString, QMetaType::QImage,   32,   37,   38,

       0        // eod
};

void OSD::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<OSD *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->ReloadSettings(); break;
        case 1: _t->Paused(); break;
        case 2: _t->Stopped(); break;
        case 3: _t->StopAfterToggle((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->PlaylistFinished(); break;
        case 5: _t->VolumeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->MagnatuneDownloadFinished((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 7: _t->RepeatModeChanged((*reinterpret_cast< PlaylistSequence::RepeatMode(*)>(_a[1]))); break;
        case 8: _t->ShuffleModeChanged((*reinterpret_cast< PlaylistSequence::ShuffleMode(*)>(_a[1]))); break;
        case 9: _t->ReshowCurrentSong(); break;
        case 10: _t->WiiremoteActived((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->WiiremoteDeactived((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->WiiremoteConnected((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->WiiremoteDisconnected((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->WiiremoteLowBattery((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 15: _t->WiiremoteCriticalBattery((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 16: _t->ShowPreview((*reinterpret_cast< const Behaviour(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const Song(*)>(_a[4]))); break;
        case 17: _t->CallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 18: _t->AlbumArtLoaded((*reinterpret_cast< const Song(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QImage(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 16:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 3:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Song >(); break;
            }
            break;
        case 18:
            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;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject OSD::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_OSD.data,
    qt_meta_data_OSD,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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