/****************************************************************************
** Meta object code from reading C++ file 'lastfmservice.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/internet/lastfm/lastfmservice.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'lastfmservice.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_LastFMService_t {
    QByteArrayData data[30];
    char stringdata0[452];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_LastFMService_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_LastFMService_t qt_meta_stringdata_LastFMService = {
    {
QT_MOC_LITERAL(0, 0, 13), // "LastFMService"
QT_MOC_LITERAL(1, 14, 22), // "AuthenticationComplete"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 7), // "success"
QT_MOC_LITERAL(4, 46, 24), // "ScrobblingEnabledChanged"
QT_MOC_LITERAL(5, 71, 5), // "value"
QT_MOC_LITERAL(6, 77, 23), // "ButtonVisibilityChanged"
QT_MOC_LITERAL(7, 101, 31), // "ScrobbleButtonVisibilityChanged"
QT_MOC_LITERAL(8, 133, 24), // "PreferAlbumArtistChanged"
QT_MOC_LITERAL(9, 158, 16), // "CachedToScrobble"
QT_MOC_LITERAL(10, 175, 13), // "ScrobbleError"
QT_MOC_LITERAL(11, 189, 23), // "UpdatedSubscriberStatus"
QT_MOC_LITERAL(12, 213, 13), // "is_subscriber"
QT_MOC_LITERAL(13, 227, 20), // "ScrobbledRadioStream"
QT_MOC_LITERAL(14, 248, 17), // "SavedItemsChanged"
QT_MOC_LITERAL(15, 266, 10), // "NowPlaying"
QT_MOC_LITERAL(16, 277, 4), // "Song"
QT_MOC_LITERAL(17, 282, 4), // "song"
QT_MOC_LITERAL(18, 287, 9), // "CacheSong"
QT_MOC_LITERAL(19, 297, 14), // "scrobble_point"
QT_MOC_LITERAL(20, 312, 8), // "Scrobble"
QT_MOC_LITERAL(21, 321, 4), // "Love"
QT_MOC_LITERAL(22, 326, 3), // "Ban"
QT_MOC_LITERAL(23, 330, 10), // "ShowConfig"
QT_MOC_LITERAL(24, 341, 16), // "ToggleScrobbling"
QT_MOC_LITERAL(25, 358, 25), // "AuthenticateReplyFinished"
QT_MOC_LITERAL(26, 384, 14), // "QNetworkReply*"
QT_MOC_LITERAL(27, 399, 5), // "reply"
QT_MOC_LITERAL(28, 405, 30), // "UpdateSubscriberStatusFinished"
QT_MOC_LITERAL(29, 436, 15) // "ScrobblerStatus"

    },
    "LastFMService\0AuthenticationComplete\0"
    "\0success\0ScrobblingEnabledChanged\0"
    "value\0ButtonVisibilityChanged\0"
    "ScrobbleButtonVisibilityChanged\0"
    "PreferAlbumArtistChanged\0CachedToScrobble\0"
    "ScrobbleError\0UpdatedSubscriberStatus\0"
    "is_subscriber\0ScrobbledRadioStream\0"
    "SavedItemsChanged\0NowPlaying\0Song\0"
    "song\0CacheSong\0scrobble_point\0Scrobble\0"
    "Love\0Ban\0ShowConfig\0ToggleScrobbling\0"
    "AuthenticateReplyFinished\0QNetworkReply*\0"
    "reply\0UpdateSubscriberStatusFinished\0"
    "ScrobblerStatus"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_LastFMService[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  114,    2, 0x06 /* Public */,
       4,    1,  117,    2, 0x06 /* Public */,
       6,    1,  120,    2, 0x06 /* Public */,
       7,    1,  123,    2, 0x06 /* Public */,
       8,    1,  126,    2, 0x06 /* Public */,
       9,    0,  129,    2, 0x06 /* Public */,
      10,    1,  130,    2, 0x06 /* Public */,
      11,    1,  133,    2, 0x06 /* Public */,
      13,    0,  136,    2, 0x06 /* Public */,
      14,    0,  137,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,  138,    2, 0x0a /* Public */,
      18,    1,  141,    2, 0x0a /* Public */,
      20,    0,  144,    2, 0x0a /* Public */,
      21,    0,  145,    2, 0x0a /* Public */,
      22,    0,  146,    2, 0x0a /* Public */,
      23,    0,  147,    2, 0x0a /* Public */,
      24,    0,  148,    2, 0x0a /* Public */,
      25,    1,  149,    2, 0x08 /* Private */,
      28,    1,  152,    2, 0x08 /* Private */,
      29,    1,  155,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 26,   27,
    QMetaType::Void, 0x80000000 | 26,   27,
    QMetaType::Void, QMetaType::Int,    5,

       0        // eod
};

void LastFMService::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<LastFMService *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->AuthenticationComplete((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->ScrobblingEnabledChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->ButtonVisibilityChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->ScrobbleButtonVisibilityChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->PreferAlbumArtistChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->CachedToScrobble(); break;
        case 6: _t->ScrobbleError((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->UpdatedSubscriberStatus((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->ScrobbledRadioStream(); break;
        case 9: _t->SavedItemsChanged(); break;
        case 10: _t->NowPlaying((*reinterpret_cast< const Song(*)>(_a[1]))); break;
        case 11: _t->CacheSong((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->Scrobble(); break;
        case 13: _t->Love(); break;
        case 14: _t->Ban(); break;
        case 15: _t->ShowConfig(); break;
        case 16: _t->ToggleScrobbling(); break;
        case 17: _t->AuthenticateReplyFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
        case 18: _t->UpdateSubscriberStatusFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
        case 19: _t->ScrobblerStatus((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QNetworkReply* >(); 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< QNetworkReply* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (LastFMService::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LastFMService::AuthenticationComplete)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (LastFMService::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LastFMService::ScrobblingEnabledChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (LastFMService::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LastFMService::ButtonVisibilityChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (LastFMService::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LastFMService::ScrobbleButtonVisibilityChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (LastFMService::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LastFMService::PreferAlbumArtistChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (LastFMService::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LastFMService::CachedToScrobble)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (LastFMService::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LastFMService::ScrobbleError)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (LastFMService::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LastFMService::UpdatedSubscriberStatus)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (LastFMService::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LastFMService::ScrobbledRadioStream)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (LastFMService::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LastFMService::SavedItemsChanged)) {
                *result = 9;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject LastFMService::staticMetaObject = { {
    QMetaObject::SuperData::link<Scrobbler::staticMetaObject>(),
    qt_meta_stringdata_LastFMService.data,
    qt_meta_data_LastFMService,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int LastFMService::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Scrobbler::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 LastFMService::AuthenticationComplete(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void LastFMService::ScrobblingEnabledChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void LastFMService::ButtonVisibilityChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void LastFMService::ScrobbleButtonVisibilityChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void LastFMService::PreferAlbumArtistChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void LastFMService::CachedToScrobble()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void LastFMService::ScrobbleError(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void LastFMService::UpdatedSubscriberStatus(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void LastFMService::ScrobbledRadioStream()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void LastFMService::SavedItemsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
