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

#include <memory>
#include "../../../../../akonadi-23.08.5/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.15.19. 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[18];
    char stringdata0[257];
};
#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"

    },
    "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"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Akonadi__AgentManager[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       5,    1,   67,    2, 0x06 /* Public */,
       6,    1,   70,    2, 0x06 /* Public */,
       9,    1,   73,    2, 0x06 /* Public */,
      10,    1,   76,    2, 0x06 /* Public */,
      11,    1,   79,    2, 0x06 /* Public */,
      12,    1,   82,    2, 0x06 /* Public */,
      13,    2,   85,    2, 0x06 /* Public */,
      15,    2,   90,    2, 0x06 /* Public */,
      16,    2,   95,    2, 0x06 /* Public */,

 // 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,

       0        // eod
};

void Akonadi::AgentManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<AgentManager *>(_o);
        (void)_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;
        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]);
        {
            using _t = void (AgentManager::*)(const Akonadi::AgentType & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::typeAdded)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (AgentManager::*)(const Akonadi::AgentType & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::typeRemoved)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (AgentManager::*)(const Akonadi::AgentInstance & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::instanceAdded)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (AgentManager::*)(const Akonadi::AgentInstance & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::instanceRemoved)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (AgentManager::*)(const Akonadi::AgentInstance & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::instanceStatusChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (AgentManager::*)(const Akonadi::AgentInstance & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::instanceProgressChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (AgentManager::*)(const Akonadi::AgentInstance & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::instanceNameChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (AgentManager::*)(const Akonadi::AgentInstance & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::instanceError)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (AgentManager::*)(const Akonadi::AgentInstance & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::instanceWarning)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (AgentManager::*)(const Akonadi::AgentInstance & , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AgentManager::instanceOnline)) {
                *result = 9;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Akonadi::AgentManager::staticMetaObject = { {
    QMetaObject::SuperData::link<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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void Akonadi::AgentManager::typeAdded(const Akonadi::AgentType & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_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*>(std::addressof(_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*>(std::addressof(_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*>(std::addressof(_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*>(std::addressof(_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*>(std::addressof(_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*>(std::addressof(_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*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_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*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_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*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
