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

#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'connection-manager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_Tp__ConnectionManager[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
       4,   14, // methods
       3,   34, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: signature, parameters, type, tag, flags
      42,   39,   38,   22, 0x08,
      91,   83,   38,   22, 0x08,
     136,   83,   38,   22, 0x08,
     182,   83,   38,   22, 0x08,

 // properties: name, type, flags
     229,  221, 0x0a095001,
     246,  234, 0x0b095001,
     282,  265, 0x00095009,

       0        // eod
};

static const char qt_meta_stringdata_Tp__ConnectionManager[] = {
    "Tp::ConnectionManager\0TP_QT_NO_EXPORT\0"
    "\0op\0gotMainProperties(Tp::PendingOperation*)\0"
    "watcher\0gotProtocolsLegacy(QDBusPendingCallWatcher*)\0"
    "gotParametersLegacy(QDBusPendingCallWatcher*)\0"
    "onProtocolReady(Tp::PendingOperation*)\0"
    "QString\0name\0QStringList\0supportedProtocols\0"
    "ProtocolInfoList\0protocols\0"
};

void Tp::ConnectionManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ConnectionManager *_t = static_cast<ConnectionManager *>(_o);
        switch (_id) {
        case 0: _t->gotMainProperties((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        case 1: _t->gotProtocolsLegacy((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 2: _t->gotParametersLegacy((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 3: _t->onProtocolReady((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData Tp::ConnectionManager::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject Tp::ConnectionManager::staticMetaObject = {
    { &StatelessDBusProxy::staticMetaObject, qt_meta_stringdata_Tp__ConnectionManager,
      qt_meta_data_Tp__ConnectionManager, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Tp::ConnectionManager::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *Tp::ConnectionManager::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Tp__ConnectionManager))
        return static_cast<void*>(const_cast< ConnectionManager*>(this));
    if (!strcmp(_clname, "OptionalInterfaceFactory<ConnectionManager>"))
        return static_cast< OptionalInterfaceFactory<ConnectionManager>*>(const_cast< ConnectionManager*>(this));
    return StatelessDBusProxy::qt_metacast(_clname);
}

int Tp::ConnectionManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = StatelessDBusProxy::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;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = name(); break;
        case 1: *reinterpret_cast< QStringList*>(_v) = supportedProtocols(); break;
        case 2: *reinterpret_cast< ProtocolInfoList*>(_v) = protocols(); break;
        }
        _id -= 3;
    } else if (_c == QMetaObject::WriteProperty) {
        _id -= 3;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
