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

#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'base-connection-manager-internal.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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
struct qt_meta_stringdata_Tp__BaseConnectionManager__Adaptee_t {
    QByteArrayData data[18];
    char stringdata[403];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__BaseConnectionManager__Adaptee_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__BaseConnectionManager__Adaptee_t qt_meta_stringdata_Tp__BaseConnectionManager__Adaptee = {
    {
QT_MOC_LITERAL(0, 0, 34), // "Tp::BaseConnectionManager::Ad..."
QT_MOC_LITERAL(1, 35, 13), // "newConnection"
QT_MOC_LITERAL(2, 49, 0), // ""
QT_MOC_LITERAL(3, 50, 7), // "busName"
QT_MOC_LITERAL(4, 58, 15), // "QDBusObjectPath"
QT_MOC_LITERAL(5, 74, 10), // "objectPath"
QT_MOC_LITERAL(6, 85, 12), // "protocolName"
QT_MOC_LITERAL(7, 98, 13), // "getParameters"
QT_MOC_LITERAL(8, 112, 62), // "Tp::Service::ConnectionManage..."
QT_MOC_LITERAL(9, 175, 7), // "context"
QT_MOC_LITERAL(10, 183, 13), // "listProtocols"
QT_MOC_LITERAL(11, 197, 62), // "Tp::Service::ConnectionManage..."
QT_MOC_LITERAL(12, 260, 17), // "requestConnection"
QT_MOC_LITERAL(13, 278, 10), // "parameters"
QT_MOC_LITERAL(14, 289, 66), // "Tp::Service::ConnectionManage..."
QT_MOC_LITERAL(15, 356, 10), // "interfaces"
QT_MOC_LITERAL(16, 367, 9), // "protocols"
QT_MOC_LITERAL(17, 377, 25) // "Tp::ProtocolPropertiesMap"

    },
    "Tp::BaseConnectionManager::Adaptee\0"
    "newConnection\0\0busName\0QDBusObjectPath\0"
    "objectPath\0protocolName\0getParameters\0"
    "Tp::Service::ConnectionManagerAdaptor::GetParametersContextPtr\0"
    "context\0listProtocols\0"
    "Tp::Service::ConnectionManagerAdaptor::ListProtocolsContextPtr\0"
    "requestConnection\0parameters\0"
    "Tp::Service::ConnectionManagerAdaptor::RequestConnectionContextPtr\0"
    "interfaces\0protocols\0Tp::ProtocolPropertiesMap"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__BaseConnectionManager__Adaptee[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       7,    2,   41,    2, 0x08 /* Private */,
      10,    1,   46,    2, 0x08 /* Private */,
      12,    3,   49,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, 0x80000000 | 4, QMetaType::QString,    3,    5,    6,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, 0x80000000 | 8,    6,    9,
    QMetaType::Void, 0x80000000 | 11,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantMap, 0x80000000 | 14,    6,   13,    9,

 // properties: name, type, flags
      15, QMetaType::QStringList, 0x00095001,
      16, 0x80000000 | 17, 0x00095009,

       0        // eod
};

void Tp::BaseConnectionManager::Adaptee::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Adaptee *_t = static_cast<Adaptee *>(_o);
        switch (_id) {
        case 0: _t->newConnection((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QDBusObjectPath(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 1: _t->getParameters((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const Tp::Service::ConnectionManagerAdaptor::GetParametersContextPtr(*)>(_a[2]))); break;
        case 2: _t->listProtocols((*reinterpret_cast< const Tp::Service::ConnectionManagerAdaptor::ListProtocolsContextPtr(*)>(_a[1]))); break;
        case 3: _t->requestConnection((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariantMap(*)>(_a[2])),(*reinterpret_cast< const Tp::Service::ConnectionManagerAdaptor::RequestConnectionContextPtr(*)>(_a[3]))); 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 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Adaptee::*_t)(const QString & , const QDBusObjectPath & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Adaptee::newConnection)) {
                *result = 0;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::ProtocolPropertiesMap >(); break;
        }
    }

}

const QMetaObject Tp::BaseConnectionManager::Adaptee::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Tp__BaseConnectionManager__Adaptee.data,
      qt_meta_data_Tp__BaseConnectionManager__Adaptee,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tp::BaseConnectionManager::Adaptee::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tp__BaseConnectionManager__Adaptee.stringdata))
        return static_cast<void*>(const_cast< Adaptee*>(this));
    return QObject::qt_metacast(_clname);
}

int Tp::BaseConnectionManager::Adaptee::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 < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QStringList*>(_v) = interfaces(); break;
        case 1: *reinterpret_cast< Tp::ProtocolPropertiesMap*>(_v) = protocols(); break;
        default: break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::WriteProperty) {
        _id -= 2;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Tp::BaseConnectionManager::Adaptee::newConnection(const QString & _t1, const QDBusObjectPath & _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);
}
QT_END_MOC_NAMESPACE
