/****************************************************************************
** Meta object code from reading C++ file 'ibus-input-context.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/ibus-qt-1.3.3/qtim/ibus-input-context.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ibus-input-context.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_IBusInputContext[] = {

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

 // slots: signature, parameters, type, tag, flags
      23,   18,   17,   17, 0x08,
      75,   51,   17,   17, 0x08,
     120,   17,   17,   17, 0x08,
     142,   17,   17,   17, 0x08,
     164,   17,   17,   17, 0x08,
     180,   17,   17,   17, 0x08,
     213,  199,   17,   17, 0x08,
     249,   17,   17,   17, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_IBusInputContext[] = {
    "IBusInputContext\0\0text\0"
    "slotCommitText(TextPointer)\0"
    "text,cursor_pos,visible\0"
    "slotUpdatePreeditText(TextPointer,uint,bool)\0"
    "slotShowPreeditText()\0slotHidePreeditText()\0"
    "slotConnected()\0slotDisconnected()\0"
    "offset,nchars\0slotDeleteSurroundingText(int,uint)\0"
    "slotRequireSurroundingText()\0"
};

void IBusInputContext::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        IBusInputContext *_t = static_cast<IBusInputContext *>(_o);
        switch (_id) {
        case 0: _t->slotCommitText((*reinterpret_cast< const TextPointer(*)>(_a[1]))); break;
        case 1: _t->slotUpdatePreeditText((*reinterpret_cast< const TextPointer(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 2: _t->slotShowPreeditText(); break;
        case 3: _t->slotHidePreeditText(); break;
        case 4: _t->slotConnected(); break;
        case 5: _t->slotDisconnected(); break;
        case 6: _t->slotDeleteSurroundingText((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 7: _t->slotRequireSurroundingText(); break;
        default: ;
        }
    }
}

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

const QMetaObject IBusInputContext::staticMetaObject = {
    { &QInputContext::staticMetaObject, qt_meta_stringdata_IBusInputContext,
      qt_meta_data_IBusInputContext, &staticMetaObjectExtraData }
};

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

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

void *IBusInputContext::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_IBusInputContext))
        return static_cast<void*>(const_cast< IBusInputContext*>(this));
    return QInputContext::qt_metacast(_clname);
}

int IBusInputContext::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QInputContext::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
