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

#include "../../../../../src/strigi-0.7.8/strigiclient/lib/searchclient/qtdbus/strigiasyncclient.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'strigiasyncclient.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_StrigiAsyncClient[] = {

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

 // signals: signature, parameters, type, tag, flags
      26,   19,   18,   18, 0x05,
      75,   63,   18,   18, 0x05,
     119,  101,   18,   18, 0x05,
     175,  157,   18,   18, 0x05,

 // slots: signature, parameters, type, tag, flags
     227,   18,   18,   18, 0x08,
     254,   18,   18,   18, 0x08,
     280,   18,   18,   18, 0x08,
     304,   18,   18,   18, 0x08,
     336,  334,   18,   18, 0x08,
     373,   18,   18,   18, 0x0a,
     394,  388,   18,   18, 0x0a,
     434,  417,   18,   18, 0x0a,
     489,  463,   18,   18, 0x0a,
     542,  537,   18,   18, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_StrigiAsyncClient[] = {
    "StrigiAsyncClient\0\0status\0"
    "statusUpdated(QMap<QString,QString>)\0"
    "query,count\0countedQuery(QString,int)\0"
    "query,offset,hits\0"
    "gotHits(QString,int,QList<StrigiHit>)\0"
    "query,fieldname,h\0"
    "gotHistogram(QString,QString,QList<StringUIntPair>)\0"
    "handleStatus(QDBusMessage)\0"
    "handleCount(QDBusMessage)\0"
    "handleGet(QDBusMessage)\0"
    "handleHistogram(QDBusMessage)\0,\0"
    "handleError(QDBusError,QDBusMessage)\0"
    "updateStatus()\0query\0addCountQuery(QString)\0"
    "query,max,offset\0addGetQuery(QString,int,int)\0"
    "query,fieldname,labeltype\0"
    "addGetHistogramRequest(QString,QString,QString)\0"
    "type\0clearRequests(RequestType)\0"
};

void StrigiAsyncClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        StrigiAsyncClient *_t = static_cast<StrigiAsyncClient *>(_o);
        switch (_id) {
        case 0: _t->statusUpdated((*reinterpret_cast< const QMap<QString,QString>(*)>(_a[1]))); break;
        case 1: _t->countedQuery((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->gotHits((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QList<StrigiHit>(*)>(_a[3]))); break;
        case 3: _t->gotHistogram((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QList<StringUIntPair>(*)>(_a[3]))); break;
        case 4: _t->handleStatus((*reinterpret_cast< const QDBusMessage(*)>(_a[1]))); break;
        case 5: _t->handleCount((*reinterpret_cast< const QDBusMessage(*)>(_a[1]))); break;
        case 6: _t->handleGet((*reinterpret_cast< const QDBusMessage(*)>(_a[1]))); break;
        case 7: _t->handleHistogram((*reinterpret_cast< const QDBusMessage(*)>(_a[1]))); break;
        case 8: _t->handleError((*reinterpret_cast< const QDBusError(*)>(_a[1])),(*reinterpret_cast< const QDBusMessage(*)>(_a[2]))); break;
        case 9: _t->updateStatus(); break;
        case 10: _t->addCountQuery((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->addGetQuery((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 12: _t->addGetHistogramRequest((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 13: _t->clearRequests((*reinterpret_cast< RequestType(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData StrigiAsyncClient::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject StrigiAsyncClient::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_StrigiAsyncClient,
      qt_meta_data_StrigiAsyncClient, &staticMetaObjectExtraData }
};

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

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

void *StrigiAsyncClient::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_StrigiAsyncClient))
        return static_cast<void*>(const_cast< StrigiAsyncClient*>(this));
    return QObject::qt_metacast(_clname);
}

int StrigiAsyncClient::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void StrigiAsyncClient::statusUpdated(const QMap<QString,QString> & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void StrigiAsyncClient::countedQuery(const QString & _t1, int _t2)
{
    void *_a[] = { 0, 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 StrigiAsyncClient::gotHits(const QString & _t1, int _t2, const QList<StrigiHit> & _t3)
{
    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)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void StrigiAsyncClient::gotHistogram(const QString & _t1, const QString & _t2, const QList<StringUIntPair> & _t3)
{
    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)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_END_MOC_NAMESPACE
