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

#include "../../../../src/qtbase-opensource-src-5.5.1/src/dbus/qdbusconnection_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdbusconnection_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. 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
struct qt_meta_stringdata_QDBusConnectionPrivate_t {
    QByteArrayData data[28];
    char stringdata0[360];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDBusConnectionPrivate_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDBusConnectionPrivate_t qt_meta_stringdata_QDBusConnectionPrivate = {
    {
QT_MOC_LITERAL(0, 0, 22), // "QDBusConnectionPrivate"
QT_MOC_LITERAL(1, 23, 19), // "serviceOwnerChanged"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 4), // "name"
QT_MOC_LITERAL(4, 49, 8), // "oldOwner"
QT_MOC_LITERAL(5, 58, 8), // "newOwner"
QT_MOC_LITERAL(6, 67, 22), // "callWithCallbackFailed"
QT_MOC_LITERAL(7, 90, 10), // "QDBusError"
QT_MOC_LITERAL(8, 101, 5), // "error"
QT_MOC_LITERAL(9, 107, 12), // "QDBusMessage"
QT_MOC_LITERAL(10, 120, 7), // "message"
QT_MOC_LITERAL(11, 128, 19), // "newServerConnection"
QT_MOC_LITERAL(12, 148, 15), // "QDBusConnection"
QT_MOC_LITERAL(13, 164, 10), // "connection"
QT_MOC_LITERAL(14, 175, 10), // "doDispatch"
QT_MOC_LITERAL(15, 186, 10), // "socketRead"
QT_MOC_LITERAL(16, 197, 11), // "socketWrite"
QT_MOC_LITERAL(17, 209, 15), // "objectDestroyed"
QT_MOC_LITERAL(18, 225, 1), // "o"
QT_MOC_LITERAL(19, 227, 11), // "relaySignal"
QT_MOC_LITERAL(20, 239, 3), // "obj"
QT_MOC_LITERAL(21, 243, 18), // "const QMetaObject*"
QT_MOC_LITERAL(22, 262, 8), // "signalId"
QT_MOC_LITERAL(23, 271, 4), // "args"
QT_MOC_LITERAL(24, 276, 25), // "serviceOwnerChangedNoLock"
QT_MOC_LITERAL(25, 302, 21), // "registerServiceNoLock"
QT_MOC_LITERAL(26, 324, 11), // "serviceName"
QT_MOC_LITERAL(27, 336, 23) // "unregisterServiceNoLock"

    },
    "QDBusConnectionPrivate\0serviceOwnerChanged\0"
    "\0name\0oldOwner\0newOwner\0callWithCallbackFailed\0"
    "QDBusError\0error\0QDBusMessage\0message\0"
    "newServerConnection\0QDBusConnection\0"
    "connection\0doDispatch\0socketRead\0"
    "socketWrite\0objectDestroyed\0o\0relaySignal\0"
    "obj\0const QMetaObject*\0signalId\0args\0"
    "serviceOwnerChangedNoLock\0"
    "registerServiceNoLock\0serviceName\0"
    "unregisterServiceNoLock"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDBusConnectionPrivate[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,   69,    2, 0x06 /* Public */,
       6,    2,   76,    2, 0x06 /* Public */,
      11,    1,   81,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    0,   84,    2, 0x0a /* Public */,
      15,    1,   85,    2, 0x0a /* Public */,
      16,    1,   88,    2, 0x0a /* Public */,
      17,    1,   91,    2, 0x0a /* Public */,
      19,    4,   94,    2, 0x0a /* Public */,
      24,    3,  103,    2, 0x08 /* Private */,
      25,    1,  110,    2, 0x08 /* Private */,
      27,    1,  113,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    3,    4,    5,
    QMetaType::Void, 0x80000000 | 7, 0x80000000 | 9,    8,   10,
    QMetaType::Void, 0x80000000 | 12,   13,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QObjectStar,   18,
    QMetaType::Void, QMetaType::QObjectStar, 0x80000000 | 21, QMetaType::Int, QMetaType::QVariantList,   20,    2,   22,   23,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    3,    4,    5,
    QMetaType::Void, QMetaType::QString,   26,
    QMetaType::Void, QMetaType::QString,   26,

       0        // eod
};

void QDBusConnectionPrivate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QDBusConnectionPrivate *_t = static_cast<QDBusConnectionPrivate *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->serviceOwnerChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 1: _t->callWithCallbackFailed((*reinterpret_cast< const QDBusError(*)>(_a[1])),(*reinterpret_cast< const QDBusMessage(*)>(_a[2]))); break;
        case 2: _t->newServerConnection((*reinterpret_cast< const QDBusConnection(*)>(_a[1]))); break;
        case 3: _t->doDispatch(); break;
        case 4: _t->socketRead((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->socketWrite((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->objectDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 7: _t->relaySignal((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< const QMetaObject*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< const QVariantList(*)>(_a[4]))); break;
        case 8: _t->serviceOwnerChangedNoLock((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 9: _t->registerServiceNoLock((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->unregisterServiceNoLock((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< QDBusError >(); break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusMessage >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QDBusConnectionPrivate::*_t)(const QString & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDBusConnectionPrivate::serviceOwnerChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QDBusConnectionPrivate::*_t)(const QDBusError & , const QDBusMessage & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDBusConnectionPrivate::callWithCallbackFailed)) {
                *result = 1;
            }
        }
        {
            typedef void (QDBusConnectionPrivate::*_t)(const QDBusConnection & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QDBusConnectionPrivate::newServerConnection)) {
                *result = 2;
            }
        }
    }
}

const QMetaObject QDBusConnectionPrivate::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QDBusConnectionPrivate.data,
      qt_meta_data_QDBusConnectionPrivate,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *QDBusConnectionPrivate::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QDBusConnectionPrivate.stringdata0))
        return static_cast<void*>(const_cast< QDBusConnectionPrivate*>(this));
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void QDBusConnectionPrivate::serviceOwnerChanged(const QString & _t1, const QString & _t2, const QString & _t3)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void QDBusConnectionPrivate::callWithCallbackFailed(const QDBusError & _t1, const QDBusMessage & _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void QDBusConnectionPrivate::newServerConnection(const QDBusConnection & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_END_MOC_NAMESPACE
