/****************************************************************************
** Meta object code from reading C++ file 'cli-connection.h'
**
** Created: Thu Apr 18 01:38:18 2013
**      by: The Qt Meta Object Compiler version 63 (Qt 4.8.4)
**
** 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 != 63
#error "This file was generated using the moc from 4.8.4. 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:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
       7,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: signature, parameters, type, tag, flags
      82,   51,   50,   50, 0x05,

 // slots: signature, parameters, type, tag, flags
     184,  168,  125,   50, 0x0a,
     223,  215,  125,   50, 0x2a,
     301,  270,  250,   50, 0x0a,
     361,  338,  250,   50, 0x2a,
     432,  168,  394,   50, 0x0a,
     458,  215,  394,   50, 0x2a,

       0        // eod
};

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

void Example::Client::ConnectionInterfaceHatsInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ConnectionInterfaceHatsInterface *_t = static_cast<ConnectionInterfaceHatsInterface *>(_o);
        switch (_id) {
        case 0: _t->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 = _t->GetHats((*reinterpret_cast< const Example::UIntList(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<Example::ContactHatList>*>(_a[0]) = _r; }  break;
        case 2: { QDBusPendingReply<Example::ContactHatList> _r = _t->GetHats((*reinterpret_cast< const Example::UIntList(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<Example::ContactHatList>*>(_a[0]) = _r; }  break;
        case 3: { QDBusPendingReply<> _r = _t->SetHat((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< const QVariantMap(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 4: { QDBusPendingReply<> _r = _t->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;
        case 5: { QDBusPendingReply<Tp::CurrencyAmount> _r = _t->RequestHatPrice((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<Tp::CurrencyAmount>*>(_a[0]) = _r; }  break;
        case 6: { QDBusPendingReply<Tp::CurrencyAmount> _r = _t->RequestHatPrice((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<Tp::CurrencyAmount>*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObjectExtraData Example::Client::ConnectionInterfaceHatsInterface::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

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

#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) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    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
