/****************************************************************************
** Meta object code from reading C++ file 'cli-connection.h'
**
** Created: Fri Mar 12 16:47:05 2010
**      by: The Qt Meta Object Compiler version 62 (Qt 4.6.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

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

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

 // signals: signature, parameters, type, tag, flags
      50,   93,  124,  124, 0x05,

 // slots: signature, parameters, type, tag, flags
     125,  152,  160,  124, 0x0a,
     203,  236,  259,  124, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_Example__Client__ConnectionInterfaceHatsInterface[] = {
    "Example::Client::ConnectionInterfaceHatsInterface\0"
    "HatsChanged(uint,QString,uint,QVariantMap)\0"
    "contact,color,style,properties\0\0"
    "GetHats(Example::UIntList)\0contact\0"
    "QDBusPendingReply<Example::ContactHatList>\0"
    "SetHat(QString,uint,QVariantMap)\0"
    "color,style,properties\0QDBusPendingReply<>\0"
};

const QMetaObject Example::Client::ConnectionInterfaceHatsInterface::staticMetaObject = {
    { &Tp::AbstractInterface::staticMetaObject, qt_meta_stringdata_Example__Client__ConnectionInterfaceHatsInterface,
      qt_meta_data_Example__Client__ConnectionInterfaceHatsInterface, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Example::Client::ConnectionInterfaceHatsInterface::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *Example::Client::ConnectionInterfaceHatsInterface::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *Example::Client::ConnectionInterfaceHatsInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Example__Client__ConnectionInterfaceHatsInterface))
        return static_cast<void*>(const_cast< ConnectionInterfaceHatsInterface*>(this));
    typedef Tp::AbstractInterface QMocSuperClass;
    return QMocSuperClass::qt_metacast(_clname);
}

int Example::Client::ConnectionInterfaceHatsInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    typedef Tp::AbstractInterface QMocSuperClass;
    _id = QMocSuperClass::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: HatsChanged((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])),(*reinterpret_cast< const QVariantMap(*)>(_a[4]))); break;
        case 1: { QDBusPendingReply<Example::ContactHatList> _r = GetHats((*reinterpret_cast< const Example::UIntList(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<Example::ContactHatList>*>(_a[0]) = _r; }  break;
        case 2: { QDBusPendingReply<> _r = SetHat((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< const QVariantMap(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        default: ;
        }
        _id -= 3;
    }
    return _id;
}

// SIGNAL 0
void Example::Client::ConnectionInterfaceHatsInterface::HatsChanged(uint _t1, const QString & _t2, uint _t3, const QVariantMap & _t4)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
