/****************************************************************************
** Meta object code from reading C++ file 'gpoddersync.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/gpoddersync.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'gpoddersync.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_GPodderSync_t {
    QByteArrayData data[36];
    char stringdata0[553];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GPodderSync_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GPodderSync_t qt_meta_stringdata_GPodderSync = {
    {
QT_MOC_LITERAL(0, 0, 11), // "GPodderSync"
QT_MOC_LITERAL(1, 12, 12), // "LoginSuccess"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 12), // "LoginFailure"
QT_MOC_LITERAL(4, 39, 5), // "error"
QT_MOC_LITERAL(5, 45, 13), // "GetUpdatesNow"
QT_MOC_LITERAL(6, 59, 14), // "ReloadSettings"
QT_MOC_LITERAL(7, 74, 13), // "LoginFinished"
QT_MOC_LITERAL(8, 88, 14), // "QNetworkReply*"
QT_MOC_LITERAL(9, 103, 5), // "reply"
QT_MOC_LITERAL(10, 109, 8), // "username"
QT_MOC_LITERAL(11, 118, 8), // "password"
QT_MOC_LITERAL(12, 127, 21), // "DeviceUpdatesFinished"
QT_MOC_LITERAL(13, 149, 23), // "mygpo::DeviceUpdatesPtr"
QT_MOC_LITERAL(14, 173, 23), // "DeviceUpdatesParseError"
QT_MOC_LITERAL(15, 197, 25), // "DeviceUpdatesRequestError"
QT_MOC_LITERAL(16, 223, 27), // "QNetworkReply::NetworkError"
QT_MOC_LITERAL(17, 251, 16), // "NewPodcastLoaded"
QT_MOC_LITERAL(18, 268, 22), // "PodcastUrlLoaderReply*"
QT_MOC_LITERAL(19, 291, 3), // "url"
QT_MOC_LITERAL(20, 295, 24), // "QList<mygpo::EpisodePtr>"
QT_MOC_LITERAL(21, 320, 7), // "actions"
QT_MOC_LITERAL(22, 328, 12), // "ApplyActions"
QT_MOC_LITERAL(23, 341, 19), // "PodcastEpisodeList*"
QT_MOC_LITERAL(24, 361, 8), // "episodes"
QT_MOC_LITERAL(25, 370, 17), // "SubscriptionAdded"
QT_MOC_LITERAL(26, 388, 7), // "Podcast"
QT_MOC_LITERAL(27, 396, 7), // "podcast"
QT_MOC_LITERAL(28, 404, 19), // "SubscriptionRemoved"
QT_MOC_LITERAL(29, 424, 16), // "FlushUpdateQueue"
QT_MOC_LITERAL(30, 441, 17), // "AddRemoveFinished"
QT_MOC_LITERAL(31, 459, 25), // "mygpo::AddRemoveResultPtr"
QT_MOC_LITERAL(32, 485, 11), // "QList<QUrl>"
QT_MOC_LITERAL(33, 497, 13), // "affected_urls"
QT_MOC_LITERAL(34, 511, 19), // "AddRemoveParseError"
QT_MOC_LITERAL(35, 531, 21) // "AddRemoveRequestError"

    },
    "GPodderSync\0LoginSuccess\0\0LoginFailure\0"
    "error\0GetUpdatesNow\0ReloadSettings\0"
    "LoginFinished\0QNetworkReply*\0reply\0"
    "username\0password\0DeviceUpdatesFinished\0"
    "mygpo::DeviceUpdatesPtr\0DeviceUpdatesParseError\0"
    "DeviceUpdatesRequestError\0"
    "QNetworkReply::NetworkError\0"
    "NewPodcastLoaded\0PodcastUrlLoaderReply*\0"
    "url\0QList<mygpo::EpisodePtr>\0actions\0"
    "ApplyActions\0PodcastEpisodeList*\0"
    "episodes\0SubscriptionAdded\0Podcast\0"
    "podcast\0SubscriptionRemoved\0"
    "FlushUpdateQueue\0AddRemoveFinished\0"
    "mygpo::AddRemoveResultPtr\0QList<QUrl>\0"
    "affected_urls\0AddRemoveParseError\0"
    "AddRemoveRequestError"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GPodderSync[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   94,    2, 0x06 /* Public */,
       3,    1,   95,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,   98,    2, 0x0a /* Public */,
       6,    0,   99,    2, 0x08 /* Private */,
       7,    3,  100,    2, 0x08 /* Private */,
      12,    1,  107,    2, 0x08 /* Private */,
      14,    0,  110,    2, 0x08 /* Private */,
      15,    1,  111,    2, 0x08 /* Private */,
      17,    3,  114,    2, 0x08 /* Private */,
      22,    2,  121,    2, 0x08 /* Private */,
      25,    1,  126,    2, 0x08 /* Private */,
      28,    1,  129,    2, 0x08 /* Private */,
      29,    0,  132,    2, 0x08 /* Private */,
      30,    2,  133,    2, 0x08 /* Private */,
      34,    0,  138,    2, 0x08 /* Private */,
      35,    1,  139,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8, QMetaType::QString, QMetaType::QString,    9,   10,   11,
    QMetaType::Void, 0x80000000 | 13,    9,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,    4,
    QMetaType::Void, 0x80000000 | 18, QMetaType::QUrl, 0x80000000 | 20,    9,   19,   21,
    QMetaType::Void, 0x80000000 | 20, 0x80000000 | 23,   21,   24,
    QMetaType::Void, 0x80000000 | 26,   27,
    QMetaType::Void, 0x80000000 | 26,   27,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 31, 0x80000000 | 32,    9,   33,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,    4,

       0        // eod
};

void GPodderSync::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<GPodderSync *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->LoginSuccess(); break;
        case 1: _t->LoginFailure((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->GetUpdatesNow(); break;
        case 3: _t->ReloadSettings(); break;
        case 4: _t->LoginFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 5: _t->DeviceUpdatesFinished((*reinterpret_cast< mygpo::DeviceUpdatesPtr(*)>(_a[1]))); break;
        case 6: _t->DeviceUpdatesParseError(); break;
        case 7: _t->DeviceUpdatesRequestError((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1]))); break;
        case 8: _t->NewPodcastLoaded((*reinterpret_cast< PodcastUrlLoaderReply*(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2])),(*reinterpret_cast< const QList<mygpo::EpisodePtr>(*)>(_a[3]))); break;
        case 9: _t->ApplyActions((*reinterpret_cast< const QList<mygpo::EpisodePtr>(*)>(_a[1])),(*reinterpret_cast< PodcastEpisodeList*(*)>(_a[2]))); break;
        case 10: _t->SubscriptionAdded((*reinterpret_cast< const Podcast(*)>(_a[1]))); break;
        case 11: _t->SubscriptionRemoved((*reinterpret_cast< const Podcast(*)>(_a[1]))); break;
        case 12: _t->FlushUpdateQueue(); break;
        case 13: _t->AddRemoveFinished((*reinterpret_cast< mygpo::AddRemoveResultPtr(*)>(_a[1])),(*reinterpret_cast< const QList<QUrl>(*)>(_a[2]))); break;
        case 14: _t->AddRemoveParseError(); break;
        case 15: _t->AddRemoveRequestError((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            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 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QNetworkReply::NetworkError >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<mygpo::EpisodePtr> >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<mygpo::EpisodePtr> >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QUrl> >(); break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< mygpo::AddRemoveResultPtr >(); 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< QNetworkReply::NetworkError >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (GPodderSync::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GPodderSync::LoginSuccess)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (GPodderSync::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GPodderSync::LoginFailure)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject GPodderSync::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_GPodderSync.data,
    qt_meta_data_GPodderSync,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void GPodderSync::LoginSuccess()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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