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

#include <memory>
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qremoteserviceregister_dbus_p.cpp' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.13.2. 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_DBusEndPoint_t {
    QByteArrayData data[18];
    char stringdata0[208];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DBusEndPoint_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DBusEndPoint_t qt_meta_stringdata_DBusEndPoint = {
    {
QT_MOC_LITERAL(0, 0, 12), // "DBusEndPoint"
QT_MOC_LITERAL(1, 13, 8), // "ipcFault"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 31), // "QService::UnrecoverableIPCError"
QT_MOC_LITERAL(4, 55, 13), // "closeIncoming"
QT_MOC_LITERAL(5, 69, 13), // "setInstanceId"
QT_MOC_LITERAL(6, 83, 2), // "id"
QT_MOC_LITERAL(7, 86, 11), // "readPackage"
QT_MOC_LITERAL(8, 98, 7), // "package"
QT_MOC_LITERAL(9, 106, 4), // "type"
QT_MOC_LITERAL(10, 111, 3), // "pid"
QT_MOC_LITERAL(11, 115, 3), // "uid"
QT_MOC_LITERAL(12, 119, 12), // "readIncoming"
QT_MOC_LITERAL(13, 132, 14), // "serviceRemoved"
QT_MOC_LITERAL(14, 147, 4), // "name"
QT_MOC_LITERAL(15, 152, 22), // "getSecurityCredentials"
QT_MOC_LITERAL(16, 175, 26), // "QServiceClientCredentials&"
QT_MOC_LITERAL(17, 202, 5) // "creds"

    },
    "DBusEndPoint\0ipcFault\0\0"
    "QService::UnrecoverableIPCError\0"
    "closeIncoming\0setInstanceId\0id\0"
    "readPackage\0package\0type\0pid\0uid\0"
    "readIncoming\0serviceRemoved\0name\0"
    "getSecurityCredentials\0"
    "QServiceClientCredentials&\0creds"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DBusEndPoint[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    0,   52,    2, 0x0a /* Public */,
       5,    1,   53,    2, 0x0a /* Public */,
       7,    5,   56,    2, 0x09 /* Protected */,
      12,    3,   67,    2, 0x09 /* Protected */,
      13,    1,   74,    2, 0x09 /* Protected */,
      15,    1,   77,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void, QMetaType::QByteArray, QMetaType::Int, QMetaType::QString, QMetaType::Int, QMetaType::Int,    8,    9,    6,   10,   11,
    QMetaType::Void, QMetaType::QByteArray, QMetaType::Int, QMetaType::Int,    8,   10,   11,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void, 0x80000000 | 16,   17,

       0        // eod
};

void DBusEndPoint::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DBusEndPoint *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->ipcFault((*reinterpret_cast< QService::UnrecoverableIPCError(*)>(_a[1]))); break;
        case 1: _t->closeIncoming(); break;
        case 2: _t->setInstanceId((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->readPackage((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
        case 4: _t->readIncoming((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 5: _t->serviceRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->getSecurityCredentials((*reinterpret_cast< QServiceClientCredentials(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (DBusEndPoint::*)(QService::UnrecoverableIPCError );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusEndPoint::ipcFault)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject DBusEndPoint::staticMetaObject = { {
    &QServiceIpcEndPoint::staticMetaObject,
    qt_meta_stringdata_DBusEndPoint.data,
    qt_meta_data_DBusEndPoint,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int DBusEndPoint::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QServiceIpcEndPoint::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void DBusEndPoint::ipcFault(QService::UnrecoverableIPCError _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_DBusSessionAdaptor_t {
    QByteArrayData data[18];
    char stringdata0[215];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DBusSessionAdaptor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DBusSessionAdaptor_t qt_meta_stringdata_DBusSessionAdaptor = {
    {
QT_MOC_LITERAL(0, 0, 18), // "DBusSessionAdaptor"
QT_MOC_LITERAL(1, 19, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 35, 36), // "com.nokia.qtmobility.sfw.DBus..."
QT_MOC_LITERAL(3, 72, 15), // "packageReceived"
QT_MOC_LITERAL(4, 88, 0), // ""
QT_MOC_LITERAL(5, 89, 7), // "package"
QT_MOC_LITERAL(6, 97, 4), // "type"
QT_MOC_LITERAL(7, 102, 2), // "id"
QT_MOC_LITERAL(8, 105, 3), // "uid"
QT_MOC_LITERAL(9, 109, 3), // "pid"
QT_MOC_LITERAL(10, 113, 13), // "newConnection"
QT_MOC_LITERAL(11, 127, 12), // "writePackage"
QT_MOC_LITERAL(12, 140, 15), // "processIncoming"
QT_MOC_LITERAL(13, 156, 14), // "acceptIncoming"
QT_MOC_LITERAL(14, 171, 6), // "accept"
QT_MOC_LITERAL(15, 178, 13), // "closeIncoming"
QT_MOC_LITERAL(16, 192, 10), // "instanceId"
QT_MOC_LITERAL(17, 203, 11) // "q_autostart"

    },
    "DBusSessionAdaptor\0D-Bus Interface\0"
    "com.nokia.qtmobility.sfw.DBusSession\0"
    "packageReceived\0\0package\0type\0id\0uid\0"
    "pid\0newConnection\0writePackage\0"
    "processIncoming\0acceptIncoming\0accept\0"
    "closeIncoming\0instanceId\0q_autostart"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DBusSessionAdaptor[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    5,   51,    4, 0x06 /* Public */,
      10,    2,   62,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    3,   67,    4, 0x0a /* Public */,
      12,    0,   74,    4, 0x0a /* Public */,
      13,    1,   75,    4, 0x0a /* Public */,
      15,    1,   78,    4, 0x0a /* Public */,
      17,    0,   81,    4, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QByteArray, QMetaType::Int, QMetaType::QString, QMetaType::Int, QMetaType::Int,    5,    6,    7,    8,    9,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    9,    8,

 // slots: parameters
    QMetaType::QByteArray, QMetaType::QByteArray, QMetaType::Int, QMetaType::QString,    5,    6,    7,
    QMetaType::Bool,
    QMetaType::Void, QMetaType::Bool,   14,
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void,

       0        // eod
};

void DBusSessionAdaptor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DBusSessionAdaptor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->packageReceived((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
        case 1: _t->newConnection((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: { QByteArray _r = _t->writePackage((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QByteArray*>(_a[0]) = std::move(_r); }  break;
        case 3: { bool _r = _t->processIncoming();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->acceptIncoming((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->closeIncoming((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->q_autostart(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (DBusSessionAdaptor::*)(const QByteArray & , int , const QString & , int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusSessionAdaptor::packageReceived)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (DBusSessionAdaptor::*)(int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusSessionAdaptor::newConnection)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject DBusSessionAdaptor::staticMetaObject = { {
    &QDBusAbstractAdaptor::staticMetaObject,
    qt_meta_stringdata_DBusSessionAdaptor.data,
    qt_meta_data_DBusSessionAdaptor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int DBusSessionAdaptor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractAdaptor::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void DBusSessionAdaptor::packageReceived(const QByteArray & _t1, int _t2, const QString & _t3, int _t4, int _t5)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t5))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void DBusSessionAdaptor::newConnection(int _t1, int _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, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
