/****************************************************************************
** Meta object code from reading C++ file 'agentinstance.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/akonadicontrol/agentinstance.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'agentinstance.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_AgentInstance_t {
    QByteArrayData data[21];
    char stringdata0[259];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AgentInstance_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AgentInstance_t qt_meta_stringdata_AgentInstance = {
    {
QT_MOC_LITERAL(0, 0, 13), // "AgentInstance"
QT_MOC_LITERAL(1, 14, 13), // "statusChanged"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 6), // "status"
QT_MOC_LITERAL(4, 36, 9), // "statusMsg"
QT_MOC_LITERAL(5, 46, 21), // "advancedStatusChanged"
QT_MOC_LITERAL(6, 68, 18), // "statusStateChanged"
QT_MOC_LITERAL(7, 87, 20), // "statusMessageChanged"
QT_MOC_LITERAL(8, 108, 3), // "msg"
QT_MOC_LITERAL(9, 112, 14), // "percentChanged"
QT_MOC_LITERAL(10, 127, 7), // "percent"
QT_MOC_LITERAL(11, 135, 7), // "warning"
QT_MOC_LITERAL(12, 143, 5), // "error"
QT_MOC_LITERAL(13, 149, 13), // "onlineChanged"
QT_MOC_LITERAL(14, 163, 5), // "state"
QT_MOC_LITERAL(15, 169, 19), // "resourceNameChanged"
QT_MOC_LITERAL(16, 189, 4), // "name"
QT_MOC_LITERAL(17, 194, 18), // "refreshAgentStatus"
QT_MOC_LITERAL(18, 213, 21), // "refreshResourceStatus"
QT_MOC_LITERAL(19, 235, 12), // "errorHandler"
QT_MOC_LITERAL(20, 248, 10) // "QDBusError"

    },
    "AgentInstance\0statusChanged\0\0status\0"
    "statusMsg\0advancedStatusChanged\0"
    "statusStateChanged\0statusMessageChanged\0"
    "msg\0percentChanged\0percent\0warning\0"
    "error\0onlineChanged\0state\0resourceNameChanged\0"
    "name\0refreshAgentStatus\0refreshResourceStatus\0"
    "errorHandler\0QDBusError"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AgentInstance[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   74,    2, 0x09 /* Protected */,
       5,    1,   79,    2, 0x09 /* Protected */,
       6,    1,   82,    2, 0x09 /* Protected */,
       7,    1,   85,    2, 0x09 /* Protected */,
       9,    1,   88,    2, 0x09 /* Protected */,
      11,    1,   91,    2, 0x09 /* Protected */,
      12,    1,   94,    2, 0x09 /* Protected */,
      13,    1,   97,    2, 0x09 /* Protected */,
      15,    1,  100,    2, 0x09 /* Protected */,
      17,    0,  103,    2, 0x09 /* Protected */,
      18,    0,  104,    2, 0x09 /* Protected */,
      19,    1,  105,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::QVariantMap,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::Void, QMetaType::Bool,   14,
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 20,   12,

       0        // eod
};

void AgentInstance::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AgentInstance *_t = static_cast<AgentInstance *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->statusChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->advancedStatusChanged((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 2: _t->statusStateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->statusMessageChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->percentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->warning((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->error((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->onlineChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->resourceNameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->refreshAgentStatus(); break;
        case 10: _t->refreshResourceStatus(); break;
        case 11: _t->errorHandler((*reinterpret_cast< const QDBusError(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusError >(); break;
            }
            break;
        }
    }
}

const QMetaObject AgentInstance::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_AgentInstance.data,
      qt_meta_data_AgentInstance,  qt_static_metacall, nullptr, nullptr}
};


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

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

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