/****************************************************************************
** Meta object code from reading C++ file 'googledriveclient.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/googledriveclient.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'googledriveclient.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_google_drive__ConnectResponse_t {
    QByteArrayData data[3];
    char stringdata0[40];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_google_drive__ConnectResponse_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_google_drive__ConnectResponse_t qt_meta_stringdata_google_drive__ConnectResponse = {
    {
QT_MOC_LITERAL(0, 0, 29), // "google_drive::ConnectResponse"
QT_MOC_LITERAL(1, 30, 8), // "Finished"
QT_MOC_LITERAL(2, 39, 0) // ""

    },
    "google_drive::ConnectResponse\0Finished\0"
    ""
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_google_drive__ConnectResponse[] = {

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

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

 // signals: parameters
    QMetaType::Void,

       0        // eod
};

void google_drive::ConnectResponse::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ConnectResponse *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->Finished(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ConnectResponse::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConnectResponse::Finished)) {
                *result = 0;
                return;
            }
        }
    }
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject google_drive::ConnectResponse::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_google_drive__ConnectResponse.data,
    qt_meta_data_google_drive__ConnectResponse,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int google_drive::ConnectResponse::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void google_drive::ConnectResponse::Finished()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_google_drive__GetFileResponse_t {
    QByteArrayData data[3];
    char stringdata0[40];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_google_drive__GetFileResponse_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_google_drive__GetFileResponse_t qt_meta_stringdata_google_drive__GetFileResponse = {
    {
QT_MOC_LITERAL(0, 0, 29), // "google_drive::GetFileResponse"
QT_MOC_LITERAL(1, 30, 8), // "Finished"
QT_MOC_LITERAL(2, 39, 0) // ""

    },
    "google_drive::GetFileResponse\0Finished\0"
    ""
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_google_drive__GetFileResponse[] = {

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

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

 // signals: parameters
    QMetaType::Void,

       0        // eod
};

void google_drive::GetFileResponse::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<GetFileResponse *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->Finished(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (GetFileResponse::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GetFileResponse::Finished)) {
                *result = 0;
                return;
            }
        }
    }
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject google_drive::GetFileResponse::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_google_drive__GetFileResponse.data,
    qt_meta_data_google_drive__GetFileResponse,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int google_drive::GetFileResponse::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void google_drive::GetFileResponse::Finished()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_google_drive__ListChangesResponse_t {
    QByteArrayData data[8];
    char stringdata0[112];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_google_drive__ListChangesResponse_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_google_drive__ListChangesResponse_t qt_meta_stringdata_google_drive__ListChangesResponse = {
    {
QT_MOC_LITERAL(0, 0, 33), // "google_drive::ListChangesResp..."
QT_MOC_LITERAL(1, 34, 10), // "FilesFound"
QT_MOC_LITERAL(2, 45, 0), // ""
QT_MOC_LITERAL(3, 46, 25), // "QList<google_drive::File>"
QT_MOC_LITERAL(4, 72, 5), // "files"
QT_MOC_LITERAL(5, 78, 12), // "FilesDeleted"
QT_MOC_LITERAL(6, 91, 11), // "QList<QUrl>"
QT_MOC_LITERAL(7, 103, 8) // "Finished"

    },
    "google_drive::ListChangesResponse\0"
    "FilesFound\0\0QList<google_drive::File>\0"
    "files\0FilesDeleted\0QList<QUrl>\0Finished"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_google_drive__ListChangesResponse[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   29,    2, 0x06 /* Public */,
       5,    1,   32,    2, 0x06 /* Public */,
       7,    0,   35,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    4,
    QMetaType::Void,

       0        // eod
};

void google_drive::ListChangesResponse::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ListChangesResponse *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->FilesFound((*reinterpret_cast< const QList<google_drive::File>(*)>(_a[1]))); break;
        case 1: _t->FilesDeleted((*reinterpret_cast< const QList<QUrl>(*)>(_a[1]))); break;
        case 2: _t->Finished(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            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 (ListChangesResponse::*)(const QList<google_drive::File> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ListChangesResponse::FilesFound)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (ListChangesResponse::*)(const QList<QUrl> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ListChangesResponse::FilesDeleted)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (ListChangesResponse::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ListChangesResponse::Finished)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject google_drive::ListChangesResponse::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_google_drive__ListChangesResponse.data,
    qt_meta_data_google_drive__ListChangesResponse,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void google_drive::ListChangesResponse::FilesFound(const QList<google_drive::File> & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void google_drive::ListChangesResponse::FilesDeleted(const QList<QUrl> & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void google_drive::ListChangesResponse::Finished()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
struct qt_meta_stringdata_google_drive__Client_t {
    QByteArrayData data[15];
    char stringdata0[217];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_google_drive__Client_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_google_drive__Client_t qt_meta_stringdata_google_drive__Client = {
    {
QT_MOC_LITERAL(0, 0, 20), // "google_drive::Client"
QT_MOC_LITERAL(1, 21, 13), // "Authenticated"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 15), // "ConnectFinished"
QT_MOC_LITERAL(4, 52, 16), // "ConnectResponse*"
QT_MOC_LITERAL(5, 69, 8), // "response"
QT_MOC_LITERAL(6, 78, 15), // "OAuthenticator*"
QT_MOC_LITERAL(7, 94, 5), // "oauth"
QT_MOC_LITERAL(8, 100, 21), // "FetchUserInfoFinished"
QT_MOC_LITERAL(9, 122, 14), // "QNetworkReply*"
QT_MOC_LITERAL(10, 137, 5), // "reply"
QT_MOC_LITERAL(11, 143, 15), // "GetFileFinished"
QT_MOC_LITERAL(12, 159, 16), // "GetFileResponse*"
QT_MOC_LITERAL(13, 176, 19), // "ListChangesFinished"
QT_MOC_LITERAL(14, 196, 20) // "ListChangesResponse*"

    },
    "google_drive::Client\0Authenticated\0\0"
    "ConnectFinished\0ConnectResponse*\0"
    "response\0OAuthenticator*\0oauth\0"
    "FetchUserInfoFinished\0QNetworkReply*\0"
    "reply\0GetFileFinished\0GetFileResponse*\0"
    "ListChangesFinished\0ListChangesResponse*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_google_drive__Client[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    2,   40,    2, 0x08 /* Private */,
       8,    2,   45,    2, 0x08 /* Private */,
      11,    2,   50,    2, 0x08 /* Private */,
      13,    2,   55,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

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

       0        // eod
};

void google_drive::Client::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Client *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->Authenticated(); break;
        case 1: _t->ConnectFinished((*reinterpret_cast< ConnectResponse*(*)>(_a[1])),(*reinterpret_cast< OAuthenticator*(*)>(_a[2]))); break;
        case 2: _t->FetchUserInfoFinished((*reinterpret_cast< ConnectResponse*(*)>(_a[1])),(*reinterpret_cast< QNetworkReply*(*)>(_a[2]))); break;
        case 3: _t->GetFileFinished((*reinterpret_cast< GetFileResponse*(*)>(_a[1])),(*reinterpret_cast< QNetworkReply*(*)>(_a[2]))); break;
        case 4: _t->ListChangesFinished((*reinterpret_cast< ListChangesResponse*(*)>(_a[1])),(*reinterpret_cast< QNetworkReply*(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ConnectResponse* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ConnectResponse* >(); break;
            }
            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< GetFileResponse* >(); break;
            }
            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< ListChangesResponse* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Client::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Client::Authenticated)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject google_drive::Client::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_google_drive__Client.data,
    qt_meta_data_google_drive__Client,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void google_drive::Client::Authenticated()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
