/****************************************************************************
** Meta object code from reading C++ file 'resourcescheduler_p.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.4)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../src/akonadi-17.12.3/src/agentbase/resourcescheduler_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QVector>
#include <QtCore/QSet>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'resourcescheduler_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_Akonadi__ResourceScheduler_t {
    QByteArrayData data[37];
    char stringdata0[588];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Akonadi__ResourceScheduler_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Akonadi__ResourceScheduler_t qt_meta_stringdata_Akonadi__ResourceScheduler = {
    {
QT_MOC_LITERAL(0, 0, 26), // "Akonadi::ResourceScheduler"
QT_MOC_LITERAL(1, 27, 15), // "executeFullSync"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 31), // "executeCollectionAttributesSync"
QT_MOC_LITERAL(4, 76, 19), // "Akonadi::Collection"
QT_MOC_LITERAL(5, 96, 3), // "col"
QT_MOC_LITERAL(6, 100, 21), // "executeCollectionSync"
QT_MOC_LITERAL(7, 122, 25), // "executeCollectionTreeSync"
QT_MOC_LITERAL(8, 148, 14), // "executeTagSync"
QT_MOC_LITERAL(9, 163, 19), // "executeRelationSync"
QT_MOC_LITERAL(10, 183, 16), // "executeItemFetch"
QT_MOC_LITERAL(11, 200, 13), // "Akonadi::Item"
QT_MOC_LITERAL(12, 214, 4), // "item"
QT_MOC_LITERAL(13, 219, 16), // "QSet<QByteArray>"
QT_MOC_LITERAL(14, 236, 5), // "parts"
QT_MOC_LITERAL(15, 242, 17), // "executeItemsFetch"
QT_MOC_LITERAL(16, 260, 22), // "QVector<Akonadi::Item>"
QT_MOC_LITERAL(17, 283, 5), // "items"
QT_MOC_LITERAL(18, 289, 33), // "executeResourceCollectionDele..."
QT_MOC_LITERAL(19, 323, 24), // "executeCacheInvalidation"
QT_MOC_LITERAL(20, 348, 10), // "collection"
QT_MOC_LITERAL(21, 359, 19), // "executeChangeReplay"
QT_MOC_LITERAL(22, 379, 26), // "executeRecursiveMoveReplay"
QT_MOC_LITERAL(23, 406, 15), // "RecursiveMover*"
QT_MOC_LITERAL(24, 422, 5), // "mover"
QT_MOC_LITERAL(25, 428, 26), // "collectionTreeSyncComplete"
QT_MOC_LITERAL(26, 455, 16), // "fullSyncComplete"
QT_MOC_LITERAL(27, 472, 6), // "status"
QT_MOC_LITERAL(28, 479, 7), // "message"
QT_MOC_LITERAL(29, 487, 20), // "scheduleChangeReplay"
QT_MOC_LITERAL(30, 508, 8), // "taskDone"
QT_MOC_LITERAL(31, 517, 13), // "itemFetchDone"
QT_MOC_LITERAL(32, 531, 3), // "msg"
QT_MOC_LITERAL(33, 535, 9), // "deferTask"
QT_MOC_LITERAL(34, 545, 17), // "collectionRemoved"
QT_MOC_LITERAL(35, 563, 12), // "scheduleNext"
QT_MOC_LITERAL(36, 576, 11) // "executeNext"

    },
    "Akonadi::ResourceScheduler\0executeFullSync\0"
    "\0executeCollectionAttributesSync\0"
    "Akonadi::Collection\0col\0executeCollectionSync\0"
    "executeCollectionTreeSync\0executeTagSync\0"
    "executeRelationSync\0executeItemFetch\0"
    "Akonadi::Item\0item\0QSet<QByteArray>\0"
    "parts\0executeItemsFetch\0QVector<Akonadi::Item>\0"
    "items\0executeResourceCollectionDeletion\0"
    "executeCacheInvalidation\0collection\0"
    "executeChangeReplay\0executeRecursiveMoveReplay\0"
    "RecursiveMover*\0mover\0collectionTreeSyncComplete\0"
    "fullSyncComplete\0status\0message\0"
    "scheduleChangeReplay\0taskDone\0"
    "itemFetchDone\0msg\0deferTask\0"
    "collectionRemoved\0scheduleNext\0"
    "executeNext"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Akonadi__ResourceScheduler[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  129,    2, 0x06 /* Public */,
       3,    1,  130,    2, 0x06 /* Public */,
       6,    1,  133,    2, 0x06 /* Public */,
       7,    0,  136,    2, 0x06 /* Public */,
       8,    0,  137,    2, 0x06 /* Public */,
       9,    0,  138,    2, 0x06 /* Public */,
      10,    2,  139,    2, 0x06 /* Public */,
      15,    2,  144,    2, 0x06 /* Public */,
      18,    0,  149,    2, 0x06 /* Public */,
      19,    1,  150,    2, 0x06 /* Public */,
      21,    0,  153,    2, 0x06 /* Public */,
      22,    1,  154,    2, 0x06 /* Public */,
      25,    0,  157,    2, 0x06 /* Public */,
      26,    0,  158,    2, 0x06 /* Public */,
      27,    2,  159,    2, 0x06 /* Public */,
      27,    1,  164,    2, 0x26 /* Public | MethodCloned */,

 // slots: name, argc, parameters, tag, flags
      29,    0,  167,    2, 0x0a /* Public */,
      30,    0,  168,    2, 0x0a /* Public */,
      31,    1,  169,    2, 0x0a /* Public */,
      33,    0,  172,    2, 0x0a /* Public */,
      34,    1,  173,    2, 0x0a /* Public */,
      35,    0,  176,    2, 0x08 /* Private */,
      36,    0,  177,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 13,   12,   14,
    QMetaType::Void, 0x80000000 | 16, 0x80000000 | 13,   17,   14,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,   20,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 23,   24,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,   27,   28,
    QMetaType::Void, QMetaType::Int,   27,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   32,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,   20,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Akonadi::ResourceScheduler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ResourceScheduler *_t = static_cast<ResourceScheduler *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->executeFullSync(); break;
        case 1: _t->executeCollectionAttributesSync((*reinterpret_cast< const Akonadi::Collection(*)>(_a[1]))); break;
        case 2: _t->executeCollectionSync((*reinterpret_cast< const Akonadi::Collection(*)>(_a[1]))); break;
        case 3: _t->executeCollectionTreeSync(); break;
        case 4: _t->executeTagSync(); break;
        case 5: _t->executeRelationSync(); break;
        case 6: _t->executeItemFetch((*reinterpret_cast< const Akonadi::Item(*)>(_a[1])),(*reinterpret_cast< const QSet<QByteArray>(*)>(_a[2]))); break;
        case 7: _t->executeItemsFetch((*reinterpret_cast< const QVector<Akonadi::Item>(*)>(_a[1])),(*reinterpret_cast< const QSet<QByteArray>(*)>(_a[2]))); break;
        case 8: _t->executeResourceCollectionDeletion(); break;
        case 9: _t->executeCacheInvalidation((*reinterpret_cast< const Akonadi::Collection(*)>(_a[1]))); break;
        case 10: _t->executeChangeReplay(); break;
        case 11: _t->executeRecursiveMoveReplay((*reinterpret_cast< RecursiveMover*(*)>(_a[1]))); break;
        case 12: _t->collectionTreeSyncComplete(); break;
        case 13: _t->fullSyncComplete(); break;
        case 14: _t->status((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 15: _t->status((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 16: _t->scheduleChangeReplay(); break;
        case 17: _t->taskDone(); break;
        case 18: _t->itemFetchDone((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: _t->deferTask(); break;
        case 20: _t->collectionRemoved((*reinterpret_cast< const Akonadi::Collection(*)>(_a[1]))); break;
        case 21: _t->scheduleNext(); break;
        case 22: _t->executeNext(); 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< Akonadi::Collection >(); 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< Akonadi::Collection >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Item >(); break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSet<QByteArray> >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSet<QByteArray> >(); break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<Akonadi::Item> >(); 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< Akonadi::Collection >(); break;
            }
            break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Collection >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ResourceScheduler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceScheduler::executeFullSync)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ResourceScheduler::*_t)(const Akonadi::Collection & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceScheduler::executeCollectionAttributesSync)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ResourceScheduler::*_t)(const Akonadi::Collection & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceScheduler::executeCollectionSync)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (ResourceScheduler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceScheduler::executeCollectionTreeSync)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (ResourceScheduler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceScheduler::executeTagSync)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (ResourceScheduler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceScheduler::executeRelationSync)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (ResourceScheduler::*_t)(const Akonadi::Item & , const QSet<QByteArray> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceScheduler::executeItemFetch)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (ResourceScheduler::*_t)(const QVector<Akonadi::Item> & , const QSet<QByteArray> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceScheduler::executeItemsFetch)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (ResourceScheduler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceScheduler::executeResourceCollectionDeletion)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (ResourceScheduler::*_t)(const Akonadi::Collection & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceScheduler::executeCacheInvalidation)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (ResourceScheduler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceScheduler::executeChangeReplay)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (ResourceScheduler::*_t)(RecursiveMover * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceScheduler::executeRecursiveMoveReplay)) {
                *result = 11;
                return;
            }
        }
        {
            typedef void (ResourceScheduler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceScheduler::collectionTreeSyncComplete)) {
                *result = 12;
                return;
            }
        }
        {
            typedef void (ResourceScheduler::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceScheduler::fullSyncComplete)) {
                *result = 13;
                return;
            }
        }
        {
            typedef void (ResourceScheduler::*_t)(int , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceScheduler::status)) {
                *result = 14;
                return;
            }
        }
    }
}

const QMetaObject Akonadi::ResourceScheduler::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Akonadi__ResourceScheduler.data,
      qt_meta_data_Akonadi__ResourceScheduler,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void Akonadi::ResourceScheduler::executeFullSync()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Akonadi::ResourceScheduler::executeCollectionAttributesSync(const Akonadi::Collection & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Akonadi::ResourceScheduler::executeCollectionSync(const Akonadi::Collection & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Akonadi::ResourceScheduler::executeCollectionTreeSync()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void Akonadi::ResourceScheduler::executeTagSync()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void Akonadi::ResourceScheduler::executeRelationSync()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void Akonadi::ResourceScheduler::executeItemFetch(const Akonadi::Item & _t1, const QSet<QByteArray> & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Akonadi::ResourceScheduler::executeItemsFetch(const QVector<Akonadi::Item> & _t1, const QSet<QByteArray> & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Akonadi::ResourceScheduler::executeResourceCollectionDeletion()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void Akonadi::ResourceScheduler::executeCacheInvalidation(const Akonadi::Collection & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void Akonadi::ResourceScheduler::executeChangeReplay()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void Akonadi::ResourceScheduler::executeRecursiveMoveReplay(RecursiveMover * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}

// SIGNAL 12
void Akonadi::ResourceScheduler::collectionTreeSyncComplete()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}

// SIGNAL 13
void Akonadi::ResourceScheduler::fullSyncComplete()
{
    QMetaObject::activate(this, &staticMetaObject, 13, nullptr);
}

// SIGNAL 14
void Akonadi::ResourceScheduler::status(int _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 14, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
