/****************************************************************************
** Meta object code from reading C++ file 'podcastservice.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/podcasts/podcastservice.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'podcastservice.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_PodcastService_t {
    QByteArrayData data[37];
    char stringdata0[514];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PodcastService_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PodcastService_t qt_meta_stringdata_PodcastService = {
    {
QT_MOC_LITERAL(0, 0, 14), // "PodcastService"
QT_MOC_LITERAL(1, 15, 10), // "AddPodcast"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 10), // "FileCopied"
QT_MOC_LITERAL(4, 38, 11), // "database_id"
QT_MOC_LITERAL(5, 50, 21), // "UpdateSelectedPodcast"
QT_MOC_LITERAL(6, 72, 13), // "ReloadPodcast"
QT_MOC_LITERAL(7, 86, 7), // "Podcast"
QT_MOC_LITERAL(8, 94, 7), // "podcast"
QT_MOC_LITERAL(9, 102, 21), // "RemoveSelectedPodcast"
QT_MOC_LITERAL(10, 124, 23), // "DownloadSelectedEpisode"
QT_MOC_LITERAL(11, 148, 11), // "PodcastInfo"
QT_MOC_LITERAL(12, 160, 20), // "DeleteDownloadedData"
QT_MOC_LITERAL(13, 181, 6), // "SetNew"
QT_MOC_LITERAL(14, 188, 11), // "SetListened"
QT_MOC_LITERAL(15, 200, 10), // "ShowConfig"
QT_MOC_LITERAL(16, 211, 17), // "SubscriptionAdded"
QT_MOC_LITERAL(17, 229, 19), // "SubscriptionRemoved"
QT_MOC_LITERAL(18, 249, 13), // "EpisodesAdded"
QT_MOC_LITERAL(19, 263, 18), // "PodcastEpisodeList"
QT_MOC_LITERAL(20, 282, 8), // "episodes"
QT_MOC_LITERAL(21, 291, 15), // "EpisodesUpdated"
QT_MOC_LITERAL(22, 307, 23), // "DownloadProgressChanged"
QT_MOC_LITERAL(23, 331, 14), // "PodcastEpisode"
QT_MOC_LITERAL(24, 346, 7), // "episode"
QT_MOC_LITERAL(25, 354, 22), // "PodcastDownload::State"
QT_MOC_LITERAL(26, 377, 5), // "state"
QT_MOC_LITERAL(27, 383, 7), // "percent"
QT_MOC_LITERAL(28, 391, 18), // "CurrentSongChanged"
QT_MOC_LITERAL(29, 410, 4), // "Song"
QT_MOC_LITERAL(30, 415, 8), // "metadata"
QT_MOC_LITERAL(31, 424, 12), // "CopyToDevice"
QT_MOC_LITERAL(32, 437, 13), // "episodes_list"
QT_MOC_LITERAL(33, 451, 15), // "QModelIndexList"
QT_MOC_LITERAL(34, 467, 15), // "episode_indexes"
QT_MOC_LITERAL(35, 483, 15), // "podcast_indexes"
QT_MOC_LITERAL(36, 499, 14) // "CancelDownload"

    },
    "PodcastService\0AddPodcast\0\0FileCopied\0"
    "database_id\0UpdateSelectedPodcast\0"
    "ReloadPodcast\0Podcast\0podcast\0"
    "RemoveSelectedPodcast\0DownloadSelectedEpisode\0"
    "PodcastInfo\0DeleteDownloadedData\0"
    "SetNew\0SetListened\0ShowConfig\0"
    "SubscriptionAdded\0SubscriptionRemoved\0"
    "EpisodesAdded\0PodcastEpisodeList\0"
    "episodes\0EpisodesUpdated\0"
    "DownloadProgressChanged\0PodcastEpisode\0"
    "episode\0PodcastDownload::State\0state\0"
    "percent\0CurrentSongChanged\0Song\0"
    "metadata\0CopyToDevice\0episodes_list\0"
    "QModelIndexList\0episode_indexes\0"
    "podcast_indexes\0CancelDownload"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PodcastService[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  124,    2, 0x0a /* Public */,
       3,    1,  125,    2, 0x0a /* Public */,
       5,    0,  128,    2, 0x08 /* Private */,
       6,    1,  129,    2, 0x08 /* Private */,
       9,    0,  132,    2, 0x08 /* Private */,
      10,    0,  133,    2, 0x08 /* Private */,
      11,    0,  134,    2, 0x08 /* Private */,
      12,    0,  135,    2, 0x08 /* Private */,
      13,    0,  136,    2, 0x08 /* Private */,
      14,    0,  137,    2, 0x08 /* Private */,
      15,    0,  138,    2, 0x08 /* Private */,
      16,    1,  139,    2, 0x08 /* Private */,
      17,    1,  142,    2, 0x08 /* Private */,
      18,    1,  145,    2, 0x08 /* Private */,
      21,    1,  148,    2, 0x08 /* Private */,
      22,    3,  151,    2, 0x08 /* Private */,
      28,    1,  158,    2, 0x08 /* Private */,
      31,    0,  161,    2, 0x08 /* Private */,
      31,    1,  162,    2, 0x08 /* Private */,
      31,    2,  165,    2, 0x08 /* Private */,
      36,    0,  170,    2, 0x08 /* Private */,
      36,    2,  171,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    4,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, 0x80000000 | 23, 0x80000000 | 25, QMetaType::Int,   24,   26,   27,
    QMetaType::Void, 0x80000000 | 29,   30,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 19,   32,
    QMetaType::Void, 0x80000000 | 33, 0x80000000 | 33,   34,   35,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 33, 0x80000000 | 33,   34,   35,

       0        // eod
};

void PodcastService::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<PodcastService *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->AddPodcast(); break;
        case 1: _t->FileCopied((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->UpdateSelectedPodcast(); break;
        case 3: _t->ReloadPodcast((*reinterpret_cast< const Podcast(*)>(_a[1]))); break;
        case 4: _t->RemoveSelectedPodcast(); break;
        case 5: _t->DownloadSelectedEpisode(); break;
        case 6: _t->PodcastInfo(); break;
        case 7: _t->DeleteDownloadedData(); break;
        case 8: _t->SetNew(); break;
        case 9: _t->SetListened(); break;
        case 10: _t->ShowConfig(); break;
        case 11: _t->SubscriptionAdded((*reinterpret_cast< const Podcast(*)>(_a[1]))); break;
        case 12: _t->SubscriptionRemoved((*reinterpret_cast< const Podcast(*)>(_a[1]))); break;
        case 13: _t->EpisodesAdded((*reinterpret_cast< const PodcastEpisodeList(*)>(_a[1]))); break;
        case 14: _t->EpisodesUpdated((*reinterpret_cast< const PodcastEpisodeList(*)>(_a[1]))); break;
        case 15: _t->DownloadProgressChanged((*reinterpret_cast< const PodcastEpisode(*)>(_a[1])),(*reinterpret_cast< PodcastDownload::State(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 16: _t->CurrentSongChanged((*reinterpret_cast< const Song(*)>(_a[1]))); break;
        case 17: _t->CopyToDevice(); break;
        case 18: _t->CopyToDevice((*reinterpret_cast< const PodcastEpisodeList(*)>(_a[1]))); break;
        case 19: _t->CopyToDevice((*reinterpret_cast< const QModelIndexList(*)>(_a[1])),(*reinterpret_cast< const QModelIndexList(*)>(_a[2]))); break;
        case 20: _t->CancelDownload(); break;
        case 21: _t->CancelDownload((*reinterpret_cast< const QModelIndexList(*)>(_a[1])),(*reinterpret_cast< const QModelIndexList(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Podcast >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Podcast >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Podcast >(); break;
            }
            break;
        case 15:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< PodcastEpisode >(); break;
            }
            break;
        case 16:
            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;
        case 19:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QModelIndexList >(); break;
            }
            break;
        case 21:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QModelIndexList >(); break;
            }
            break;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject PodcastService::staticMetaObject = { {
    QMetaObject::SuperData::link<InternetService::staticMetaObject>(),
    qt_meta_stringdata_PodcastService.data,
    qt_meta_data_PodcastService,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int PodcastService::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = InternetService::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
