/****************************************************************************
** Meta object code from reading C++ file 'seafileservice.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/seafile/seafileservice.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'seafileservice.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_SeafileService_t {
    QByteArrayData data[29];
    char stringdata0[454];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SeafileService_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SeafileService_t qt_meta_stringdata_SeafileService = {
    {
QT_MOC_LITERAL(0, 0, 14), // "SeafileService"
QT_MOC_LITERAL(1, 15, 9), // "Connected"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 26), // "GetLibrariesFinishedSignal"
QT_MOC_LITERAL(4, 53, 21), // "QMap<QString,QString>"
QT_MOC_LITERAL(5, 75, 31), // "UpdatingLibrariesFinishedSignal"
QT_MOC_LITERAL(6, 107, 7), // "Connect"
QT_MOC_LITERAL(7, 115, 17), // "ForgetCredentials"
QT_MOC_LITERAL(8, 133, 13), // "ChangeLibrary"
QT_MOC_LITERAL(9, 147, 11), // "new_library"
QT_MOC_LITERAL(10, 159, 20), // "GetLibrariesFinished"
QT_MOC_LITERAL(11, 180, 14), // "QNetworkReply*"
QT_MOC_LITERAL(12, 195, 5), // "reply"
QT_MOC_LITERAL(13, 201, 32), // "FetchAndCheckFolderItemsFinished"
QT_MOC_LITERAL(14, 234, 18), // "SeafileTree::Entry"
QT_MOC_LITERAL(15, 253, 7), // "library"
QT_MOC_LITERAL(16, 261, 4), // "path"
QT_MOC_LITERAL(17, 266, 33), // "AddRecursivelyFolderItemsFini..."
QT_MOC_LITERAL(18, 300, 30), // "FetchContentUrlForFileFinished"
QT_MOC_LITERAL(19, 331, 4), // "Song"
QT_MOC_LITERAL(20, 336, 4), // "song"
QT_MOC_LITERAL(21, 341, 9), // "mime_type"
QT_MOC_LITERAL(22, 351, 8), // "AddEntry"
QT_MOC_LITERAL(23, 360, 5), // "entry"
QT_MOC_LITERAL(24, 366, 11), // "UpdateEntry"
QT_MOC_LITERAL(25, 378, 11), // "DeleteEntry"
QT_MOC_LITERAL(26, 390, 25), // "UpdateLibrariesInProgress"
QT_MOC_LITERAL(27, 416, 9), // "libraries"
QT_MOC_LITERAL(28, 426, 27) // "MaybeAddFileEntryInProgress"

    },
    "SeafileService\0Connected\0\0"
    "GetLibrariesFinishedSignal\0"
    "QMap<QString,QString>\0"
    "UpdatingLibrariesFinishedSignal\0Connect\0"
    "ForgetCredentials\0ChangeLibrary\0"
    "new_library\0GetLibrariesFinished\0"
    "QNetworkReply*\0reply\0"
    "FetchAndCheckFolderItemsFinished\0"
    "SeafileTree::Entry\0library\0path\0"
    "AddRecursivelyFolderItemsFinished\0"
    "FetchContentUrlForFileFinished\0Song\0"
    "song\0mime_type\0AddEntry\0entry\0UpdateEntry\0"
    "DeleteEntry\0UpdateLibrariesInProgress\0"
    "libraries\0MaybeAddFileEntryInProgress"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SeafileService[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   89,    2, 0x06 /* Public */,
       3,    1,   90,    2, 0x06 /* Public */,
       5,    0,   93,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,   94,    2, 0x0a /* Public */,
       7,    0,   95,    2, 0x0a /* Public */,
       8,    1,   96,    2, 0x0a /* Public */,
      10,    1,   99,    2, 0x08 /* Private */,
      13,    3,  102,    2, 0x08 /* Private */,
      17,    3,  109,    2, 0x08 /* Private */,
      18,    3,  116,    2, 0x08 /* Private */,
      22,    3,  123,    2, 0x08 /* Private */,
      24,    3,  130,    2, 0x08 /* Private */,
      25,    3,  137,    2, 0x08 /* Private */,
      26,    1,  144,    2, 0x08 /* Private */,
      28,    4,  147,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 14, QMetaType::QString,   12,   15,   16,
    QMetaType::Void, 0x80000000 | 11, QMetaType::QString, QMetaType::QString,   12,   15,   16,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 19, QMetaType::QString,   12,   20,   21,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, 0x80000000 | 14,   15,   16,   23,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, 0x80000000 | 14,   15,   16,   23,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, 0x80000000 | 14,   15,   16,   23,
    QMetaType::Void, 0x80000000 | 4,   27,
    QMetaType::Void, 0x80000000 | 11, QMetaType::QString, QMetaType::QString, QMetaType::QString,   12,   15,   16,   21,

       0        // eod
};

void SeafileService::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SeafileService *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->Connected(); break;
        case 1: _t->GetLibrariesFinishedSignal((*reinterpret_cast< QMap<QString,QString>(*)>(_a[1]))); break;
        case 2: _t->UpdatingLibrariesFinishedSignal(); break;
        case 3: _t->Connect(); break;
        case 4: _t->ForgetCredentials(); break;
        case 5: _t->ChangeLibrary((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->GetLibrariesFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
        case 7: _t->FetchAndCheckFolderItemsFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1])),(*reinterpret_cast< const SeafileTree::Entry(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 8: _t->AddRecursivelyFolderItemsFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 9: _t->FetchContentUrlForFileFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1])),(*reinterpret_cast< const Song(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 10: _t->AddEntry((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const SeafileTree::Entry(*)>(_a[3]))); break;
        case 11: _t->UpdateEntry((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const SeafileTree::Entry(*)>(_a[3]))); break;
        case 12: _t->DeleteEntry((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const SeafileTree::Entry(*)>(_a[3]))); break;
        case 13: _t->UpdateLibrariesInProgress((*reinterpret_cast< const QMap<QString,QString>(*)>(_a[1]))); break;
        case 14: _t->MaybeAddFileEntryInProgress((*reinterpret_cast< QNetworkReply*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Song >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (SeafileService::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SeafileService::Connected)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (SeafileService::*)(QMap<QString,QString> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SeafileService::GetLibrariesFinishedSignal)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (SeafileService::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SeafileService::UpdatingLibrariesFinishedSignal)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject SeafileService::staticMetaObject = { {
    QMetaObject::SuperData::link<CloudFileService::staticMetaObject>(),
    qt_meta_stringdata_SeafileService.data,
    qt_meta_data_SeafileService,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

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

// SIGNAL 2
void SeafileService::UpdatingLibrariesFinishedSignal()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
