/****************************************************************************
** Meta object code from reading C++ file 'agentserver.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/agentserver/agentserver.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'agentserver.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__AgentServer_t {
    QByteArrayData data[14];
    char stringdata0[199];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Akonadi__AgentServer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Akonadi__AgentServer_t qt_meta_stringdata_Akonadi__AgentServer = {
    {
QT_MOC_LITERAL(0, 0, 20), // "Akonadi::AgentServer"
QT_MOC_LITERAL(1, 21, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 37, 35), // "org.freedesktop.Akonadi.Agent..."
QT_MOC_LITERAL(3, 73, 22), // "agentInstanceConfigure"
QT_MOC_LITERAL(4, 96, 0), // ""
QT_MOC_LITERAL(5, 97, 10), // "identifier"
QT_MOC_LITERAL(6, 108, 8), // "windowId"
QT_MOC_LITERAL(7, 117, 7), // "started"
QT_MOC_LITERAL(8, 125, 10), // "startAgent"
QT_MOC_LITERAL(9, 136, 14), // "typeIdentifier"
QT_MOC_LITERAL(10, 151, 8), // "fileName"
QT_MOC_LITERAL(11, 160, 9), // "stopAgent"
QT_MOC_LITERAL(12, 170, 4), // "quit"
QT_MOC_LITERAL(13, 175, 23) // "processConfigureRequest"

    },
    "Akonadi::AgentServer\0D-Bus Interface\0"
    "org.freedesktop.Akonadi.AgentServer\0"
    "agentInstanceConfigure\0\0identifier\0"
    "windowId\0started\0startAgent\0typeIdentifier\0"
    "fileName\0stopAgent\0quit\0processConfigureRequest"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Akonadi__AgentServer[] = {

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

 // classinfo: key, value
       1,    2,

 // slots: name, argc, parameters, tag, flags
       3,    2,   46,    4, 0x4a /* Public | isScriptable */,
       7,    1,   51,    4, 0x4a /* Public | isScriptable */,
       8,    3,   54,    4, 0x4a /* Public | isScriptable */,
      11,    1,   61,    4, 0x4a /* Public | isScriptable */,
      12,    0,   64,    4, 0x4a /* Public | isScriptable */,
      13,    0,   65,    4, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::LongLong,    5,    6,
    QMetaType::Bool, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    5,    9,   10,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Akonadi::AgentServer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AgentServer *_t = static_cast<AgentServer *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->agentInstanceConfigure((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< qlonglong(*)>(_a[2]))); break;
        case 1: { bool _r = _t->started((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 2: _t->startAgent((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 3: _t->stopAgent((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->quit(); break;
        case 5: _t->processConfigureRequest(); break;
        default: ;
        }
    }
}

const QMetaObject Akonadi::AgentServer::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Akonadi__AgentServer.data,
      qt_meta_data_Akonadi__AgentServer,  qt_static_metacall, nullptr, nullptr}
};


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

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

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