/****************************************************************************
** Meta object code from reading C++ file 'agentmanager.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/core/agentmanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'agentmanager.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__AgentManager_t {
    QByteArrayData data[28];
    char stringdata0[477];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Akonadi__AgentManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Akonadi__AgentManager_t qt_meta_stringdata_Akonadi__AgentManager = {
    {
QT_MOC_LITERAL(0, 0, 21), // "Akonadi::AgentManager"
QT_MOC_LITERAL(1, 22, 9), // "typeAdded"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 18), // "Akonadi::AgentType"
QT_MOC_LITERAL(4, 52, 4), // "type"
QT_MOC_LITERAL(5, 57, 11), // "typeRemoved"
QT_MOC_LITERAL(6, 69, 13), // "instanceAdded"
QT_MOC_LITERAL(7, 83, 22), // "Akonadi::AgentInstance"
QT_MOC_LITERAL(8, 106, 8), // "instance"
QT_MOC_LITERAL(9, 115, 15), // "instanceRemoved"
QT_MOC_LITERAL(10, 131, 21), // "instanceStatusChanged"
QT_MOC_LITERAL(11, 153, 23), // "instanceProgressChanged"
QT_MOC_LITERAL(12, 177, 19), // "instanceNameChanged"
QT_MOC_LITERAL(13, 197, 13), // "instanceError"
QT_MOC_LITERAL(14, 211, 7), // "message"
QT_MOC_LITERAL(15, 219, 15), // "instanceWarning"
QT_MOC_LITERAL(16, 235, 14), // "instanceOnline"
QT_MOC_LITERAL(17, 250, 6), // "online"
QT_MOC_LITERAL(18, 257, 14), // "agentTypeAdded"
QT_MOC_LITERAL(19, 272, 16), // "agentTypeRemoved"
QT_MOC_LITERAL(20, 289, 18), // "agentInstanceAdded"
QT_MOC_LITERAL(21, 308, 20), // "agentInstanceRemoved"
QT_MOC_LITERAL(22, 329, 26), // "agentInstanceStatusChanged"
QT_MOC_LITERAL(23, 356, 28), // "agentInstanceProgressChanged"
QT_MOC_LITERAL(24, 385, 24), // "agentInstanceNameChanged"
QT_MOC_LITERAL(25, 410, 20), // "agentInstanceWarning"
QT_MOC_LITERAL(26, 431, 18), // "agentInstanceError"
QT_MOC_LITERAL(27, 450, 26) // "agentInstanceOnlineChanged"

    },
    "Akonadi::AgentManager\0typeAdded\0\0"
    "Akonadi::AgentType\0type\0typeRemoved\0"
    "instanceAdded\0Akonadi::AgentInstance\0"
    "instance\0instanceRemoved\0instanceStatusChanged\0"
    "instanceProgressChanged\0instanceNameChanged\0"
    "instanceError\0message\0instanceWarning\0"
    "instanceOnline\0online\0agentTypeAdded\0"
    "agentTypeRemoved\0agentInstanceAdded\0"
    "agentInstanceRemoved\0agentInstanceStatusChanged\0"
    "agentInstanceProgressChanged\0"
    "agentInstanceNameChanged\0agentInstanceWarning\0"
    "agentInstanceError\0agentInstanceOnlineChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Akonadi__AgentManager[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  114,    2, 0x06 /* Public */,
       5,    1,  117,    2, 0x06 /* Public */,
       6,    1,  120,    2, 0x06 /* Public */,
       9,    1,  123,    2, 0x06 /* Public */,
      10,    1,  126,    2, 0x06 /* Public */,
      11,    1,  129,    2, 0x06 /* Public */,
      12,    1,  132,    2, 0x06 /* Public */,
      13,    2,  135,    2, 0x06 /* Public */,
      15,    2,  140,    2, 0x06 /* Public */,
      16,    2,  145,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      18,    1,  150,    2, 0x08 /* Private */,
      19,    1,  153,    2, 0x08 /* Private */,
      20,    1,  156,    2, 0x08 /* Private */,
      21,    1,  159,    2, 0x08 /* Private */,
      22,    3,  162,    2, 0x08 /* Private */,
      23,    3,  169,    2, 0x08 /* Private */,
      24,    2,  176,    2, 0x08 /* Private */,
      25,    2,  181,    2, 0x08 /* Private */,
      26,    2,  186,    2, 0x08 /* Private */,
      27,    2,  191,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7, QMetaType::QString,    8,   14,
    QMetaType::Void, 0x80000000 | 7, QMetaType::QString,    8,   14,
    QMetaType::Void, 0x80000000 | 7, QMetaType::Bool,    8,   17,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::QString,    2,    2,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::UInt, QMetaType::QString,    2,    2,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    2,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    2,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    2,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    2,    2,

       0        // eod
};

void Akonadi::AgentManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AgentManager *_t = static_cast<AgentManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->typeAdded((*reinterpret_cast< const Akonadi::AgentType(*)>(_a[1]))); break;
        case 1: _t->typeRemoved((*reinterpret_cast< const Akonadi::AgentType(*)>(_a[1]))); break;
        case 2: _t->instanceAdded((*reinterpret_cast< const Akonadi::AgentInstance(*)>(_a[1]))); break;
        case 3: _t->instanceRemoved((*reinterpret_cast< const Akonadi::AgentInstance(*)>(_a[1]))); break;
        case 4: _t->instanceStatusChanged((*reinterpret_cast< const Akonadi::AgentInstance(*)>(_a[1]))); break;
        case 5: _t->instanceProgressChanged((*reinterpret_cast< const Akonadi::AgentInstance(*)>(_a[1]))); break;
        case 6: _t->instanceNameChanged((*reinterpret_cast< const Akonadi::AgentInstance(*)>(_a[1]))); break;
        case 7: _t->instanceError((*reinterpret_cast< const Akonadi::AgentInstance(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 8: _t->instanceWarning((*reinterpret_cast< const Akonadi::AgentInstance(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 9: _t->instanceOnline((*reinterpret_cast< const Akonadi::AgentInstance(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 10: _t->d->agentTypeAdded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->d->agentTypeRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->d->agentInstanceAdded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->d->agentInstanceRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: _t->d->agentInstanceStatusChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 15: _t->d->agentInstanceProgressChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 16: _t->d->agentInstanceNameChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 17: _t->d->agentInstanceWarning((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 18: _t->d->agentInstanceError((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 19: _t->d->agentInstanceOnlineChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::AgentType >(); break;
            }
            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::AgentType >(); 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::AgentInstance >(); 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< Akonadi::AgentInstance >(); 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< Akonadi::AgentInstance >(); break;
            }
            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< Akonadi::AgentInstance >(); 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::AgentInstance >(); 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< Akonadi::AgentInstance >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::AgentInstance >(); 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::AgentInstance >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (AgentManager::*_t)(const Akonadi::AgentType & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::typeAdded)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AgentManager::*_t)(const Akonadi::AgentType & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::typeRemoved)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (AgentManager::*_t)(const Akonadi::AgentInstance & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::instanceAdded)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (AgentManager::*_t)(const Akonadi::AgentInstance & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::instanceRemoved)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (AgentManager::*_t)(const Akonadi::AgentInstance & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::instanceStatusChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (AgentManager::*_t)(const Akonadi::AgentInstance & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::instanceProgressChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (AgentManager::*_t)(const Akonadi::AgentInstance & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::instanceNameChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (AgentManager::*_t)(const Akonadi::AgentInstance & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::instanceError)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (AgentManager::*_t)(const Akonadi::AgentInstance & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::instanceWarning)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (AgentManager::*_t)(const Akonadi::AgentInstance & , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::instanceOnline)) {
                *result = 9;
                return;
            }
        }
    }
}

const QMetaObject Akonadi::AgentManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Akonadi__AgentManager.data,
      qt_meta_data_Akonadi__AgentManager,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void Akonadi::AgentManager::typeAdded(const Akonadi::AgentType & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

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

// SIGNAL 3
void Akonadi::AgentManager::instanceRemoved(const Akonadi::AgentInstance & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Akonadi::AgentManager::instanceStatusChanged(const Akonadi::AgentInstance & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Akonadi::AgentManager::instanceProgressChanged(const Akonadi::AgentInstance & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Akonadi::AgentManager::instanceNameChanged(const Akonadi::AgentInstance & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Akonadi::AgentManager::instanceError(const Akonadi::AgentInstance & _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, 7, _a);
}

// SIGNAL 8
void Akonadi::AgentManager::instanceWarning(const Akonadi::AgentInstance & _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, 8, _a);
}

// SIGNAL 9
void Akonadi::AgentManager::instanceOnline(const Akonadi::AgentInstance & _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
