/****************************************************************************
** Meta object code from reading C++ file 'googledriveservice.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/googledrive/googledriveservice.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'googledriveservice.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_GoogleDriveService_t {
    QByteArrayData data[20];
    char stringdata0[296];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GoogleDriveService_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GoogleDriveService_t qt_meta_stringdata_GoogleDriveService = {
    {
QT_MOC_LITERAL(0, 0, 18), // "GoogleDriveService"
QT_MOC_LITERAL(1, 19, 9), // "Connected"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 7), // "Connect"
QT_MOC_LITERAL(4, 38, 17), // "ForgetCredentials"
QT_MOC_LITERAL(5, 56, 15), // "ConnectFinished"
QT_MOC_LITERAL(6, 72, 30), // "google_drive::ConnectResponse*"
QT_MOC_LITERAL(7, 103, 8), // "response"
QT_MOC_LITERAL(8, 112, 10), // "FilesFound"
QT_MOC_LITERAL(9, 123, 25), // "QList<google_drive::File>"
QT_MOC_LITERAL(10, 149, 5), // "files"
QT_MOC_LITERAL(11, 155, 12), // "FilesDeleted"
QT_MOC_LITERAL(12, 168, 11), // "QList<QUrl>"
QT_MOC_LITERAL(13, 180, 19), // "ListChangesFinished"
QT_MOC_LITERAL(14, 200, 34), // "google_drive::ListChangesResp..."
QT_MOC_LITERAL(15, 235, 10), // "SaveCursor"
QT_MOC_LITERAL(16, 246, 6), // "cursor"
QT_MOC_LITERAL(17, 253, 13), // "OpenWithDrive"
QT_MOC_LITERAL(18, 267, 12), // "DoFullRescan"
QT_MOC_LITERAL(19, 280, 15) // "CheckForUpdates"

    },
    "GoogleDriveService\0Connected\0\0Connect\0"
    "ForgetCredentials\0ConnectFinished\0"
    "google_drive::ConnectResponse*\0response\0"
    "FilesFound\0QList<google_drive::File>\0"
    "files\0FilesDeleted\0QList<QUrl>\0"
    "ListChangesFinished\0"
    "google_drive::ListChangesResponse*\0"
    "SaveCursor\0cursor\0OpenWithDrive\0"
    "DoFullRescan\0CheckForUpdates"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GoogleDriveService[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    0,   70,    2, 0x0a /* Public */,
       4,    0,   71,    2, 0x0a /* Public */,
       5,    1,   72,    2, 0x08 /* Private */,
       8,    1,   75,    2, 0x08 /* Private */,
      11,    1,   78,    2, 0x08 /* Private */,
      13,    1,   81,    2, 0x08 /* Private */,
      15,    1,   84,    2, 0x08 /* Private */,
      17,    0,   87,    2, 0x08 /* Private */,
      18,    0,   88,    2, 0x08 /* Private */,
      19,    0,   89,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, 0x80000000 | 12,   10,
    QMetaType::Void, 0x80000000 | 14,    7,
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void GoogleDriveService::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<GoogleDriveService *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->Connected(); break;
        case 1: _t->Connect(); break;
        case 2: _t->ForgetCredentials(); break;
        case 3: _t->ConnectFinished((*reinterpret_cast< google_drive::ConnectResponse*(*)>(_a[1]))); break;
        case 4: _t->FilesFound((*reinterpret_cast< const QList<google_drive::File>(*)>(_a[1]))); break;
        case 5: _t->FilesDeleted((*reinterpret_cast< const QList<QUrl>(*)>(_a[1]))); break;
        case 6: _t->ListChangesFinished((*reinterpret_cast< google_drive::ListChangesResponse*(*)>(_a[1]))); break;
        case 7: _t->SaveCursor((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->OpenWithDrive(); break;
        case 9: _t->DoFullRescan(); break;
        case 10: _t->CheckForUpdates(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QUrl> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (GoogleDriveService::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GoogleDriveService::Connected)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject GoogleDriveService::staticMetaObject = { {
    QMetaObject::SuperData::link<CloudFileService::staticMetaObject>(),
    qt_meta_stringdata_GoogleDriveService.data,
    qt_meta_data_GoogleDriveService,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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